diff --git a/manifest.dhall b/manifest.dhall index cf6d04b04b13acc4a69e6bc1b7e3e8e0acdd4567..2fc5ce2f4c57d38787a61b5f66f93d4c72c7f591 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -372,6 +372,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "optics" "0.4.2" , callHackage "optparse-applicative" "0.17.0.0" , callHackage "parsers" "0.12.11" + , callHackage "pandoc-lua-marshal" "0.1.7" , callHackage "pandoc-types" "1.22.2.1" , callHackage "pandoc" "2.19.2" , callHackage "parallel" "3.2.2.0" diff --git a/overlay.nix b/overlay.nix index 9084538ebdeb0c31815e5175a9dcb249b77abbf6..338c782de92831c553987f1d589882e9904cf96d 100644 --- a/overlay.nix +++ b/overlay.nix @@ -467,6 +467,8 @@ final: prev: with pkgs.haskell.lib; { pandoc = prev.callPackage (./pkgs/pandoc.nix) { }; + pandoc-lua-marshal = prev.callPackage (./pkgs/pandoc-lua-marshal.nix) { }; + pandoc-types = prev.callPackage (./pkgs/pandoc-types.nix) { }; parallel = prev.callPackage (./pkgs/parallel.nix) { }; diff --git a/pkgs/pandoc-lua-marshal.nix b/pkgs/pandoc-lua-marshal.nix new file mode 100644 index 0000000000000000000000000000000000000000..cb97372008cb1dafa78b0b53dc3d50a2fda91263 --- /dev/null +++ b/pkgs/pandoc-lua-marshal.nix @@ -0,0 +1,66 @@ +{ mkDerivation +, base +, bytestring +, containers +, exceptions +, hslua +, hslua-marshalling +, lib +, lua +, pandoc-types +, QuickCheck +, safe +, tasty +, tasty-hunit +, tasty-lua +, tasty-quickcheck +, text +}: +mkDerivation { + pname = "pandoc-lua-marshal"; + version = "0.1.7"; + sha256 = "b29415580645e78824b134f8508eae3800cab4fd647d736622c0d286dc59c95e"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + base + bytestring + containers + exceptions + hslua + hslua-marshalling + lua + pandoc-types + safe + text + ]; + testHaskellDepends = [ + base + bytestring + containers + exceptions + hslua + hslua-marshalling + lua + pandoc-types + QuickCheck + safe + tasty + tasty-hunit + tasty-lua + tasty-quickcheck + text + ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/pandoc/pandoc-lua-marshal"; + description = "Use pandoc types in Lua"; + license = lib.licenses.mit; + broken = false; +}