diff options
author | Felix Buehler <account@buehler.rocks> | 2021-07-27 19:38:37 +0200 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2021-07-28 16:42:26 +0200 |
commit | e170c652440db5976bf44efe723c8e9e736a90ca (patch) | |
tree | 9ba3d80765319c7f1727d0658d126c6fa210e4a8 /pkgs/tools/system/stress | |
parent | 16b7e4900ebb66db4414694f91a7c22214a16440 (diff) |
tools/system: replace name with pname&version
Diffstat (limited to 'pkgs/tools/system/stress')
-rw-r--r-- | pkgs/tools/system/stress/default.nix | 5 |
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"; }; |