diff options
author | Cyryl Płotnicki <cyplo@cyplo.net> | 2020-05-01 22:21:28 +0100 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2020-05-09 16:46:12 +0200 |
commit | 69c6d18ae4e71537649a83ac41ca66864f257ce8 (patch) | |
tree | 8078fa7a18a7826930ab6a563082516257f3c314 /pkgs/tools/security/genpass | |
parent | 3458035bdf254a4bf4050e013af00d69752e70f1 (diff) |
genpass: init at 0.4.1
Diffstat (limited to 'pkgs/tools/security/genpass')
-rw-r--r-- | pkgs/tools/security/genpass/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/security/genpass/default.nix b/pkgs/tools/security/genpass/default.nix new file mode 100644 index 0000000000000..ee3eebac991bd --- /dev/null +++ b/pkgs/tools/security/genpass/default.nix @@ -0,0 +1,25 @@ +{ stdenv +, fetchFromGitHub +, rustPlatform +}: +rustPlatform.buildRustPackage rec { + pname = "genpass"; + version = "0.4.1"; + + src = fetchFromGitHub { + owner = "cyplo"; + repo = pname; + rev = "v${version}"; + sha256 = "1b22m7g55k5ry0vwyd8pakh8rmfkhk37qy5r74cn3n5pv3fcwini"; + }; + + cargoSha256 = "1p6l64s9smhwka8bh3pamqimamxziad859i62nrmxzqc49nq5s7m"; + + meta = with stdenv.lib; { + description = "A simple yet robust commandline random password generator."; + homepage = "https://github.com/cyplo/genpass"; + license = licenses.agpl3; + platforms = platforms.all; + maintainers = with maintainers; [ cyplo ]; + }; +} |