mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 08:33:54 +00:00
19 lines
573 B
Nix
19 lines
573 B
Nix
{ cabal, mtl, time }:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "benchpress";
|
|
version = "0.2.2.4";
|
|
sha256 = "0cabjx0gkbk5blqkm9pmnz8kmi3573367365gny4r3m431iwxgnf";
|
|
buildDepends = [ mtl time ];
|
|
patchPhase = ''
|
|
sed -i -e 's|base .*,|base,|' -e 's|mtl .*,|mtl,|' benchpress.cabal
|
|
'';
|
|
meta = {
|
|
homepage = "http://github.com/tibbe/benchpress";
|
|
description = "Micro-benchmarking with detailed statistics";
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
platforms = self.ghc.meta.platforms;
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
|
};
|
|
})
|