nixpkgs/pkgs/development/libraries/haskell/benchpress/default.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 ];
};
})