From 2a3bed66e81ca27ad92155b71fc4f6f64890b464 Mon Sep 17 00:00:00 2001 From: tek Date: Sat, 8 Jun 2024 06:54:39 +0000 Subject: [PATCH] Bump polysemy New versions: * polysemy-1.9.2.0 [old range matches] --- ops/managed.nix | 18 +++++++- ops/overrides.nix | 103 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 120 insertions(+), 1 deletion(-) diff --git a/ops/managed.nix b/ops/managed.nix index 8dfa0e0..f249d79 100644 --- a/ops/managed.nix +++ b/ops/managed.nix @@ -96,7 +96,7 @@ base = "4.19.1.0"; di-polysemy = "0.2.0.0"; incipit-core = "0.6.0.0"; - polysemy = "1.9.1.3"; + polysemy = "1.9.2.0"; polysemy-conc = "0.14.1.0"; polysemy-plugin = "0.4.5.2"; polysemy-test = "0.10.0.0"; @@ -140,6 +140,14 @@ }; overrides = { latest = { + cabal-doctest = { + version = "1.0.9"; + hash = "0irxfxy1qw7sif4408xdhqycddb4hs3hcf6xfxm65glsnmnmwl2i"; + }; + di-polysemy = { + version = "0.2.0.0"; + hash = "1c6c4qx6ljx1ac10qic1fhrj282cs7cdx2q28lr5xhk73r5vabvf"; + }; incipit-base = { version = "0.6.0.0"; hash = "1hck35yfy0dcgimgnd90w02zvv7x7k456bljrbx2mwxalnhav9gf"; @@ -148,10 +156,18 @@ version = "0.6.0.0"; hash = "0gmngb4pinkpbsnclrgs6x016ffnls1g4xzz0hdzg2rpyl63d5ph"; }; + polysemy = { + version = "1.9.2.0"; + hash = "00dq1ffsd9bld5zag4l2qssbmm4yb234cirsn5f19fmx43cdgngl"; + }; polysemy-conc = { version = "0.14.1.0"; hash = "0lzgw6dqhw0dv00bn9aasys2v8iddxyck5vmpglrp92chba55jxv"; }; + polysemy-plugin = { + version = "0.4.5.2"; + hash = "18y0nfx7x7am7cvj9wwhzal9bqv6sj7ckvmkd16blx4c2nqyikp9"; + }; polysemy-resume = { version = "0.9.0.0"; hash = "1achlwdkycbgjlcdkq641r481m1bl9rb7fklbwfb9nnb6xmqyzms"; diff --git a/ops/overrides.nix b/ops/overrides.nix index cfaa05b..89720fc 100644 --- a/ops/overrides.nix +++ b/ops/overrides.nix @@ -10,6 +10,46 @@ ghc98 = { hls = { }; latest = { + cabal-doctest = { + meta = { + sha256 = "0irxfxy1qw7sif4408xdhqycddb4hs3hcf6xfxm65glsnmnmwl2i"; + ver = "1.0.9"; + }; + drv = { mkDerivation, base, Cabal, directory, filepath, lib }: +mkDerivation { + pname = "cabal-doctest"; + version = "1.0.9"; + src = /nix/store/zvv4lgrqgjx826ryk6697617pd3xpr7s-source; + libraryHaskellDepends = [ base Cabal directory filepath ]; + homepage = "https://github.com/haskellari/cabal-doctest"; + description = "A Setup.hs helper for running doctests"; + license = lib.licenses.bsd3; +} +; +} +; + di-polysemy = { + meta = { + sha256 = "1c6c4qx6ljx1ac10qic1fhrj282cs7cdx2q28lr5xhk73r5vabvf"; + ver = "0.2.0.0"; + }; + drv = { mkDerivation, base, df1, di-core, di-df1, di-handle, lib +, polysemy +}: +mkDerivation { + pname = "di-polysemy"; + version = "0.2.0.0"; + src = /nix/store/mllni9x0g2ans6s1jxz7lb07x40nzd1p-source; + libraryHaskellDepends = [ + base df1 di-core di-df1 di-handle polysemy + ]; + homepage = "https://github.com/nitros12/di-polysemy"; + description = "DI logger wrapped for Polysemy"; + license = lib.licenses.mit; +} +; +} +; incipit-base = { meta = { sha256 = "1hck35yfy0dcgimgnd90w02zvv7x7k456bljrbx2mwxalnhav9gf"; @@ -49,6 +89,38 @@ mkDerivation { } ; } +; + polysemy = { + meta = { + sha256 = "00dq1ffsd9bld5zag4l2qssbmm4yb234cirsn5f19fmx43cdgngl"; + ver = "1.9.2.0"; + }; + drv = { mkDerivation, async, base, Cabal, cabal-doctest, containers +, doctest, first-class-families, hspec, hspec-discover +, inspection-testing, lib, mtl, stm, syb, template-haskell +, th-abstraction, transformers, type-errors, unagi-chan +}: +mkDerivation { + pname = "polysemy"; + version = "1.9.2.0"; + src = /nix/store/rrd35xyn2gzkvqid5k43dsqw5z0yb21d-source; + setupHaskellDepends = [ base Cabal cabal-doctest ]; + libraryHaskellDepends = [ + async base containers first-class-families mtl stm syb + template-haskell th-abstraction transformers type-errors unagi-chan + ]; + testHaskellDepends = [ + async base containers doctest first-class-families hspec + hspec-discover inspection-testing mtl stm syb template-haskell + th-abstraction transformers type-errors unagi-chan + ]; + testToolDepends = [ hspec-discover ]; + homepage = "https://github.com/polysemy-research/polysemy#readme"; + description = "Higher-order, low-boilerplate free monads"; + license = lib.licenses.bsd3; +} +; +} ; polysemy-conc = { meta = { @@ -77,6 +149,37 @@ mkDerivation { } ; } +; + polysemy-plugin = { + meta = { + sha256 = "18y0nfx7x7am7cvj9wwhzal9bqv6sj7ckvmkd16blx4c2nqyikp9"; + ver = "0.4.5.2"; + }; + drv = { mkDerivation, base, Cabal, 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.5.2"; + src = /nix/store/l68cq0g74sq0ws1plbgva2ry1psk5s21-source; + setupHaskellDepends = [ base Cabal cabal-doctest ]; + libraryHaskellDepends = [ + base containers ghc ghc-tcplugins-extra polysemy syb transformers + ]; + testHaskellDepends = [ + base containers doctest ghc ghc-tcplugins-extra hspec + hspec-discover inspection-testing polysemy should-not-typecheck syb + transformers + ]; + testToolDepends = [ hspec-discover ]; + homepage = "https://github.com/polysemy-research/polysemy#readme"; + description = "Disambiguate obvious uses of effects"; + license = lib.licenses.bsd3; +} +; +} ; polysemy-resume = { meta = {