3
0
Fork 0
forked from mirrors/nixpkgs

eludris: init at 0.3.3

This commit is contained in:
Oliver Wilkes 2023-03-10 21:03:32 +00:00
parent 30d8b2afa8
commit bb1da66f9d
No known key found for this signature in database
GPG key ID: 0B41034898337273
2 changed files with 38 additions and 0 deletions

View file

@ -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 ];
};
}

View file

@ -555,6 +555,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 { };