1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00
nixpkgs/pkgs/tools/misc/fsmark/default.nix

29 lines
666 B
Nix
Raw Normal View History

2016-04-28 01:03:14 +01:00
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "fsmark";
2016-04-28 01:03:14 +01:00
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/";
2016-04-28 01:03:14 +01:00
license = licenses.gpl2;
maintainers = [ maintainers.dezgeg ];
platforms = platforms.linux;
};
}