summary refs log tree commit diff
path: root/pkgs/tools/text/gnused/422.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/text/gnused/422.nix')
-rw-r--r--pkgs/tools/text/gnused/422.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/tools/text/gnused/422.nix b/pkgs/tools/text/gnused/422.nix
index 6b16f01f2fa..15e57e31901 100644
--- a/pkgs/tools/text/gnused/422.nix
+++ b/pkgs/tools/text/gnused/422.nix
@@ -1,10 +1,11 @@
 { lib, stdenv, fetchurl }:
 
-stdenv.mkDerivation {
-  name = "gnused-4.2.2";
+stdenv.mkDerivation rec {
+  pname = "gnused";
+  version = "4.2.2";
 
   src = fetchurl {
-    url = "mirror://gnu/sed/sed-4.2.2.tar.bz2";
+    url = "mirror://gnu/sed/sed-${version}.tar.bz2";
     sha256 = "f048d1838da284c8bc9753e4506b85a1e0cc1ea8999d36f6995bcb9460cddbd7";
   };