nixpkgs/pkgs/tools/misc/eludris/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

36 lines
885 B
Nix

{ 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 = "Simple CLI to help you with setting up and managing your Eludris instance";
mainProgram = "eludris";
homepage = "https://github.com/eludris/eludris/tree/main/cli";
license = licenses.mit;
maintainers = with maintainers; [ ooliver1 ];
};
}