summary refs log tree commit diff
path: root/pkgs/tools/system/stress-ng
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2016-01-25 20:08:34 +0100
committerTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2016-01-25 20:08:34 +0100
commitac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6 (patch)
tree2cd413d35a58a8320b2adfac534652619d2bbcfd /pkgs/tools/system/stress-ng
parent9fb8020e4ec2e74e39a8f28dfb3ef18a70bd1eef (diff)
downloadnixlib-ac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6.tar
nixlib-ac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6.tar.gz
nixlib-ac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6.tar.bz2
nixlib-ac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6.tar.lz
nixlib-ac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6.tar.xz
nixlib-ac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6.tar.zst
nixlib-ac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6.zip
More version attribute tidying where maintainers |= nckx
Diffstat (limited to 'pkgs/tools/system/stress-ng')
-rw-r--r--pkgs/tools/system/stress-ng/default.nix7
1 files changed, 2 insertions, 5 deletions
diff --git a/pkgs/tools/system/stress-ng/default.nix b/pkgs/tools/system/stress-ng/default.nix
index 12c250788390..a973d143fa97 100644
--- a/pkgs/tools/system/stress-ng/default.nix
+++ b/pkgs/tools/system/stress-ng/default.nix
@@ -1,10 +1,8 @@
 { stdenv, fetchurl, attr, keyutils }:
 
-let
-  version = "0.05.00";
+stdenv.mkDerivation rec {
   name = "stress-ng-${version}";
-in stdenv.mkDerivation {
-  inherit name;
+  version = "0.05.00";
 
   src = fetchurl {
     sha256 = "0ppri86z6fj48nm5l0x1r8mh7mwaf7bvhmi10jz6a8w7apnc181w";
@@ -22,7 +20,6 @@ in stdenv.mkDerivation {
   installFlags = [ "DESTDIR=$(out)" ];
 
   meta = with stdenv.lib; {
-    inherit version;
     description = "Stress test a computer system";
     longDescription = ''
       Stress test a system in various selectable ways, exercising both various