Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5efc0a0

Browse files
author
IOHK
committedMay 28, 2024
Automatic Update
1 parent 179e52b commit 5efc0a0

File tree

36 files changed

+1233
-7
lines changed

36 files changed

+1233
-7
lines changed
 

‎default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9309,6 +9309,7 @@ with builtins; mapAttrs (_: mapAttrs (_: data: rec {
93099309
"jml-web-service" = import ./nix/jml-web-service.nix;
93109310
"jmonkey" = import ./nix/jmonkey.nix;
93119311
"jni" = import ./nix/jni.nix;
9312+
"job" = import ./nix/job.nix;
93129313
"jobqueue" = import ./nix/jobqueue.nix;
93139314
"jobs-ui" = import ./nix/jobs-ui.nix;
93149315
"join" = import ./nix/join.nix;
Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
{ system
2+
, compiler
3+
, flags
4+
, pkgs
5+
, hsPkgs
6+
, pkgconfPkgs
7+
, errorHandler
8+
, config
9+
, ... }:
10+
{
11+
flags = { templatehaskell = true; old-random = false; };
12+
package = {
13+
specVersion = "1.10";
14+
identifier = { name = "QuickCheck"; version = "2.15.0.1"; };
15+
license = "BSD-3-Clause";
16+
copyright = "2000-2019 Koen Claessen, 2006-2008 Björn Bringert, 2009-2019 Nick Smallbone";
17+
maintainer = "Nick Smallbone <nick@smallbone.se>";
18+
author = "Koen Claessen <koen@chalmers.se>";
19+
homepage = "https://github.com/nick8325/quickcheck";
20+
url = "";
21+
synopsis = "Automatic testing of Haskell programs";
22+
description = "QuickCheck is a library for random testing of program properties.\nThe programmer provides a specification of the program, in the form of\nproperties which functions should satisfy, and QuickCheck then tests that the\nproperties hold in a large number of randomly generated cases.\nSpecifications are expressed in Haskell, using combinators provided by\nQuickCheck. QuickCheck provides combinators to define properties, observe the\ndistribution of test data, and define test data generators.\n\nMost of QuickCheck's functionality is exported by the main \"Test.QuickCheck\"\nmodule. The main exception is the monadic property testing library in\n\"Test.QuickCheck.Monadic\".\n\nIf you are new to QuickCheck, you can try looking at the following resources:\n\n* The <http://www.cse.chalmers.se/~rjmh/QuickCheck/manual.html official QuickCheck manual>.\nIt's a bit out-of-date in some details and doesn't cover newer QuickCheck features,\nbut is still full of good advice.\n* <https://begriffs.com/posts/2017-01-14-design-use-quickcheck.html>,\na detailed tutorial written by a user of QuickCheck.\n\nThe <https://hackage.haskell.org/package/quickcheck-instances quickcheck-instances>\ncompanion package provides instances for types in Haskell Platform packages\nat the cost of additional dependencies.";
23+
buildType = "Simple";
24+
};
25+
components = {
26+
"library" = {
27+
depends = ((((((([
28+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
29+
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
30+
] ++ [
31+
(hsPkgs."random" or (errorHandler.buildDepError "random"))
32+
]) ++ pkgs.lib.optional (!(compiler.isHugs && true)) (hsPkgs."splitmix" or (errorHandler.buildDepError "splitmix"))) ++ pkgs.lib.optionals (compiler.isGhc && true) [
33+
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers"))
34+
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
35+
]) ++ pkgs.lib.optional (compiler.isGhc && true && flags.templatehaskell) (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell"))) ++ pkgs.lib.optional (compiler.isGhc && compiler.version.ge "7.2" && (compiler.isGhc && compiler.version.lt "7.6")) (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))) ++ pkgs.lib.optional (compiler.isGhc && compiler.version.ge "7.2") (hsPkgs."random" or (errorHandler.buildDepError "random"))) ++ pkgs.lib.optional (compiler.isGhc && compiler.version.ge "7.4") (hsPkgs."containers" or (errorHandler.buildDepError "containers"))) ++ pkgs.lib.optionals (compiler.isUhc && true) [
36+
(hsPkgs."old-time" or (errorHandler.buildDepError "old-time"))
37+
(hsPkgs."old-locale" or (errorHandler.buildDepError "old-locale"))
38+
];
39+
buildable = true;
40+
};
41+
tests = {
42+
"test-quickcheck" = {
43+
depends = [
44+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
45+
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck"))
46+
];
47+
buildable = if !flags.templatehaskell then false else true;
48+
};
49+
"test-quickcheck-gcoarbitrary" = {
50+
depends = [
51+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
52+
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck"))
53+
] ++ pkgs.lib.optional (compiler.isGhc && compiler.version.ge "7.2" && (compiler.isGhc && compiler.version.lt "7.6")) (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"));
54+
buildable = if !flags.templatehaskell || !(compiler.isGhc && compiler.version.ge "7.2")
55+
then false
56+
else true;
57+
};
58+
"test-quickcheck-generators" = {
59+
depends = [
60+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
61+
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck"))
62+
];
63+
buildable = if !flags.templatehaskell then false else true;
64+
};
65+
"test-quickcheck-gshrink" = {
66+
depends = [
67+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
68+
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck"))
69+
] ++ pkgs.lib.optional (compiler.isGhc && compiler.version.ge "7.2" && (compiler.isGhc && compiler.version.lt "7.6")) (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"));
70+
buildable = if !flags.templatehaskell || !(compiler.isGhc && compiler.version.ge "7.2")
71+
then false
72+
else true;
73+
};
74+
"test-quickcheck-terminal" = {
75+
depends = [
76+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
77+
(hsPkgs."process" or (errorHandler.buildDepError "process"))
78+
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
79+
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck"))
80+
];
81+
buildable = if !flags.templatehaskell || !(compiler.isGhc && compiler.version.ge "7.10")
82+
then false
83+
else true;
84+
};
85+
"test-quickcheck-monadfix" = {
86+
depends = [
87+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
88+
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck"))
89+
];
90+
buildable = if !flags.templatehaskell || !(compiler.isGhc && compiler.version.ge "7.10")
91+
then false
92+
else true;
93+
};
94+
"test-quickcheck-split" = {
95+
depends = [
96+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
97+
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck"))
98+
];
99+
buildable = true;
100+
};
101+
"test-quickcheck-strictness" = {
102+
depends = [
103+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
104+
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck"))
105+
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
106+
];
107+
buildable = if !flags.templatehaskell || !(compiler.isGhc && compiler.version.ge "7.10")
108+
then false
109+
else true;
110+
};
111+
"test-quickcheck-misc" = {
112+
depends = [
113+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
114+
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck"))
115+
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
116+
];
117+
buildable = if !flags.templatehaskell || !(compiler.isGhc && compiler.version.ge "7.10")
118+
then false
119+
else true;
120+
};
121+
"test-quickcheck-discard" = {
122+
depends = [
123+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
124+
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck"))
125+
];
126+
buildable = true;
127+
};
128+
};
129+
};
130+
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{ system
2+
, compiler
3+
, flags
4+
, pkgs
5+
, hsPkgs
6+
, pkgconfPkgs
7+
, errorHandler
8+
, config
9+
, ... }:
10+
{
11+
flags = {};
12+
package = {
13+
specVersion = "1.10";
14+
identifier = { name = "cli-nix"; version = "0.2.0.0"; };
15+
license = "BSD-3-Clause";
16+
copyright = "Obsidian Systems LLC 2020 - 2022";
17+
maintainer = "maintainer@obsidian.systems";
18+
author = "Obsidian Systems LLC";
19+
homepage = "";
20+
url = "";
21+
synopsis = "Bindings to the nix command-line interface";
22+
description = "";
23+
buildType = "Simple";
24+
};
25+
components = {
26+
"library" = {
27+
depends = [
28+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
29+
(hsPkgs."cli-extras" or (errorHandler.buildDepError "cli-extras"))
30+
(hsPkgs."data-default" or (errorHandler.buildDepError "data-default"))
31+
(hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions"))
32+
(hsPkgs."lens" or (errorHandler.buildDepError "lens"))
33+
(hsPkgs."logging-effect" or (errorHandler.buildDepError "logging-effect"))
34+
(hsPkgs."mtl" or (errorHandler.buildDepError "mtl"))
35+
(hsPkgs."text" or (errorHandler.buildDepError "text"))
36+
(hsPkgs."which" or (errorHandler.buildDepError "which"))
37+
];
38+
buildable = true;
39+
};
40+
};
41+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{ system
2+
, compiler
3+
, flags
4+
, pkgs
5+
, hsPkgs
6+
, pkgconfPkgs
7+
, errorHandler
8+
, config
9+
, ... }:
10+
{
11+
flags = {};
12+
package = {
13+
specVersion = "1.6";
14+
identifier = { name = "dependent-map"; version = "0.4.0.0"; };
15+
license = "LicenseRef-OtherLicense";
16+
copyright = "";
17+
maintainer = "Obsidian Systems, LLC <maintainer@obsidian.systems>";
18+
author = "James Cook <mokus@deepbondi.net>";
19+
homepage = "https://github.com/obsidiansystems/dependent-map";
20+
url = "";
21+
synopsis = "Dependent finite maps (partial dependent products)";
22+
description = "Provides a type called @DMap@ which generalizes\n@Data.Map.Map@, allowing keys to specify the type\nof value that can be associated with them.";
23+
buildType = "Simple";
24+
};
25+
components = {
26+
"library" = {
27+
depends = [
28+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
29+
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
30+
(hsPkgs."dependent-sum" or (errorHandler.buildDepError "dependent-sum"))
31+
(hsPkgs."constraints-extras" or (errorHandler.buildDepError "constraints-extras"))
32+
];
33+
buildable = true;
34+
};
35+
};
36+
}
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{ system
2+
, compiler
3+
, flags
4+
, pkgs
5+
, hsPkgs
6+
, pkgconfPkgs
7+
, errorHandler
8+
, config
9+
, ... }:
10+
{
11+
flags = {};
12+
package = {
13+
specVersion = "1.18";
14+
identifier = { name = "flay"; version = "0.5"; };
15+
license = "BSD-3-Clause";
16+
copyright = "Renzo Carbonara 2017";
17+
maintainer = "renλren!zone";
18+
author = "Renzo Carbonara";
19+
homepage = "https://github.com/k0001/flay";
20+
url = "";
21+
synopsis = "Generic programming for higher-kinded types.";
22+
description = "Generic programming for higher-kinded types.";
23+
buildType = "Simple";
24+
};
25+
components = {
26+
"library" = {
27+
depends = [
28+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
29+
(hsPkgs."constraints" or (errorHandler.buildDepError "constraints"))
30+
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers"))
31+
];
32+
buildable = true;
33+
};
34+
tests = {
35+
"tests" = {
36+
depends = [
37+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
38+
(hsPkgs."flay" or (errorHandler.buildDepError "flay"))
39+
(hsPkgs."tasty" or (errorHandler.buildDepError "tasty"))
40+
(hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck"))
41+
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers"))
42+
];
43+
buildable = true;
44+
};
45+
};
46+
};
47+
}
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{ system
2+
, compiler
3+
, flags
4+
, pkgs
5+
, hsPkgs
6+
, pkgconfPkgs
7+
, errorHandler
8+
, config
9+
, ... }:
10+
{
11+
flags = {};
12+
package = {
13+
specVersion = "2.4";
14+
identifier = { name = "job"; version = "0.1"; };
15+
license = "Apache-2.0";
16+
copyright = "Renzo Carbonara, 2024";
17+
maintainer = "renλren.zone";
18+
author = "Renzo Carbonara";
19+
homepage = "https://github.com/k0001/hs-job";
20+
url = "";
21+
synopsis = "Job queue";
22+
description = "Job queue";
23+
buildType = "Simple";
24+
};
25+
components = {
26+
"library" = {
27+
depends = [
28+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
29+
(hsPkgs."async" or (errorHandler.buildDepError "async"))
30+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
31+
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
32+
(hsPkgs."hashable" or (errorHandler.buildDepError "hashable"))
33+
(hsPkgs."mmzk-typeid" or (errorHandler.buildDepError "mmzk-typeid"))
34+
(hsPkgs."resourcet" or (errorHandler.buildDepError "resourcet"))
35+
(hsPkgs."resourcet-extra" or (errorHandler.buildDepError "resourcet-extra"))
36+
(hsPkgs."safe-exceptions" or (errorHandler.buildDepError "safe-exceptions"))
37+
(hsPkgs."stm" or (errorHandler.buildDepError "stm"))
38+
(hsPkgs."time" or (errorHandler.buildDepError "time"))
39+
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers"))
40+
];
41+
buildable = true;
42+
};
43+
tests = {
44+
"test" = {
45+
depends = [
46+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
47+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
48+
(hsPkgs."job" or (errorHandler.buildDepError "job"))
49+
(hsPkgs."random" or (errorHandler.buildDepError "random"))
50+
(hsPkgs."resourcet" or (errorHandler.buildDepError "resourcet"))
51+
(hsPkgs."time" or (errorHandler.buildDepError "time"))
52+
];
53+
buildable = true;
54+
};
55+
};
56+
};
57+
}
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{ system
2+
, compiler
3+
, flags
4+
, pkgs
5+
, hsPkgs
6+
, pkgconfPkgs
7+
, errorHandler
8+
, config
9+
, ... }:
10+
{
11+
flags = {};
12+
package = {
13+
specVersion = "2.4";
14+
identifier = { name = "job"; version = "0.1.1"; };
15+
license = "Apache-2.0";
16+
copyright = "Renzo Carbonara, 2024";
17+
maintainer = "renλren.zone";
18+
author = "Renzo Carbonara";
19+
homepage = "https://github.com/k0001/hs-job";
20+
url = "";
21+
synopsis = "Job queue";
22+
description = "Job queue";
23+
buildType = "Simple";
24+
};
25+
components = {
26+
"library" = {
27+
depends = [
28+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
29+
(hsPkgs."async" or (errorHandler.buildDepError "async"))
30+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
31+
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
32+
(hsPkgs."hashable" or (errorHandler.buildDepError "hashable"))
33+
(hsPkgs."mmzk-typeid" or (errorHandler.buildDepError "mmzk-typeid"))
34+
(hsPkgs."resourcet" or (errorHandler.buildDepError "resourcet"))
35+
(hsPkgs."resourcet-extra" or (errorHandler.buildDepError "resourcet-extra"))
36+
(hsPkgs."safe-exceptions" or (errorHandler.buildDepError "safe-exceptions"))
37+
(hsPkgs."stm" or (errorHandler.buildDepError "stm"))
38+
(hsPkgs."time" or (errorHandler.buildDepError "time"))
39+
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers"))
40+
];
41+
buildable = true;
42+
};
43+
tests = {
44+
"test" = {
45+
depends = [
46+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
47+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
48+
(hsPkgs."job" or (errorHandler.buildDepError "job"))
49+
(hsPkgs."random" or (errorHandler.buildDepError "random"))
50+
(hsPkgs."resourcet" or (errorHandler.buildDepError "resourcet"))
51+
(hsPkgs."time" or (errorHandler.buildDepError "time"))
52+
];
53+
buildable = true;
54+
};
55+
};
56+
};
57+
}

0 commit comments

Comments
 (0)