mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 21:21:06 +00:00
haskell-pretty-show: add old version 1.2, which still builds fine with GHC 7.0.4
This commit is contained in:
parent
0345b1df70
commit
916aa90491
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;
|
||||
};
|
||||
})
|
|
@ -53,6 +53,7 @@
|
|||
cabalInstall_1_16_0_2 = self.cabalInstall_1_16_0_2.override { Cabal = self.Cabal_1_16_0_3; };
|
||||
monadPar = self.monadPar_0_1_0_3;
|
||||
jailbreakCabal = self.jailbreakCabal.override { Cabal = self.disableTest self.Cabal_1_14_0; };
|
||||
prettyShow = self.prettyShow_1_2;
|
||||
};
|
||||
|
||||
ghc703Prefs =
|
||||
|
@ -62,6 +63,7 @@
|
|||
cabalInstall_1_16_0_2 = self.cabalInstall_1_16_0_2.override { Cabal = self.Cabal_1_16_0_3; zlib = self.zlib_0_5_3_3; };
|
||||
monadPar = self.monadPar_0_1_0_3;
|
||||
jailbreakCabal = self.jailbreakCabal.override { Cabal = self.disableTest self.Cabal_1_14_0; };
|
||||
prettyShow = self.prettyShow_1_2;
|
||||
};
|
||||
|
||||
ghc702Prefs = ghc701Prefs;
|
||||
|
@ -73,6 +75,7 @@
|
|||
cabalInstall_1_16_0_2 = self.cabalInstall_1_16_0_2.override { Cabal = self.Cabal_1_16_0_3; zlib = self.zlib_0_5_3_3; };
|
||||
monadPar = self.monadPar_0_1_0_3;
|
||||
jailbreakCabal = self.jailbreakCabal.override { Cabal = self.disableTest self.Cabal_1_14_0; };
|
||||
prettyShow = self.prettyShow_1_2;
|
||||
};
|
||||
|
||||
ghc6123Prefs = ghc6122Prefs;
|
||||
|
|
|
@ -1471,7 +1471,9 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
|
|||
|
||||
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_5 = callPackage ../development/libraries/haskell/pretty-show/1.5.nix {};
|
||||
prettyShow = self.prettyShow_1_5;
|
||||
|
||||
punycode = callPackage ../development/libraries/haskell/punycode {};
|
||||
|
||||
|
|
Loading…
Reference in a new issue