Skip to content
Snippets Groups Projects
Commit d4c55385 authored by Daniel Firth's avatar Daniel Firth
Browse files

polysemy-plugin: f42c55de0a214bcd6e604be55a8be1e84dd877cb

parent 2059002a
Branches
2 merge requests!20ghc 9.6.x updates,!16sdl2-{gfx, image, mixer, ttf}: init
......@@ -47,6 +47,7 @@ let packages =
"https://github.com/NorfairKing/generics-sop"
"b439a96075acf2d4f8db9a52c1a5cb47b1b7e16b"
(Some "generics-sop/")
, ghc-tcplugins-extra = H.callHackage "ghc-tcplugins-extra" "0.4.5"
, haskell-src = H.callHackage "haskell-src" "1.0.4"
, hedis = H.callHackage "hedis" "0.15.2"
, hspec-expectations-lifted =
......@@ -89,6 +90,11 @@ let packages =
, persistent-test = H.callHackage "persistent-test" "2.13.1.3"
, polyparse = H.callHackage "polyparse" "1.13"
, polysemy = H.callHackage "polysemy" "1.9.1.3"
, polysemy-plugin =
H.callGit
"https://github.com/locallycompact/polysemy"
"f42c55de0a214bcd6e604be55a8be1e84dd877cb"
(Some "polysemy-plugin/")
, port-utils = H.callHackage "port-utils" "0.2.1.0"
, postgres-options = H.callHackage "postgres-options" "0.2.1.0"
, postgresql-libpq = H.callHackage "postgresql-libpq" "0.10.0.0"
......
......@@ -142,6 +142,10 @@
, mapValue =
"c37b4482b63a45b4970f3b3477509fd70d85bbc3edc7b065a6f62ccad5035d84"
}
, { mapKey = "ghc-tcplugins-extra"
, mapValue =
"646bb98d088f0659ce52819d973c7ac6f8029fac6ef16a7c27f66fb5ff6f662e"
}
, { mapKey = "haskell-src"
, mapValue =
"f3156cadecab7055e8267393516d03a3a7097ad7dc9596840c2e7b80351f441a"
......@@ -302,6 +306,10 @@
, mapValue =
"d4de309334e32da9b300b463d7e0de31719547458616084062c198bcb2ad1c90"
}
, { mapKey = "polysemy-plugin"
, mapValue =
"2bc47a068c0b0fa10c2e572467a22b61a6fef7b9971a30d7275d2d73ad9a8dde"
}
, { mapKey = "port-utils"
, mapValue =
"e16855fe9e4552967929333b949615f3f6fcd90dc117be1bd3db13d226731763"
......
......@@ -73,6 +73,8 @@ final: prev: with pkgs.haskell.lib; {
generics-sop = final.callPackage (./pkgs/generics-sop.nix) { };
ghc-tcplugins-extra = final.callPackage (./pkgs/ghc-tcplugins-extra.nix) { };
haskell-src = final.callPackage (./pkgs/haskell-src.nix) { };
hedis = final.callPackage (./pkgs/hedis.nix) { };
......@@ -153,6 +155,8 @@ final: prev: with pkgs.haskell.lib; {
polysemy = final.callPackage (./pkgs/polysemy.nix) { };
polysemy-plugin = final.callPackage (./pkgs/polysemy-plugin.nix) { };
port-utils = final.callPackage (./pkgs/port-utils.nix) { };
postgres-options = final.callPackage (./pkgs/postgres-options.nix) { };
......
{ mkDerivation, base, ghc, lib }:
mkDerivation {
pname = "ghc-tcplugins-extra";
version = "0.4.5";
sha256 = "0b6831620bae37d090139a89635d31c83b37a29ee89c26f0a586452b94ae10c3";
isLibrary = true;
isExecutable = false;
enableSeparateDataOutput = false;
libraryHaskellDepends = [ base ghc ];
enableLibraryProfiling = true;
enableExecutableProfiling = true;
doHaddock = false;
jailbreak = true;
doCheck = false;
doBenchmark = false;
hyperlinkSource = false;
homepage = "https://github.com/clash-lang/ghc-tcplugins-extra#readme";
description = "Utilities for writing GHC type-checker plugins";
license = lib.licenses.bsd2;
broken = false;
}
\ No newline at end of file
{ mkDerivation, Cabal, base, cabal-doctest, containers, doctest
, fetchgit, ghc, ghc-tcplugins-extra, hspec, hspec-discover
, inspection-testing, lib, polysemy, should-not-typecheck, syb
, transformers
}:
mkDerivation {
pname = "polysemy-plugin";
version = "0.4.5.1";
src = fetchgit {
url = "https://github.com/locallycompact/polysemy";
sha256 = "1czh24d57lwhn4d3jxa5ifrxnkid2hlkayl3hwmd0nia0hv4sg51";
rev = "f42c55de0a214bcd6e604be55a8be1e84dd877cb";
fetchSubmodules = true;
};
postUnpack = "sourceRoot+=/polysemy-plugin/; echo source root reset to $sourceRoot";
isLibrary = true;
isExecutable = false;
enableSeparateDataOutput = false;
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 ];
enableLibraryProfiling = true;
enableExecutableProfiling = true;
doHaddock = false;
jailbreak = true;
doCheck = false;
doBenchmark = false;
hyperlinkSource = false;
homepage = "https://github.com/polysemy-research/polysemy#readme";
description = "Disambiguate obvious uses of effects";
license = lib.licenses.bsd3;
broken = false;
}
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment