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:
parent
12a3008d4c
commit
c9a52836c8
16
pkgs/development/libraries/haskell/pretty-show/1.2.nix
Normal file
16
pkgs/development/libraries/haskell/pretty-show/1.2.nix
Normal 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;
|
||||
};
|
||||
})
|
@ -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 {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user