Skip to content

Commit 8c205a5

Browse files
author
IOHK
committed
Automatic Update
1 parent 5891424 commit 8c205a5

File tree

50 files changed

+1984
-13
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+1984
-13
lines changed

default.nix

+1
Original file line numberDiff line numberDiff line change
@@ -14567,6 +14567,7 @@ with builtins; mapAttrs (_: mapAttrs (_: data: rec {
1456714567
"since" = import ./nix/since.nix;
1456814568
"sindre" = import ./nix/sindre.nix;
1456914569
"single-tuple" = import ./nix/single-tuple.nix;
14570+
"singleraeh" = import ./nix/singleraeh.nix;
1457014571
"singlethongs" = import ./nix/singlethongs.nix;
1457114572
"singleton-bool" = import ./nix/singleton-bool.nix;
1457214573
"singleton-dict" = import ./nix/singleton-dict.nix;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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 = "aivika-distributed"; version = "1.5"; };
15+
license = "BSD-3-Clause";
16+
copyright = "(c) 2015-2024. David Sorokin <[email protected]>";
17+
maintainer = "David Sorokin <[email protected]>";
18+
author = "David Sorokin";
19+
homepage = "https://gitflic.ru/project/dsorokin/aivika-distributed";
20+
url = "";
21+
synopsis = "Parallel distributed discrete event simulation module for the Aivika library";
22+
description = "This package extends the aivika-transformers [1] package and allows running parallel distributed simulations.\nIt uses an optimistic strategy known as the Time Warp method. To synchronize the global virtual time,\nit uses Samadi's algorithm.\n\nMoreover, this package uses the author's modification that allows recovering the distributed\nsimulation after temporary connection errors whenever possible. For that, you have to enable explicitly\nthe recovering mode and enable the monitoring of all logical processes including the specialized Time Server process\nas it is shown in one of the test examples included in the distribution.\n\nWith the recovering mode enabled, you can try to build a distributed simulation using ordinary computers connected\nvia the ordinary net. For example, such a distributed model could even consist of computers located in different\ncontinents of the Earth, where the computers could be connected through the Internet. Here the most exciting thing\nis that this is the optimistic distributed simulation with possible rollbacks. It is assumed that optimistic methods\ntend to better support the parallelism inherited in the models.\n\nYou can test the distributed simulation using your own laptop, although the package is still destined to be\nused with a multi-core computer, or computers connected in the distributed cluster.\n\nThere are additional packages that allow you to run the distributed simulation experiments by using\nthe Monte-Carlo method. They allow you to save the simulation results in SQL databases and then generate a report\nor a set of reports consisting of HTML pages with charts, histograms, links to CSV tables, summary statistics etc.\n\nRegarding the speed of simulation, the recent rough estimation is as follows. This estimation may change from\nversion to version. For example, in version 1.0 the rollback log was rewritten, which had a significant effect.\n\nWhen simulating sequential models, the speed of single logical process of the distributed module in comparison with\nthe sequential aivika [2] module varies and depends essentially on the number of\nsimultaneously processed discrete events, or the number of simultaneously running discontinuous processes,\nwhich is very close. If there are many simultaneous events, then the distributed module can be slower in 4-5 times only.\nThe more simultaneous events are defined in the model, the less is a gap in the speed between modules.\nBut if the simultaneous events are rare, then the distributed module can be slower even in 15 times,\nwhere the sequential module can be exceptionally fast. At the same time, the message passing between the logical\nprocesses can dramatically decrease the speed of distributed simulation, especially if the messages cause rollbacks.\nThen it makes sense to define the time horizon parameter. Thus, much depends on the distributed model itself.\n\nWhen residing the logical processes in a computer with multi-core processor, you should follow the next recommendations.\nYou should reserve at least 1 core for each logical process, or even reserve 2 cores if the logical process extensively\nsends and receives messages. Also you should additionally reserve at least 1 or 2 cores for each computational node.\nThese additional processor cores will be used by the GHC run-time system that includes the garbage collector as well.\nThe Aivika distributed module creates a huge amount of short-living small objects. Therefore, the garbage collector\nneeds at least one core to utilize efficiently these objects.\n\nYou should compile your code with options -O2 and -threaded, but then launch it with run-time options +RTS -N.\n\n\\[1] <http://hackage.haskell.org/package/aivika-transformers>\n\n\\[2] <http://hackage.haskell.org/package/aivika>\n";
23+
buildType = "Simple";
24+
};
25+
components = {
26+
"library" = {
27+
depends = [
28+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
29+
(hsPkgs."mtl" or (errorHandler.buildDepError "mtl"))
30+
(hsPkgs."array" or (errorHandler.buildDepError "array"))
31+
(hsPkgs."stm" or (errorHandler.buildDepError "stm"))
32+
(hsPkgs."random" or (errorHandler.buildDepError "random"))
33+
(hsPkgs."mwc-random" or (errorHandler.buildDepError "mwc-random"))
34+
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
35+
(hsPkgs."time" or (errorHandler.buildDepError "time"))
36+
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
37+
(hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions"))
38+
(hsPkgs."distributed-process" or (errorHandler.buildDepError "distributed-process"))
39+
(hsPkgs."vector" or (errorHandler.buildDepError "vector"))
40+
(hsPkgs."aivika" or (errorHandler.buildDepError "aivika"))
41+
(hsPkgs."aivika-transformers" or (errorHandler.buildDepError "aivika-transformers"))
42+
];
43+
buildable = true;
44+
};
45+
};
46+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
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.0";
14+
identifier = { name = "arithmoi"; version = "0.13.0.0"; };
15+
license = "MIT";
16+
copyright = "(c) 2016-2021 Andrew Lelechenko, 2016-2019 Carter Schonwald, 2011 Daniel Fischer";
17+
maintainer = "Andrew Lelechenko <[email protected]>";
18+
author = "Andrew Lelechenko, Daniel Fischer";
19+
homepage = "https://github.com/Bodigrim/arithmoi";
20+
url = "";
21+
synopsis = "Efficient basic number-theoretic functions.";
22+
description = "A library of basic functionality needed for\nnumber-theoretic calculations. The aim of this library\nis to provide efficient implementations of the functions.\nPrimes and related things (totients, factorisation),\npowers (integer roots and tests, modular exponentiation).";
23+
buildType = "Simple";
24+
};
25+
components = {
26+
"library" = {
27+
depends = [
28+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
29+
(hsPkgs."array" or (errorHandler.buildDepError "array"))
30+
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
31+
(hsPkgs."chimera" or (errorHandler.buildDepError "chimera"))
32+
(hsPkgs."constraints" or (errorHandler.buildDepError "constraints"))
33+
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
34+
(hsPkgs."exact-pi" or (errorHandler.buildDepError "exact-pi"))
35+
(hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum"))
36+
(hsPkgs."infinite-list" or (errorHandler.buildDepError "infinite-list"))
37+
(hsPkgs."integer-logarithms" or (errorHandler.buildDepError "integer-logarithms"))
38+
(hsPkgs."integer-roots" or (errorHandler.buildDepError "integer-roots"))
39+
(hsPkgs."mod" or (errorHandler.buildDepError "mod"))
40+
(hsPkgs."random" or (errorHandler.buildDepError "random"))
41+
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers"))
42+
(hsPkgs."semirings" or (errorHandler.buildDepError "semirings"))
43+
(hsPkgs."vector" or (errorHandler.buildDepError "vector"))
44+
];
45+
buildable = true;
46+
};
47+
tests = {
48+
"arithmoi-tests" = {
49+
depends = [
50+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
51+
(hsPkgs."arithmoi" or (errorHandler.buildDepError "arithmoi"))
52+
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
53+
(hsPkgs."exact-pi" or (errorHandler.buildDepError "exact-pi"))
54+
(hsPkgs."infinite-list" or (errorHandler.buildDepError "infinite-list"))
55+
(hsPkgs."integer-roots" or (errorHandler.buildDepError "integer-roots"))
56+
(hsPkgs."mod" or (errorHandler.buildDepError "mod"))
57+
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck"))
58+
(hsPkgs."quickcheck-classes" or (errorHandler.buildDepError "quickcheck-classes"))
59+
(hsPkgs."random" or (errorHandler.buildDepError "random"))
60+
(hsPkgs."semirings" or (errorHandler.buildDepError "semirings"))
61+
(hsPkgs."smallcheck" or (errorHandler.buildDepError "smallcheck"))
62+
(hsPkgs."tasty" or (errorHandler.buildDepError "tasty"))
63+
(hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit"))
64+
(hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck"))
65+
(hsPkgs."tasty-rerun" or (errorHandler.buildDepError "tasty-rerun"))
66+
(hsPkgs."tasty-smallcheck" or (errorHandler.buildDepError "tasty-smallcheck"))
67+
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers"))
68+
(hsPkgs."vector" or (errorHandler.buildDepError "vector"))
69+
];
70+
buildable = true;
71+
};
72+
};
73+
benchmarks = {
74+
"arithmoi-bench" = {
75+
depends = [
76+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
77+
(hsPkgs."arithmoi" or (errorHandler.buildDepError "arithmoi"))
78+
(hsPkgs."array" or (errorHandler.buildDepError "array"))
79+
(hsPkgs."constraints" or (errorHandler.buildDepError "constraints"))
80+
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
81+
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
82+
(hsPkgs."infinite-list" or (errorHandler.buildDepError "infinite-list"))
83+
(hsPkgs."integer-logarithms" or (errorHandler.buildDepError "integer-logarithms"))
84+
(hsPkgs."mod" or (errorHandler.buildDepError "mod"))
85+
(hsPkgs."random" or (errorHandler.buildDepError "random"))
86+
(hsPkgs."semirings" or (errorHandler.buildDepError "semirings"))
87+
(hsPkgs."tasty-bench" or (errorHandler.buildDepError "tasty-bench"))
88+
(hsPkgs."vector" or (errorHandler.buildDepError "vector"))
89+
];
90+
buildable = true;
91+
};
92+
"arithmoi-sequence-model" = {
93+
depends = [
94+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
95+
(hsPkgs."arithmoi" or (errorHandler.buildDepError "arithmoi"))
96+
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
97+
(hsPkgs."hmatrix-gsl" or (errorHandler.buildDepError "hmatrix-gsl"))
98+
];
99+
buildable = false;
100+
};
101+
};
102+
};
103+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{ system
2+
, compiler
3+
, flags
4+
, pkgs
5+
, hsPkgs
6+
, pkgconfPkgs
7+
, errorHandler
8+
, config
9+
, ... }:
10+
{
11+
flags = {};
12+
package = {
13+
specVersion = "3.0";
14+
identifier = { name = "borsh"; version = "0.3.0"; };
15+
license = "BSD-3-Clause";
16+
copyright = "";
17+
maintainer = "[email protected]";
18+
author = "Edsko de Vries, Finley McIlwaine";
19+
homepage = "";
20+
url = "";
21+
synopsis = "Implementation of BORSH serialisation";
22+
description = "This package provides type classes and combinators for\nserialisation\\/deserialisation to\\/from [Borsh](https://borsh.io/) format.\nUnlike [CBOR](http://cbor.io/), Borsh is a non self-describing serialisation\nformat. It is designed such that any object serialises to a canonical and\ndeterministic string of bytes.\n\nThe library supports incremental encoding and incremental decoding, and\nsupports the use of the @ST@ monad in the decoder for efficient decoding for\ntypes such as arrays. However, the library has currently not been optimized\nfor speed, and there may well be low-hanging fruit to make it faster.";
23+
buildType = "Simple";
24+
};
25+
components = {
26+
"library" = {
27+
depends = [
28+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
29+
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
30+
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
31+
(hsPkgs."generics-sop" or (errorHandler.buildDepError "generics-sop"))
32+
(hsPkgs."sop-core" or (errorHandler.buildDepError "sop-core"))
33+
(hsPkgs."text" or (errorHandler.buildDepError "text"))
34+
(hsPkgs."vector" or (errorHandler.buildDepError "vector"))
35+
(hsPkgs."wide-word" or (errorHandler.buildDepError "wide-word"))
36+
];
37+
buildable = true;
38+
};
39+
tests = {
40+
"test-borsh" = {
41+
depends = [
42+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
43+
(hsPkgs."borsh" or (errorHandler.buildDepError "borsh"))
44+
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
45+
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
46+
(hsPkgs."generics-sop" or (errorHandler.buildDepError "generics-sop"))
47+
(hsPkgs."optics-core" or (errorHandler.buildDepError "optics-core"))
48+
(hsPkgs."profunctors" or (errorHandler.buildDepError "profunctors"))
49+
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck"))
50+
(hsPkgs."quickcheck-instances" or (errorHandler.buildDepError "quickcheck-instances"))
51+
(hsPkgs."sop-core" or (errorHandler.buildDepError "sop-core"))
52+
(hsPkgs."tasty" or (errorHandler.buildDepError "tasty"))
53+
(hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck"))
54+
(hsPkgs."text" or (errorHandler.buildDepError "text"))
55+
(hsPkgs."wide-word" or (errorHandler.buildDepError "wide-word"))
56+
];
57+
buildable = true;
58+
};
59+
};
60+
};
61+
}
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 = "cabal-lenses"; version = "0.12.0"; };
15+
license = "BSD-3-Clause";
16+
copyright = "";
17+
maintainer = "[email protected]";
18+
author = "Daniel Trstenjak";
19+
homepage = "";
20+
url = "";
21+
synopsis = "Lenses and traversals for the Cabal library.";
22+
description = "Lenses and traversals (compatible with the <https://hackage.haskell.org/package/lens lens> library) for\nthe <https://hackage.haskell.org/package/Cabal Cabal> library.";
23+
buildType = "Simple";
24+
};
25+
components = {
26+
"library" = {
27+
depends = [
28+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
29+
(hsPkgs."lens" or (errorHandler.buildDepError "lens"))
30+
(hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers"))
31+
(hsPkgs."Cabal" or (errorHandler.buildDepError "Cabal"))
32+
(hsPkgs."system-filepath" or (errorHandler.buildDepError "system-filepath"))
33+
(hsPkgs."system-fileio" or (errorHandler.buildDepError "system-fileio"))
34+
(hsPkgs."strict" or (errorHandler.buildDepError "strict"))
35+
(hsPkgs."text" or (errorHandler.buildDepError "text"))
36+
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers"))
37+
];
38+
buildable = true;
39+
};
40+
};
41+
}
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 = "2.4";
14+
identifier = { name = "co-log-core"; version = "0.3.2.2"; };
15+
license = "MPL-2.0";
16+
copyright = "2018-2020 Kowainik, 2021-2024 Co-Log";
17+
maintainer = "Kowainik <[email protected]>";
18+
author = "Dmitrii Kovanikov";
19+
homepage = "https://github.com/co-log/co-log-core";
20+
url = "";
21+
synopsis = "Composable Contravariant Comonadic Logging Library";
22+
description = "This package provides core types and functions to work with the @LogAction@ data type which is both simple and powerful.\n\n@\n__newtype__ LogAction m msg = LogAction\n\\ { unLogAction :: msg -> m ()\n\\ }\n@\n\nThe ideas behind this package are described in the following blog post:\n\n* [co-log: Composable Contravariant Combinatorial Comonadic Configurable Convenient Logging](https://kowainik.github.io/posts/2018-09-25-co-log)\n\nSee the following packages for different implementations based on @co-log-core@:\n\n* [co-log](http://hackage.haskell.org/package/co-log): taggless final implementations.\n* [co-log-polysemy](http://hackage.haskell.org/package/co-log-polysemy): extensible\neffects implementation based on @polysemy@.";
23+
buildType = "Simple";
24+
};
25+
components = {
26+
"library" = {
27+
depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) ];
28+
buildable = true;
29+
};
30+
tests = {
31+
"doctest" = {
32+
depends = [
33+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
34+
(hsPkgs."doctest" or (errorHandler.buildDepError "doctest"))
35+
(hsPkgs."Glob" or (errorHandler.buildDepError "Glob"))
36+
];
37+
buildable = true;
38+
};
39+
};
40+
};
41+
}

0 commit comments

Comments
 (0)