diff --git a/manifest.dhall b/manifest.dhall index b135ba5fb910bfa6607b55866962a07c618a707b..2c6a18d855b71619fb5cd4a97ba094ad5254b9b5 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -576,6 +576,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "th-expand-syns" "0.4.10.0" , callHackage "th-extras" "0.0.0.6" , callHackage "th-lift-instances" "0.1.20" + , callHackage "th-orphans" "0.13.14" , callHackage "th-reify-many" "0.1.10" , callHackage "tidal" "1.8.1" , callHackage "time-compat" "1.9.6.1" diff --git a/overlay.nix b/overlay.nix index 92eb2d1bf6c2bf6573c41576470f4e4714e480c4..9c16194c2988e9edee17553ea69b583c50fbe679 100644 --- a/overlay.nix +++ b/overlay.nix @@ -779,6 +779,8 @@ final: prev: with pkgs.haskell.lib; { th-lift-instances = prev.callPackage (./pkgs/th-lift-instances.nix) { }; + th-orphans = prev.callPackage (./pkgs/th-orphans.nix) { }; + th-reify-many = prev.callPackage (./pkgs/th-reify-many.nix) { }; these = prev.callPackage (./pkgs/these.nix) { }; diff --git a/pkgs/th-orphans.nix b/pkgs/th-orphans.nix new file mode 100644 index 0000000000000000000000000000000000000000..375a87896daa38f542c82c7e1b7077cd11b80b33 --- /dev/null +++ b/pkgs/th-orphans.nix @@ -0,0 +1,48 @@ +{ mkDerivation +, base +, bytestring +, ghc-prim +, hspec +, hspec-discover +, lib +, mtl +, template-haskell +, th-compat +, th-lift +, th-reify-many +}: +mkDerivation { + pname = "th-orphans"; + version = "0.13.14"; + sha256 = "9ddb2a1a0f6afeb8b6697256bfa5930f1f75e99624e370931c4b48bd16c3077c"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + base + mtl + template-haskell + th-compat + th-lift + th-reify-many + ]; + testHaskellDepends = [ + base + bytestring + ghc-prim + hspec + template-haskell + th-lift + ]; + testToolDepends = [ hspec-discover ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + description = "Orphan instances for TH datatypes"; + license = lib.licenses.bsd3; + broken = false; +}