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 {};