From 0ec3f8f7eeb8d84af260c28c106ddfd06de721a7 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sun, 7 Aug 2011 22:00:21 +0000 Subject: [PATCH] haskell-packages.nix: added the old 0.4 version of texmath, so that we can build pandoc 1.6, which is required by Graphalyze svn path=/nixpkgs/trunk/; revision=28308 --- .../development/libraries/haskell/texmath/0.4.nix | 15 +++++++++++++++ .../haskell/texmath/{default.nix => 0.5.0.1.nix} | 0 pkgs/top-level/haskell-packages.nix | 4 +++- 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 pkgs/development/libraries/haskell/texmath/0.4.nix rename pkgs/development/libraries/haskell/texmath/{default.nix => 0.5.0.1.nix} (100%) diff --git a/pkgs/development/libraries/haskell/texmath/0.4.nix b/pkgs/development/libraries/haskell/texmath/0.4.nix new file mode 100644 index 00000000000..825dcc7403f --- /dev/null +++ b/pkgs/development/libraries/haskell/texmath/0.4.nix @@ -0,0 +1,15 @@ +{cabal, parsec, syb, xml} : + +cabal.mkDerivation (self : { + pname = "texmath"; + version = "0.4"; + sha256 = "1rvnhqljxkljy8ncpaj8p7b14nvvm6zmiixv13m1zxlcr457j2ai"; + propagatedBuildInputs = [ parsec syb xml ]; + meta = { + homepage = "http://github.com/jgm/texmath"; + description = "Conversion of LaTeX math formulas to MathML."; + license = "GPL"; + platforms = self.stdenv.lib.platforms.haskellPlatforms; + maintainers = [ self.stdenv.lib.maintainers.simons ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/texmath/default.nix b/pkgs/development/libraries/haskell/texmath/0.5.0.1.nix similarity index 100% rename from pkgs/development/libraries/haskell/texmath/default.nix rename to pkgs/development/libraries/haskell/texmath/0.5.0.1.nix diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index afe9e1bc4fc..7021a1ce31c 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1078,7 +1078,9 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); testpack = callPackage ../development/libraries/haskell/testpack {}; - texmath = callPackage ../development/libraries/haskell/texmath {}; + texmath_0_4 = callPackage ../development/libraries/haskell/texmath/0.4.nix {}; + texmath_0_5_0_1 = callPackage ../development/libraries/haskell/texmath/0.5.0.1.nix {}; + texmath = self.texmath_0_5_0_1; text_0_11_0_5 = callPackage ../development/libraries/haskell/text/0.11.0.5.nix {}; text_0_11_0_6 = callPackage ../development/libraries/haskell/text/0.11.0.6.nix {};