1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 02:46:38 +00:00
nixpkgs/pkgs/tools/security/genpass/default.nix
Cyryl Płotnicki e687a4d233 genpass: 0.4.1 -> 0.4.9
* caught up with the newest released version
* genpass main repo moved to sourcehut
2020-11-01 00:56:18 +00:00

29 lines
725 B
Nix

{ stdenv
, fetchgit
, rustPlatform
, CoreFoundation
, libiconv
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "genpass";
version = "0.4.9";
src = fetchgit {
url = "https://git.sr.ht/~cyplo/genpass";
rev = "v${version}";
sha256 = "1dpv2iyd48xd8yw9bmymjjrkhsgmpwvsl5b9zx3lpaaq59ypi9g9";
};
cargoSha256 = "1cwxpc3xkw673wiamr4v7clrzwxl8ma1vdr6bw0hixm37gxdxz7x";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ CoreFoundation libiconv Security ];
meta = with stdenv.lib; {
description = "A simple yet robust commandline random password generator";
homepage = "https://sr.ht/~cyplo/genpass/";
license = licenses.agpl3;
maintainers = with maintainers; [ cyplo ];
};
}