Merge branch 'staging-next' into staging
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -18,10 +18,9 @@ stdenv.mkDerivation {
|
||||
sha256 = "1c5axdngxaxj5vc6lr8sxb99mr5adsm1dnjckaxc23kq78pc8cn7";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ]
|
||||
++ stdenv.lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ boost llvmPackages.libclang ]
|
||||
++ stdenv.lib.optional stdenv.hostPlatform.isDarwin Cocoa;
|
||||
++ stdenv.lib.optional stdenv.isDarwin [ fixDarwinDylibNames Cocoa ];
|
||||
|
||||
buildPhase = ''
|
||||
export EXTRA_CMAKE_ARGS=-DPATH_TO_LLVM_ROOT=${llvmPackages.clang-unwrapped}
|
||||
|
||||
Reference in New Issue
Block a user