diff --git a/pkgs/development/libraries/haskell/pandoc-citeproc/default.nix b/pkgs/development/libraries/haskell/pandoc-citeproc/default.nix new file mode 100644 index 00000000000..e1673f60c32 --- /dev/null +++ b/pkgs/development/libraries/haskell/pandoc-citeproc/default.nix @@ -0,0 +1,24 @@ +{ cabal, aeson, aesonPretty, attoparsec, Diff, filepath, hexpat +, hsBibutils, HTTP, json, mtl, network, pandocTypes, parsec +, rfc5051, syb, tagsoup, texmath, text, time, utf8String, vector +, yaml +}: + +cabal.mkDerivation (self: { + pname = "pandoc-citeproc"; + version = "0.1.1"; + sha256 = "1pna6m83ay1jjcnazgc70vif55fff9xhk7129fbv9wf7d29hlw32"; + isLibrary = true; + isExecutable = true; + buildDepends = [ + aeson attoparsec filepath hexpat hsBibutils HTTP json mtl network + pandocTypes parsec rfc5051 syb tagsoup texmath text time utf8String + vector yaml + ]; + testDepends = [ aeson aesonPretty Diff pandocTypes utf8String ]; + meta = { + description = "Supports using pandoc with citeproc"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 3598ef7f4fc..739f3e9b71e 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1602,6 +1602,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x pandoc = callPackage ../development/libraries/haskell/pandoc {}; + pandocCiteproc = callPackage ../development/libraries/haskell/pandoc-citeproc {}; + pandocTypes = callPackage ../development/libraries/haskell/pandoc-types {}; pango = callPackage ../development/libraries/haskell/pango {