diff --git a/manifest.dhall b/manifest.dhall index ba1c56aeaa16bbf250a538c641c0906f27c2e6b5..63d51fba92ce479755b2d0dda256b6a8a80ea93c 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -171,6 +171,7 @@ in [ callHackage "Cabal" "3.8.1.0" "https://github.com/sol/doctest" (Some "4eb97c213acf7abe965a3a1b67397199ed155f3c") (None Text) + , callHackage "doctemplates" "0.10.0.2" , callCabal2nix "double-conversion" "https://github.com/haskell/double-conversion" diff --git a/overlay.nix b/overlay.nix index 732a76805f929256adf451caa3d0272c7f174846..465da688ea8db131819fc1c4cef7caf9a088028f 100644 --- a/overlay.nix +++ b/overlay.nix @@ -167,6 +167,8 @@ final: prev: with pkgs.haskell.lib; { distribution-nixpkgs = prev.callPackage (./pkgs/distribution-nixpkgs.nix) { }; + doctemplates = prev.callPackage (./pkgs/doctemplates.nix) { }; + doctest = prev.callPackage (./pkgs/doctest.nix) { }; double-conversion = prev.callPackage (./pkgs/double-conversion.nix) { }; diff --git a/pkgs/doctemplates.nix b/pkgs/doctemplates.nix new file mode 100644 index 0000000000000000000000000000000000000000..8d221f29b9890bf8f0da994dbdb4f6a855e8c1b4 --- /dev/null +++ b/pkgs/doctemplates.nix @@ -0,0 +1,83 @@ +{ mkDerivation +, aeson +, base +, bytestring +, containers +, criterion +, doclayout +, filepath +, Glob +, HsYAML +, lib +, mtl +, parsec +, safe +, scientific +, tasty +, tasty-golden +, tasty-hunit +, temporary +, text +, text-conversions +, vector +}: +mkDerivation { + pname = "doctemplates"; + version = "0.10.0.2"; + sha256 = "a7749f36083c23ec72fa1a37c1ff72ab9ff470478be23686f80532d209d3402b"; + revision = "1"; + editedCabalFile = "17r6ig72bzqd59p11sjaf9y27pm4yig1a1s1igs57s88cy47qz05"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = true; + libraryHaskellDepends = [ + aeson + base + containers + doclayout + filepath + HsYAML + mtl + parsec + safe + scientific + text + text-conversions + vector + ]; + testHaskellDepends = [ + aeson + base + bytestring + containers + doclayout + filepath + Glob + tasty + tasty-golden + tasty-hunit + temporary + text + ]; + benchmarkHaskellDepends = [ + aeson + base + containers + criterion + doclayout + filepath + mtl + text + ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/jgm/doctemplates#readme"; + description = "Pandoc-style document templates"; + license = lib.licenses.bsd3; + broken = false; +}