Skip to content

Commit b457213

Browse files
author
IOHK
committed
Automatic Update
1 parent fdd96b1 commit b457213

File tree

107 files changed

+4622
-27
lines changed

Some content is hidden

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

107 files changed

+4622
-27
lines changed

default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16464,6 +16464,7 @@ with builtins; mapAttrs (_: mapAttrs (_: data: rec {
1646416464
"trek-db" = import ./nix/trek-db.nix;
1646516465
"trek-lens" = import ./nix/trek-lens.nix;
1646616466
"tremulous-query" = import ./nix/tremulous-query.nix;
16467+
"trexio-hs" = import ./nix/trexio-hs.nix;
1646716468
"trhsx" = import ./nix/trhsx.nix;
1646816469
"trial" = import ./nix/trial.nix;
1646916470
"trial-optparse-applicative" = import ./nix/trial-optparse-applicative.nix;
Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
{ system
2+
, compiler
3+
, flags
4+
, pkgs
5+
, hsPkgs
6+
, pkgconfPkgs
7+
, errorHandler
8+
, config
9+
, ... }:
10+
{
11+
flags = { examples = false; };
12+
package = {
13+
specVersion = "1.10";
14+
identifier = { name = "ansi-terminal-game"; version = "1.9.3.0"; };
15+
license = "GPL-3.0-only";
16+
copyright = "© 2017-2023 Francesco Ariis et al.";
17+
maintainer = "[email protected]";
18+
author = "Francesco Ariis et al. (see AUTHORS)";
19+
homepage = "http://www.ariis.it/static/articles/libraries/page.html#ansi-terminal-game";
20+
url = "";
21+
synopsis = "cross-platform library for terminal games";
22+
description = "Library which aims to replicate standard 2d game\nfunctions (blit, ticks, timers, etc.) in a terminal\nsetting; features double buffering to optimise\nperformance.\nAims to be cross compatible (based on \"ansi-terminal\",\nno unix-only dependencies), practical.\nSee @examples@ folder for some minimal programs. A\nfull game: <http://www.ariis.it/static/articles/venzone/page.html venzone>.";
23+
buildType = "Simple";
24+
};
25+
components = {
26+
"library" = {
27+
depends = [
28+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
29+
(hsPkgs."ansi-terminal" or (errorHandler.buildDepError "ansi-terminal"))
30+
(hsPkgs."array" or (errorHandler.buildDepError "array"))
31+
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
32+
(hsPkgs."cereal" or (errorHandler.buildDepError "cereal"))
33+
(hsPkgs."clock" or (errorHandler.buildDepError "clock"))
34+
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
35+
(hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions"))
36+
(hsPkgs."file-embed" or (errorHandler.buildDepError "file-embed"))
37+
(hsPkgs."linebreak" or (errorHandler.buildDepError "linebreak"))
38+
(hsPkgs."mintty" or (errorHandler.buildDepError "mintty"))
39+
(hsPkgs."mtl" or (errorHandler.buildDepError "mtl"))
40+
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck"))
41+
(hsPkgs."random" or (errorHandler.buildDepError "random"))
42+
(hsPkgs."split" or (errorHandler.buildDepError "split"))
43+
(hsPkgs."terminal-size" or (errorHandler.buildDepError "terminal-size"))
44+
(hsPkgs."unidecode" or (errorHandler.buildDepError "unidecode"))
45+
(hsPkgs."timers-tick" or (errorHandler.buildDepError "timers-tick"))
46+
(hsPkgs."colour" or (errorHandler.buildDepError "colour"))
47+
];
48+
buildable = true;
49+
};
50+
exes = {
51+
"alone" = {
52+
depends = pkgs.lib.optionals (flags.examples) [
53+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
54+
(hsPkgs."ansi-terminal-game" or (errorHandler.buildDepError "ansi-terminal-game"))
55+
];
56+
buildable = if flags.examples then true else false;
57+
};
58+
"alone-playback" = {
59+
depends = pkgs.lib.optionals (flags.examples) [
60+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
61+
(hsPkgs."ansi-terminal-game" or (errorHandler.buildDepError "ansi-terminal-game"))
62+
(hsPkgs."temporary" or (errorHandler.buildDepError "temporary"))
63+
];
64+
buildable = if flags.examples then true else false;
65+
};
66+
"balls" = {
67+
depends = pkgs.lib.optionals (flags.examples) [
68+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
69+
(hsPkgs."ansi-terminal-game" or (errorHandler.buildDepError "ansi-terminal-game"))
70+
];
71+
buildable = if flags.examples then true else false;
72+
};
73+
"hot-reload" = {
74+
depends = pkgs.lib.optionals (flags.examples) [
75+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
76+
(hsPkgs."ansi-terminal-game" or (errorHandler.buildDepError "ansi-terminal-game"))
77+
];
78+
buildable = if flags.examples then true else false;
79+
};
80+
};
81+
tests = {
82+
"test" = {
83+
depends = [
84+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
85+
(hsPkgs."ansi-terminal" or (errorHandler.buildDepError "ansi-terminal"))
86+
(hsPkgs."array" or (errorHandler.buildDepError "array"))
87+
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
88+
(hsPkgs."cereal" or (errorHandler.buildDepError "cereal"))
89+
(hsPkgs."clock" or (errorHandler.buildDepError "clock"))
90+
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
91+
(hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions"))
92+
(hsPkgs."file-embed" or (errorHandler.buildDepError "file-embed"))
93+
(hsPkgs."linebreak" or (errorHandler.buildDepError "linebreak"))
94+
(hsPkgs."mintty" or (errorHandler.buildDepError "mintty"))
95+
(hsPkgs."mtl" or (errorHandler.buildDepError "mtl"))
96+
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck"))
97+
(hsPkgs."random" or (errorHandler.buildDepError "random"))
98+
(hsPkgs."split" or (errorHandler.buildDepError "split"))
99+
(hsPkgs."terminal-size" or (errorHandler.buildDepError "terminal-size"))
100+
(hsPkgs."unidecode" or (errorHandler.buildDepError "unidecode"))
101+
(hsPkgs."timers-tick" or (errorHandler.buildDepError "timers-tick"))
102+
(hsPkgs."colour" or (errorHandler.buildDepError "colour"))
103+
(hsPkgs."hspec" or (errorHandler.buildDepError "hspec"))
104+
];
105+
build-tools = [
106+
(hsPkgs.pkgsBuildBuild.hspec-discover.components.exes.hspec-discover or (pkgs.pkgsBuildBuild.hspec-discover or (errorHandler.buildToolDepError "hspec-discover:hspec-discover")))
107+
];
108+
buildable = true;
109+
};
110+
};
111+
};
112+
}
Lines changed: 103 additions & 0 deletions
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+
}
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
{ system
2+
, compiler
3+
, flags
4+
, pkgs
5+
, hsPkgs
6+
, pkgconfPkgs
7+
, errorHandler
8+
, config
9+
, ... }:
10+
{
11+
flags = { simd = true; };
12+
package = {
13+
specVersion = "2.0";
14+
identifier = { name = "bitvec"; version = "1.1.5.0"; };
15+
license = "BSD-3-Clause";
16+
copyright = "2019-2022 Andrew Lelechenko, 2012-2016 James Cook";
17+
maintainer = "Andrew Lelechenko <[email protected]>";
18+
author = "Andrew Lelechenko <[email protected]>,\nJames Cook <[email protected]>";
19+
homepage = "https://github.com/Bodigrim/bitvec";
20+
url = "";
21+
synopsis = "Space-efficient bit vectors";
22+
description = "A newtype over 'Bool' with a better 'Vector' instance: 8x less memory, up to 3500x faster.\n\nThe <https://hackage.haskell.org/package/vector vector>\npackage represents unboxed arrays of 'Bool's\nspending 1 byte (8 bits) per boolean.\nThis library provides a newtype wrapper 'Bit' and a custom instance\nof an unboxed 'Vector', which packs bits densely,\nachieving an __8x smaller memory footprint.__\nThe performance stays mostly the same;\nthe most significant degradation happens for random writes\n(up to 10% slower).\nOn the other hand, for certain bulk bit operations\n'Vector' 'Bit' is up to 3500x faster than 'Vector' 'Bool'.\n\n=== Thread safety\n\n* \"Data.Bit\" is faster, but writes and flips are not thread-safe.\nThis is because naive updates are not atomic:\nthey read the whole word from memory,\nthen modify a bit, then write the whole word back.\nConcurrently modifying non-intersecting slices of the same underlying array\nmay also lead to unexpected results, since they can share a word in memory.\n* \"Data.Bit.ThreadSafe\" is slower (usually 10-20%),\nbut writes and flips are thread-safe.\nAdditionally, concurrently modifying non-intersecting slices of the same underlying array\nworks as expected. However, operations that affect multiple elements are not\nguaranteed to be atomic.\n\n=== Similar packages\n\n* <https://hackage.haskell.org/package/bv bv> and\n<https://hackage.haskell.org/package/bv-little bv-little>\ndo not offer mutable vectors.\n\n* <https://hackage.haskell.org/package/array array>\nis memory-efficient for 'Bool', but lacks\na handy 'Vector' interface and is not thread-safe.";
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."deepseq" or (errorHandler.buildDepError "deepseq"))
31+
(hsPkgs."primitive" or (errorHandler.buildDepError "primitive"))
32+
(hsPkgs."vector" or (errorHandler.buildDepError "vector"))
33+
] ++ (if compiler.isGhc && compiler.version.lt "9.0"
34+
then [
35+
(hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp"))
36+
]
37+
else [
38+
(hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum"))
39+
]);
40+
buildable = true;
41+
};
42+
tests = {
43+
"bitvec-tests" = {
44+
depends = [
45+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
46+
(hsPkgs."bitvec" or (errorHandler.buildDepError "bitvec"))
47+
(hsPkgs."primitive" or (errorHandler.buildDepError "primitive"))
48+
(hsPkgs."quickcheck-classes-base" or (errorHandler.buildDepError "quickcheck-classes-base"))
49+
(hsPkgs."quickcheck-classes" or (errorHandler.buildDepError "quickcheck-classes"))
50+
(hsPkgs."vector" or (errorHandler.buildDepError "vector"))
51+
(hsPkgs."tasty" or (errorHandler.buildDepError "tasty"))
52+
(hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck"))
53+
] ++ (if compiler.isGhc && compiler.version.lt "9.0"
54+
then [
55+
(hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp"))
56+
]
57+
else [
58+
(hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum"))
59+
]);
60+
buildable = true;
61+
};
62+
};
63+
benchmarks = {
64+
"bitvec-bench" = {
65+
depends = [
66+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
67+
(hsPkgs."bitvec" or (errorHandler.buildDepError "bitvec"))
68+
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
69+
(hsPkgs."random" or (errorHandler.buildDepError "random"))
70+
(hsPkgs."tasty" or (errorHandler.buildDepError "tasty"))
71+
(hsPkgs."tasty-bench" or (errorHandler.buildDepError "tasty-bench"))
72+
(hsPkgs."vector" or (errorHandler.buildDepError "vector"))
73+
] ++ (if compiler.isGhc && compiler.version.lt "9.0"
74+
then [
75+
(hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp"))
76+
]
77+
else [
78+
(hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum"))
79+
]);
80+
buildable = true;
81+
};
82+
};
83+
};
84+
}
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
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.4";
14+
identifier = { name = "bluesky-tools"; version = "0.4.0.0"; };
15+
license = "BSD-3-Clause";
16+
copyright = "2025 Ben Millwood";
17+
maintainer = "[email protected]";
18+
author = "Ben Millwood";
19+
homepage = "";
20+
url = "";
21+
synopsis = "Tools for interacting with Bluesky / AT Protocol";
22+
description = "bluesky-tools provides tools that I've found useful while trying to integrate\nmy applications with the Bluesky social network (https://bsky.social).\nSome or most of the tools are more correctly AT protocol tools, rather than\nspecific to Bluesky, but I have not made that distinction in the docs.";
23+
buildType = "Simple";
24+
};
25+
components = {
26+
"library" = {
27+
depends = [
28+
(hsPkgs."aeson" or (errorHandler.buildDepError "aeson"))
29+
(hsPkgs."async" or (errorHandler.buildDepError "async"))
30+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
31+
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
32+
(hsPkgs."dns" or (errorHandler.buildDepError "dns"))
33+
(hsPkgs."http-api-data" or (errorHandler.buildDepError "http-api-data"))
34+
(hsPkgs."http-client" or (errorHandler.buildDepError "http-client"))
35+
(hsPkgs."http-types" or (errorHandler.buildDepError "http-types"))
36+
(hsPkgs."network-uri" or (errorHandler.buildDepError "network-uri"))
37+
(hsPkgs."text" or (errorHandler.buildDepError "text"))
38+
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers"))
39+
];
40+
buildable = true;
41+
};
42+
tests = {
43+
"bluesky-tools-test" = {
44+
depends = [
45+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
46+
(hsPkgs."bluesky-tools" or (errorHandler.buildDepError "bluesky-tools"))
47+
(hsPkgs."text" or (errorHandler.buildDepError "text"))
48+
];
49+
buildable = true;
50+
};
51+
};
52+
};
53+
}

0 commit comments

Comments
 (0)