diff --git a/manifest.dhall b/manifest.dhall index 8bae29e99266125ebc4665cff65ce5602503d415..fa58474c4d85681c1d12703e3e47bc72500bc6f8 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -247,6 +247,7 @@ in [ callHackage "Cabal" "3.8.1.0" (Some "005568ee024eabee129d9cf4ca331c6da260610b") (None Text) , callHackage "hpack" "0.35.0" + , callHackage "hpack-dhall" "0.5.7" , callCabal2nix "horizon-gen-nix" "https://gitlab.homotopic.tech/horizon/horizon-gen-nix" diff --git a/overlay.nix b/overlay.nix index dad65ed59ef208bf8d081fb5f5ef88a0f45089cb..23f55804578e132ffe3f9502eafe34d7f8815554 100644 --- a/overlay.nix +++ b/overlay.nix @@ -275,6 +275,8 @@ final: prev: with pkgs.haskell.lib; { hpack = prev.callPackage (./pkgs/hpack.nix) { }; + hpack-dhall = prev.callPackage (./pkgs/hpack-dhall.nix) { }; + hslua-aeson = prev.callPackage (./pkgs/hslua-aeson.nix) { }; hspec = prev.callPackage (./pkgs/hspec.nix) { }; diff --git a/pkgs/hpack-dhall.nix b/pkgs/hpack-dhall.nix new file mode 100644 index 0000000000000000000000000000000000000000..254f3f666f197a9d7aabdccfb9b1adbbf1626ad5 --- /dev/null +++ b/pkgs/hpack-dhall.nix @@ -0,0 +1,33 @@ +{ mkDerivation, aeson, aeson-pretty, base, bytestring, Cabal, dhall +, dhall-json, Diff, directory, filepath, hpack, lib, megaparsec +, microlens, optparse-applicative, prettyprinter, tasty +, tasty-golden, text, transformers, utf8-string, yaml +}: +mkDerivation { + pname = "hpack-dhall"; + version = "0.5.7"; + sha256 = "798053584b64213fdb724b79368f71094ef5912af1cf46efe991501bd51d98c3"; + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = [ + aeson aeson-pretty base bytestring dhall dhall-json filepath hpack + megaparsec microlens prettyprinter text transformers yaml + ]; + executableHaskellDepends = [ + aeson aeson-pretty base bytestring dhall dhall-json filepath hpack + megaparsec microlens optparse-applicative prettyprinter text + transformers yaml + ]; + testHaskellDepends = [ + aeson aeson-pretty base bytestring Cabal dhall dhall-json Diff + directory filepath hpack megaparsec microlens prettyprinter tasty + tasty-golden text transformers utf8-string yaml + ]; + doHaddock = false; + jailbreak = true; + doCheck = false; + hyperlinkSource = false; + homepage = "https://github.com/cabalism/hpack-dhall#readme"; + description = "hpack's dhalling"; + license = lib.licenses.bsd3; +} \ No newline at end of file