From f82a3b7b7e2fe57525ff97a166eb0d60aed58e56 Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Sat, 5 Nov 2022 09:52:12 +0000 Subject: [PATCH] textmath: init at 0.12.5.4 --- manifest.dhall | 1 + overlay.nix | 2 ++ pkgs/texmath.nix | 61 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 64 insertions(+) create mode 100644 pkgs/texmath.nix diff --git a/manifest.dhall b/manifest.dhall index e5b6a521..5bdd38ed 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -532,6 +532,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "test-framework" "0.8.2.0" , callHackage "test-framework-hunit" "0.3.0.2" , callHackage "test-framework-quickcheck2" "0.3.0.5" + , callHackage "texmath" "0.12.5.4" , callHackage "text-display" "0.0.3.0" , callHackage "text-manipulate" "0.3.1.0" , callHackage "text-metrics" "0.3.2" diff --git a/overlay.nix b/overlay.nix index 61bb58db..37bb93dd 100644 --- a/overlay.nix +++ b/overlay.nix @@ -695,6 +695,8 @@ final: prev: with pkgs.haskell.lib; { test-framework-quickcheck2 = prev.callPackage (./pkgs/test-framework-quickcheck2.nix) { }; + texmath = prev.callPackage (./pkgs/texmath.nix) { }; + text-display = prev.callPackage (./pkgs/text-display.nix) { }; text-manipulate = prev.callPackage (./pkgs/text-manipulate.nix) { }; diff --git a/pkgs/texmath.nix b/pkgs/texmath.nix new file mode 100644 index 00000000..835f222d --- /dev/null +++ b/pkgs/texmath.nix @@ -0,0 +1,61 @@ +{ mkDerivation +, base +, bytestring +, containers +, directory +, filepath +, lib +, mtl +, pandoc-types +, parsec +, pretty-show +, split +, syb +, tagged +, tasty +, tasty-golden +, text +, xml +}: +mkDerivation { + pname = "texmath"; + version = "0.12.5.4"; + sha256 = "98423b2e07d90d3f50afa7cd4755c8e65bc8712db248ba030bc478518646c8b6"; + isLibrary = true; + isExecutable = true; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + base + containers + mtl + pandoc-types + parsec + split + syb + text + xml + ]; + testHaskellDepends = [ + base + bytestring + directory + filepath + pretty-show + tagged + tasty + tasty-golden + text + xml + ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "http://github.com/jgm/texmath"; + description = "Conversion between math formats"; + license = lib.licenses.gpl2Only; + broken = false; +} -- GitLab