diff options
author | Felix Buehler <account@buehler.rocks> | 2021-07-27 16:21:24 +0200 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2021-07-27 17:54:21 +0200 |
commit | 051fcdbe8b4070f4e6796cb5c27b0cc4456d2863 (patch) | |
tree | 7ea2eb757ad3a861b98a05524091f07eb945dd01 /pkgs/tools/security/pwgen | |
parent | 5ecd15039104f7f91ac4f2eb2af93835df80b91e (diff) |
tools/{security/system}: replace name with pname&version
Diffstat (limited to 'pkgs/tools/security/pwgen')
-rw-r--r-- | pkgs/tools/security/pwgen/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/tools/security/pwgen/default.nix b/pkgs/tools/security/pwgen/default.nix index c84b9472e96f0..fc410f19843b6 100644 --- a/pkgs/tools/security/pwgen/default.nix +++ b/pkgs/tools/security/pwgen/default.nix @@ -1,9 +1,10 @@ {lib, stdenv, fetchurl, autoreconfHook}: -stdenv.mkDerivation { - name = "pwgen-2.08"; +stdenv.mkDerivation rec { + pname = "pwgen"; + version = "2.08"; src = fetchurl { - url = "https://github.com/tytso/pwgen/archive/v2.08.tar.gz"; + url = "https://github.com/tytso/pwgen/archive/v${version}.tar.gz"; sha256 = "8d6e94f28655e61d6126290e3eafad4d17d7fba0d0d354239522a740a270bb2f"; }; |