mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
iozone: 3.471 -> 3.490
generate url instead of hardcoding the version in the url this should make auto-updating possible via nixpkgs-update
This commit is contained in:
parent
7c76eafdb7
commit
647b71cfa9
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, gnuplot }:
|
||||
{ stdenv, lib, fetchurl, gnuplot }:
|
||||
|
||||
let
|
||||
target = if stdenv.hostPlatform.system == "i686-linux" then
|
||||
@ -13,11 +13,12 @@ let
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "iozone-3.471";
|
||||
pname = "iozone";
|
||||
version = "3.490";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.iozone.org/src/current/iozone3_471.tar";
|
||||
sha256 = "0w63b3d4ws1sm52lpdd08sl7n4ay438dl3wy0q9la12iq81rglid";
|
||||
url = "http://www.iozone.org/src/current/iozone${lib.replaceStrings ["."] ["_"] version}.tar";
|
||||
sha256 = "1vagmm2k2bzlpahl2a2arpfmk3cd5nzhxi842a8mdag2b8iv9bay";
|
||||
};
|
||||
|
||||
license = fetchurl {
|
||||
|
Loading…
Reference in New Issue
Block a user