haskell-pretty-show: resurrect version 1.2, which is required to build hledger on old versions of GHC

This reverts commit 54bfef6fc3d88eabfbd17c440c906170f7bc00ef.
This commit is contained in:
Peter Simons 2013-12-10 12:18:54 +01:00
parent 12a3008d4c
commit c9a52836c8
3 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,16 @@
{ cabal, haskellLexer }:
cabal.mkDerivation (self: {
pname = "pretty-show";
version = "1.2";
sha256 = "0lbalmyrqisgd2spbvzifsy25lr6cl9sgz78hav8q8r406k7nf2l";
isLibrary = true;
isExecutable = true;
buildDepends = [ haskellLexer ];
meta = {
homepage = "http://wiki.github.com/yav/pretty-show";
description = "Tools for working with derived Show instances";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -1772,9 +1772,11 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
ppm = callPackage ../development/libraries/haskell/ppm {};
prettyShow = callPackage ../development/libraries/haskell/pretty-show {
prettyShow_1_2 = callPackage ../development/libraries/haskell/pretty-show/1.2.nix {};
prettyShow_1_6_2 = callPackage ../development/libraries/haskell/pretty-show/1.6.2.nix {
happy = self.happy_1_19_2;
};
prettyShow = self.prettyShow_1_6_2;
punycode = callPackage ../development/libraries/haskell/punycode {};