about summary refs log tree commit diff
path: root/pkgs/development/tools/profiling/oprofile/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/profiling/oprofile/default.nix')
-rw-r--r--pkgs/development/tools/profiling/oprofile/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/tools/profiling/oprofile/default.nix b/pkgs/development/tools/profiling/oprofile/default.nix
index 6cd3ea8002786..08f89d482dddf 100644
--- a/pkgs/development/tools/profiling/oprofile/default.nix
+++ b/pkgs/development/tools/profiling/oprofile/default.nix
@@ -8,10 +8,11 @@
 assert withGUI -> qt4 != null;
 
 stdenv.mkDerivation rec {
-  name = "oprofile-1.4.0";
+  pname = "oprofile";
+  version = "1.4.0";
 
   src = fetchurl {
-    url = "mirror://sourceforge/oprofile/${name}.tar.gz";
+    url = "mirror://sourceforge/oprofile/${pname}-${version}.tar.gz";
     sha256 = "04m46ni0ryk4sqmzd6mahwzp7iwhwqzfbmfi42fki261sycnz83v";
   };