nixpkgs/pkgs/development/libraries/haskell/MonadPrompt/default.nix
Andres Löh b18dd91057 Removing trailing whitespace.
svn path=/nixpkgs/trunk/; revision=26570
2011-03-28 15:04:00 +00:00

17 lines
438 B
Nix

{cabal, mtl}:
cabal.mkDerivation (self : {
pname = "MonadPrompt";
version = "1.0.0.2";
sha256 = "01inbw0lfjrsgs68fvak1rxi76nhwsiyarfwl1g5mis4glmh4w4c";
propagatedBuildInputs = [mtl];
preConfigure = ''
sed -i 's|base<=4|base >= 3 \&\& < 5|' ${self.pname}.cabal
'';
meta = {
description = "MonadPrompt, implementation & examples";
license = "BSD";
maintainers = [self.stdenv.lib.maintainers.andres];
};
})