diff --git a/manifest.dhall b/manifest.dhall index 109e4141fc8e7df18fb6bd05b36feae208fbb52e..0a7355ecc76b2cad7f768fc9bd17b79b58019145 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -792,6 +792,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "th-lift" "0.8.2" , callHackage "th-orphans" "0.13.14" , callHackage "th-reify-many" "0.1.10" + , callHackage "th-utilities" "0.2.5.0" , callHackage "tidal" "1.8.1" , callHackage "timing-convenience" "0.1" , callHackage "timeit" "2.0" diff --git a/overlay.nix b/overlay.nix index ee36fcae62dded29eda36f18c93a38ac492a5407..b4eff5db53defd7fad41e2847596d47dea657ee5 100644 --- a/overlay.nix +++ b/overlay.nix @@ -1231,6 +1231,8 @@ self: with pkgs.haskell.lib; { th-reify-many = self.callPackage (./pkgs/th-reify-many.nix) { }; + th-utilities = self.callPackage (./pkgs/th-utilities.nix) { }; + these = self.callPackage (./pkgs/these.nix) { }; these-skinny = self.callPackage (./pkgs/these-skinny.nix) { }; diff --git a/pkgs/th-utilities.nix b/pkgs/th-utilities.nix new file mode 100644 index 0000000000000000000000000000000000000000..766a9b4d600e9fdf2276434cd7a006dca3015f10 --- /dev/null +++ b/pkgs/th-utilities.nix @@ -0,0 +1,63 @@ +{ mkDerivation +, base +, bytestring +, containers +, directory +, filepath +, hspec +, lib +, primitive +, syb +, template-haskell +, text +, th-abstraction +, th-orphans +, vector +}: +mkDerivation { + pname = "th-utilities"; + version = "0.2.5.0"; + sha256 = "4a0742a525e0ef22c993f1b6b693312bddcefe3afed9b6c519372d82931b97e1"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + base + bytestring + containers + directory + filepath + primitive + syb + template-haskell + text + th-abstraction + th-orphans + ]; + testHaskellDepends = [ + base + bytestring + containers + directory + filepath + hspec + primitive + syb + template-haskell + text + th-abstraction + th-orphans + vector + ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/fpco/th-utilities#readme"; + description = "Collection of useful functions for use with Template Haskell"; + license = lib.licenses.mit; + broken = false; +}