1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00
nixpkgs/pkgs/development/libraries/haskell/benchpress/default.nix

19 lines
550 B
Nix
Raw Normal View History

{ cabal, mtl, time }:
cabal.mkDerivation (self: {
pname = "benchpress";
version = "0.2.2.5";
sha256 = "0md66nnn9ad8f3y0dd411plnza59fvhfd6nibag3a556bpfa0kgs";
buildDepends = [ mtl time ];
patchPhase = ''
sed -i -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 ];
};
})