about summary refs log tree commit diff
path: root/pkgs/tools/system/sg3_utils/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/system/sg3_utils/default.nix')
-rw-r--r--pkgs/tools/system/sg3_utils/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/tools/system/sg3_utils/default.nix b/pkgs/tools/system/sg3_utils/default.nix
index d0084e1f4d8a..31c58bbbaafb 100644
--- a/pkgs/tools/system/sg3_utils/default.nix
+++ b/pkgs/tools/system/sg3_utils/default.nix
@@ -1,10 +1,11 @@
 { lib, stdenv, fetchurl }:
 
 stdenv.mkDerivation rec {
-  name = "sg3_utils-1.45";
+  pname = "sg3_utils";
+  version = "1.45";
 
   src = fetchurl {
-    url = "http://sg.danny.cz/sg/p/${name}.tgz";
+    url = "http://sg.danny.cz/sg/p/sg3_utils-${version}.tgz";
     sha256 = "0qasc3qm4i8swjfaywiwpgz76gdxqvm47qycxgmprbsjmxqwk1qb";
   };