8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
28 lines
666 B
Nix
28 lines
666 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "fsmark";
|
|
version = "3.3";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/fsmark/${version}/fs_mark-${version}.tar.gz";
|
|
sha256 = "15f8clcz49qsfijdmcz165ysp8v4ybsm57d3dxhhlnq1bp1i9w33";
|
|
};
|
|
|
|
patchPhase = ''
|
|
sed -i Makefile -e 's/-static //'
|
|
'';
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp fs_mark $out/bin/
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Synchronous write workload file system benchmark";
|
|
homepage = "https://sourceforge.net/projects/fsmark/";
|
|
license = licenses.gpl2;
|
|
maintainers = [ maintainers.dezgeg ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|