about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/hackage-packages.nix
diff options
context:
space:
mode:
authorSimon Kohlmeyer <simon.kohlmeyer@gmail.com>2023-11-02 05:00:11 +0100
committerSimon Kohlmeyer <simon.kohlmeyer@gmail.com>2023-11-17 00:18:29 +0100
commit81964a3117e256e4919a76ff2e56400985489492 (patch)
tree37cb7e0b7a7f068a7df778491b595786c83dffb2 /pkgs/development/haskell-modules/hackage-packages.nix
parent3919f9de265b354aa9dc92316dce8ad75b89140a (diff)
haskellPackages.daemons: Use more compatible 0.3.0.0 by default
Daemons 0.4.0.0 is not compatible with GHC<9.6, so we have our daemons
point to 0.3.0.0 instead. The current version is still available with
a verison suffix.
Diffstat (limited to 'pkgs/development/haskell-modules/hackage-packages.nix')
-rw-r--r--pkgs/development/haskell-modules/hackage-packages.nix29
1 files changed, 28 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix
index f46ce422cc7f4..0ad6090158093 100644
--- a/pkgs/development/haskell-modules/hackage-packages.nix
+++ b/pkgs/development/haskell-modules/hackage-packages.nix
@@ -78542,6 +78542,34 @@ self: {
      }:
      mkDerivation {
        pname = "daemons";
+       version = "0.3.0";
+       sha256 = "05h03qk31lank60cd0ig9h4rf8zl6p4li5smba919lgpm89lyvy3";
+       isLibrary = true;
+       isExecutable = true;
+       enableSeparateDataOutput = true;
+       libraryHaskellDepends = [
+         base bytestring cereal data-default directory filepath ghc-prim
+         network pipes transformers unix
+       ];
+       executableHaskellDepends = [
+         base bytestring cereal containers data-default ghc-prim network
+         pipes transformers
+       ];
+       testHaskellDepends = [
+         base data-default directory ghc-prim HUnit test-framework
+         test-framework-hunit unix
+       ];
+       description = "Daemons in Haskell made fun and easy";
+       license = lib.licenses.gpl3Only;
+     }) {};
+
+  "daemons_0_4_0" = callPackage
+    ({ mkDerivation, base, bytestring, cereal, containers, data-default
+     , directory, filepath, ghc-prim, HUnit, network, pipes
+     , test-framework, test-framework-hunit, transformers, unix
+     }:
+     mkDerivation {
+       pname = "daemons";
        version = "0.4.0";
        sha256 = "10fcxk749q90mlwgknqn6l5mff8b09acmikxzh5jkk5sr6bj86hz";
        isLibrary = true;
@@ -78562,7 +78590,6 @@ self: {
        description = "Daemons in Haskell made fun and easy";
        license = lib.licenses.gpl3Only;
        hydraPlatforms = lib.platforms.none;
-       broken = true;
      }) {};
 
   "dag" = callPackage