2012-02-16 14:05:41 +00:00
|
|
|
{ cabal, mtl, time }:
|
2008-08-29 10:05:49 +01:00
|
|
|
|
2011-08-10 00:00:20 +01:00
|
|
|
cabal.mkDerivation (self: {
|
2008-08-29 10:05:49 +01:00
|
|
|
pname = "benchpress";
|
2012-07-23 10:56:21 +01:00
|
|
|
version = "0.2.2.5";
|
|
|
|
sha256 = "0md66nnn9ad8f3y0dd411plnza59fvhfd6nibag3a556bpfa0kgs";
|
2012-02-16 14:05:41 +00:00
|
|
|
buildDepends = [ mtl time ];
|
2012-07-18 10:43:33 +01:00
|
|
|
patchPhase = ''
|
2012-07-23 10:56:21 +01:00
|
|
|
sed -i -e 's|mtl .*,|mtl,|' benchpress.cabal
|
2012-07-18 10:43:33 +01:00
|
|
|
'';
|
2008-08-29 10:05:49 +01:00
|
|
|
meta = {
|
2011-08-07 22:59:50 +01:00
|
|
|
homepage = "http://github.com/tibbe/benchpress";
|
2011-08-11 14:03:51 +01:00
|
|
|
description = "Micro-benchmarking with detailed statistics";
|
2011-08-07 22:59:50 +01:00
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
2011-08-09 10:54:50 +01:00
|
|
|
platforms = self.ghc.meta.platforms;
|
2012-03-24 10:21:28 +00:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2008-08-29 10:05:49 +01:00
|
|
|
};
|
|
|
|
})
|