Skip to content

Commit

Permalink
Merge pull request NixOS#220556 from ooliver1/feat/eludris-cli
Browse files Browse the repository at this point in the history
eludris: init at 0.3.3
  • Loading branch information
SuperSandro2000 authored Jun 4, 2023
2 parents ca316fb + bb1da66 commit 7127b1d
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 0 deletions.
9 changes: 9 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11977,6 +11977,15 @@
github = "ony";
githubId = 11265;
};
ooliver1 = {
name = "Oliver Wilkes";
email = "oliverwilkes2006@icloud.com";
github = "ooliver1";
githubId = 34910574;
keys = [{
fingerprint = "D055 8A23 3947 B7A0 F966 B07F 0B41 0348 9833 7273";
}];
};
opeik = {
email = "sandro@stikic.com";
github = "opeik";
Expand Down
34 changes: 34 additions & 0 deletions pkgs/tools/misc/eludris/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{ lib
, fetchFromGitHub
, rustPlatform
, openssl
, pkg-config
, stdenv
, Security
}:

rustPlatform.buildRustPackage rec {
pname = "eludris";
version = "0.3.3";

src = fetchFromGitHub {
owner = "eludris";
repo = pname;
rev = "v${version}";
hash = "sha256-TVYgimkGUSITB3IaMlMd10PWomqyJRvONvJwiW85U4M=";
};

cargoHash = "sha256-5B9D19jFh5+eNTjiho22CFsn51nmwLry08zSDWvs1OU=";

cargoBuildFlags = [ "-p eludris" ];
cargoTestFlags = [ "-p eludris" ];
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
nativeBuildInputs = [ pkg-config ];

meta = with lib; {
description = "A simple CLI to help you with setting up and managing your Eludris instance";
homepage = "https://github.com/eludris/eludris/tree/main/cli";
license = licenses.mit;
maintainers = with maintainers; [ ooliver1 ];
};
}
4 changes: 4 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,10 @@ with pkgs;

efficient-compression-tool = callPackage ../tools/compression/efficient-compression-tool { };

eludris = callPackage ../tools/misc/eludris {
inherit (darwin.apple_sdk.frameworks) Security;
};

enumer = callPackage ../tools/misc/enumer { };

evans = callPackage ../development/tools/evans { };
Expand Down

0 comments on commit 7127b1d

Please sign in to comment.