about summary refs log tree commit diff
path: root/pkgs/tools/security/pwgen/default.nix
diff options
context:
space:
mode:
authorFelix Buehler <account@buehler.rocks>2021-07-27 16:21:24 +0200
committerFelix Buehler <account@buehler.rocks>2021-07-27 17:54:21 +0200
commit051fcdbe8b4070f4e6796cb5c27b0cc4456d2863 (patch)
tree7ea2eb757ad3a861b98a05524091f07eb945dd01 /pkgs/tools/security/pwgen/default.nix
parent5ecd15039104f7f91ac4f2eb2af93835df80b91e (diff)
downloadnixlib-051fcdbe8b4070f4e6796cb5c27b0cc4456d2863.tar
nixlib-051fcdbe8b4070f4e6796cb5c27b0cc4456d2863.tar.gz
nixlib-051fcdbe8b4070f4e6796cb5c27b0cc4456d2863.tar.bz2
nixlib-051fcdbe8b4070f4e6796cb5c27b0cc4456d2863.tar.lz
nixlib-051fcdbe8b4070f4e6796cb5c27b0cc4456d2863.tar.xz
nixlib-051fcdbe8b4070f4e6796cb5c27b0cc4456d2863.tar.zst
nixlib-051fcdbe8b4070f4e6796cb5c27b0cc4456d2863.zip
tools/{security/system}: replace name with pname&version
Diffstat (limited to 'pkgs/tools/security/pwgen/default.nix')
-rw-r--r--pkgs/tools/security/pwgen/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/tools/security/pwgen/default.nix b/pkgs/tools/security/pwgen/default.nix
index c84b9472e96f..fc410f19843b 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";
   };