about summary refs log tree commit diff
path: root/pkgs/tools/system/stress
diff options
context:
space:
mode:
authorFelix Buehler <account@buehler.rocks>2021-07-27 19:38:37 +0200
committerFelix Buehler <account@buehler.rocks>2021-07-28 16:42:26 +0200
commite170c652440db5976bf44efe723c8e9e736a90ca (patch)
tree9ba3d80765319c7f1727d0658d126c6fa210e4a8 /pkgs/tools/system/stress
parent16b7e4900ebb66db4414694f91a7c22214a16440 (diff)
tools/system: replace name with pname&version
Diffstat (limited to 'pkgs/tools/system/stress')
-rw-r--r--pkgs/tools/system/stress/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/tools/system/stress/default.nix b/pkgs/tools/system/stress/default.nix
index 33fbd15c5e63d..10aa285085f77 100644
--- a/pkgs/tools/system/stress/default.nix
+++ b/pkgs/tools/system/stress/default.nix
@@ -1,10 +1,11 @@
 { lib, stdenv, fetchurl }:
 
 stdenv.mkDerivation rec {
-  name = "stress-1.0.4";
+  pname = "stress";
+  version = "1.0.4";
 
   src = fetchurl {
-    url = "https://people.seas.harvard.edu/~apw/stress/${name}.tar.gz";
+    url = "https://people.seas.harvard.edu/~apw/stress/stress-${version}.tar.gz";
     sha256 = "0nw210jajk38m3y7h8s130ps2qsbz7j75wab07hi2r3hlz14yzh5";
   };