summary refs log tree commit diff
path: root/pkgs/development/libraries/haskell/benchpress/default.nix
blob: 9d1720541bf820996ffa0e07a6432b4978fa9738 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ 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 ];
  };
})