diff --git a/horizon.dhall b/horizon.dhall index 06d81fe9d2d6e52b580eff0d86387740d6132c90..1dd7f94f62a6304fcbe04ae40f862fbf57bc2e87 100644 --- a/horizon.dhall +++ b/horizon.dhall @@ -876,11 +876,7 @@ let packages = , polysemy-kvstore = H.callHackage "polysemy-kvstore" "0.1.3.0" , polysemy-methodology = H.callHackage "polysemy-methodology" "0.2.2.0" , polysemy-path = H.callHackage "polysemy-path" "0.2.1.0" - , polysemy-plugin = - H.callGit - "https://github.com/locallycompact/polysemy" - "bd944ca000c1ca69602d4723e3859af431b9d0c4" - (Some "polysemy-plugin/") + , polysemy-plugin = H.callHackage "polysemy-plugin" "0.4.4.0" , polysemy-several = H.callHackage "polysemy-several" "0.1.1.0" , polysemy-test = H.callHackage "polysemy-test" "0.7.0.0" , polysemy-time = H.callHackage "polysemy-time" "0.6.0.0" diff --git a/pkgs/polysemy-plugin.nix b/pkgs/polysemy-plugin.nix index 4d496ce63c2629ae1990ae56f66032ca6eb87e7d..b731bca452d676fe978411dad42173c4567930fc 100644 --- a/pkgs/polysemy-plugin.nix +++ b/pkgs/polysemy-plugin.nix @@ -1,55 +1,22 @@ -{ mkDerivation -, Cabal -, base -, cabal-doctest -, containers -, doctest -, fetchgit -, ghc -, ghc-tcplugins-extra -, hspec -, hspec-discover -, inspection-testing -, lib -, polysemy -, should-not-typecheck -, syb +{ mkDerivation, Cabal, base, cabal-doctest, containers, doctest +, ghc, ghc-tcplugins-extra, hspec, hspec-discover +, inspection-testing, lib, polysemy, should-not-typecheck, syb , transformers }: mkDerivation { pname = "polysemy-plugin"; - version = "0.4.3.1"; - src = fetchgit { - url = "https://github.com/locallycompact/polysemy"; - sha256 = "1sy2jmwcg9aw4a6rji36djhkxhxnh50pqhaa3jhjfv2dsw652bcz"; - rev = "bd944ca000c1ca69602d4723e3859af431b9d0c4"; - fetchSubmodules = true; - }; - postUnpack = "sourceRoot+=/polysemy-plugin/; echo source root reset to $sourceRoot"; + version = "0.4.4.0"; + sha256 = "6d4826df1d7507f0d7723b3c30e843eb7f5fd618095d412f99b41e002a69e7ce"; isLibrary = true; isExecutable = false; enableSeparateDataOutput = false; setupHaskellDepends = [ base Cabal cabal-doctest ]; libraryHaskellDepends = [ - base - containers - ghc - ghc-tcplugins-extra - polysemy - syb - transformers + base containers ghc ghc-tcplugins-extra polysemy syb transformers ]; testHaskellDepends = [ - base - containers - doctest - ghc - ghc-tcplugins-extra - hspec - inspection-testing - polysemy - should-not-typecheck - syb + base containers doctest ghc ghc-tcplugins-extra hspec + hspec-discover inspection-testing polysemy should-not-typecheck syb transformers ]; testToolDepends = [ hspec-discover ]; @@ -64,4 +31,4 @@ mkDerivation { description = "Disambiguate obvious uses of effects"; license = lib.licenses.bsd3; broken = false; -} +} \ No newline at end of file