Skip to content

Commit 5fbda11

Browse files
author
IOHK
committed
Automatic Update
1 parent 2733cdc commit 5fbda11

File tree

48 files changed

+1725
-7
lines changed

Some content is hidden

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

48 files changed

+1725
-7
lines changed

default.nix

+1
Original file line numberDiff line numberDiff line change
@@ -8636,6 +8636,7 @@ with builtins; mapAttrs (_: mapAttrs (_: data: rec {
86368636
"http-response-decoder" = import ./nix/http-response-decoder.nix;
86378637
"http-reverse-proxy" = import ./nix/http-reverse-proxy.nix;
86388638
"http-rfc7807" = import ./nix/http-rfc7807.nix;
8639+
"http-semantics" = import ./nix/http-semantics.nix;
86398640
"http-server" = import ./nix/http-server.nix;
86408641
"http-shed" = import ./nix/http-shed.nix;
86418642
"http-slim" = import ./nix/http-slim.nix;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
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 = "active"; version = "0.2.1"; };
15+
license = "BSD-3-Clause";
16+
copyright = "(c) 2011-2015 Brent Yorgey";
17+
maintainer = "[email protected]";
18+
author = "Brent Yorgey";
19+
homepage = "";
20+
url = "";
21+
synopsis = "Abstractions for animation";
22+
description = "\"Active\" abstraction for animated things with finite start and end times.";
23+
buildType = "Simple";
24+
};
25+
components = {
26+
"library" = {
27+
depends = [
28+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
29+
(hsPkgs."vector" or (errorHandler.buildDepError "vector"))
30+
(hsPkgs."semigroups" or (errorHandler.buildDepError "semigroups"))
31+
(hsPkgs."semigroupoids" or (errorHandler.buildDepError "semigroupoids"))
32+
(hsPkgs."lens" or (errorHandler.buildDepError "lens"))
33+
(hsPkgs."linear" or (errorHandler.buildDepError "linear"))
34+
];
35+
buildable = true;
36+
};
37+
tests = {
38+
"active-tests" = {
39+
depends = [
40+
(hsPkgs."active" or (errorHandler.buildDepError "active"))
41+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
42+
(hsPkgs."linear" or (errorHandler.buildDepError "linear"))
43+
(hsPkgs."semigroups" or (errorHandler.buildDepError "semigroups"))
44+
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck"))
45+
];
46+
buildable = true;
47+
};
48+
};
49+
};
50+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
{ system
2+
, compiler
3+
, flags
4+
, pkgs
5+
, hsPkgs
6+
, pkgconfPkgs
7+
, errorHandler
8+
, config
9+
, ... }:
10+
{
11+
flags = { representable = true; };
12+
package = {
13+
specVersion = "2.2";
14+
identifier = { name = "chimera"; version = "0.4.1.0"; };
15+
license = "BSD-3-Clause";
16+
copyright = "2017-2019 Bodigrim";
17+
maintainer = "[email protected]";
18+
author = "Bodigrim";
19+
homepage = "https://github.com/Bodigrim/chimera#readme";
20+
url = "";
21+
synopsis = "Lazy infinite streams with O(1) indexing and applications for memoization";
22+
description = "There are plenty of memoizing libraries on Hackage, but they\nusually fall into two categories:\n\n* Store cache as a flat array, enabling us\nto obtain cached values in O(1) time, which is nice.\nThe drawback is that one must specify the size\nof the array beforehand,\nlimiting an interval of inputs,\nand actually allocate it at once.\n* Store cache as a lazy binary tree.\nThanks to laziness, one can freely use the full range of inputs.\nThe drawback is that obtaining values from a tree\ntakes logarithmic time and is unfriendly to CPU cache,\nwhich kinda defeats the purpose.\n\nThis package intends to tackle both issues,\nproviding a data type 'Chimera' for\nlazy infinite compact streams with cache-friendly O(1) indexing.\n\nAdditional features include:\n\n* memoization of recursive functions and recurrent sequences,\n* memoization of functions of several, possibly signed arguments,\n* efficient memoization of boolean predicates.";
23+
buildType = "Simple";
24+
};
25+
components = {
26+
"library" = {
27+
depends = [
28+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
29+
(hsPkgs."infinite-list" or (errorHandler.buildDepError "infinite-list"))
30+
(hsPkgs."primitive" or (errorHandler.buildDepError "primitive"))
31+
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers"))
32+
(hsPkgs."vector" or (errorHandler.buildDepError "vector"))
33+
] ++ (pkgs.lib).optionals (flags.representable) [
34+
(hsPkgs."adjunctions" or (errorHandler.buildDepError "adjunctions"))
35+
(hsPkgs."distributive" or (errorHandler.buildDepError "distributive"))
36+
(hsPkgs."mtl" or (errorHandler.buildDepError "mtl"))
37+
];
38+
buildable = true;
39+
};
40+
tests = {
41+
"chimera-test" = {
42+
depends = [
43+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
44+
(hsPkgs."chimera" or (errorHandler.buildDepError "chimera"))
45+
(hsPkgs."infinite-list" or (errorHandler.buildDepError "infinite-list"))
46+
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck"))
47+
(hsPkgs."tasty" or (errorHandler.buildDepError "tasty"))
48+
(hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit"))
49+
(hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck"))
50+
(hsPkgs."tasty-smallcheck" or (errorHandler.buildDepError "tasty-smallcheck"))
51+
(hsPkgs."vector" or (errorHandler.buildDepError "vector"))
52+
];
53+
buildable = true;
54+
};
55+
};
56+
benchmarks = {
57+
"chimera-bench" = {
58+
depends = [
59+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
60+
(hsPkgs."chimera" or (errorHandler.buildDepError "chimera"))
61+
(hsPkgs."mtl" or (errorHandler.buildDepError "mtl"))
62+
(hsPkgs."random" or (errorHandler.buildDepError "random"))
63+
(hsPkgs."tasty" or (errorHandler.buildDepError "tasty"))
64+
(hsPkgs."tasty-bench" or (errorHandler.buildDepError "tasty-bench"))
65+
(hsPkgs."vector" or (errorHandler.buildDepError "vector"))
66+
];
67+
buildable = true;
68+
};
69+
};
70+
};
71+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
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 = "cryptohash-md5"; version = "0.11.101.0"; };
15+
license = "BSD-3-Clause";
16+
copyright = "Vincent Hanquez, Herbert Valerio Riedel";
17+
maintainer = "https://github.com/haskell-hvr/cryptohash-md5";
18+
author = "";
19+
homepage = "https://github.com/haskell-hvr/cryptohash-md5";
20+
url = "";
21+
synopsis = "Fast, pure and practical MD5 implementation";
22+
description = "A practical incremental and one-pass, pure API to the\n<https://en.wikipedia.org/wiki/MD5 MD5 hash algorithm>\n(including <https://en.wikipedia.org/wiki/HMAC HMAC> support)\nwith performance close to the fastest implementations available in other languages.\n\nThe implementation is made in C with a haskell FFI wrapper that hides the C implementation.\n\nNOTE: This package has been forked off @cryptohash-0.11.7@ because the @cryptohash@ package\nhas been deprecated and so this package continues to satisfy the need for a lightweight package\nproviding the MD5 hash algorithm without any dependencies on packages other than\n@base@ and @bytestring@.\n\nConsequently, this package can be used as a drop-in replacement for @cryptohash@'s\n\"Crypto.Hash.MD5\" module, though with a clearly smaller footprint.";
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+
];
31+
buildable = true;
32+
};
33+
tests = {
34+
"test-md5" = {
35+
depends = [
36+
(hsPkgs."cryptohash-md5" or (errorHandler.buildDepError "cryptohash-md5"))
37+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
38+
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
39+
(hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring"))
40+
(hsPkgs."pureMD5" or (errorHandler.buildDepError "pureMD5"))
41+
(hsPkgs."tasty" or (errorHandler.buildDepError "tasty"))
42+
(hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck"))
43+
(hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit"))
44+
];
45+
buildable = true;
46+
};
47+
};
48+
benchmarks = {
49+
"bench-md5" = {
50+
depends = [
51+
(hsPkgs."cryptohash-md5" or (errorHandler.buildDepError "cryptohash-md5"))
52+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
53+
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
54+
(hsPkgs."criterion" or (errorHandler.buildDepError "criterion"))
55+
];
56+
buildable = true;
57+
};
58+
};
59+
};
60+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
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 = "cryptohash-sha1"; version = "0.11.101.0"; };
15+
license = "BSD-3-Clause";
16+
copyright = "Vincent Hanquez, Herbert Valerio Riedel";
17+
maintainer = "https://github.com/haskell-hvr/cryptohash-sha1";
18+
author = "";
19+
homepage = "https://github.com/haskell-hvr/cryptohash-sha1";
20+
url = "";
21+
synopsis = "Fast, pure and practical SHA-1 implementation";
22+
description = "A practical incremental and one-pass, pure API to the\n<https://en.wikipedia.org/wiki/SHA-1 SHA-1 hash algorithm>\n(including <https://en.wikipedia.org/wiki/HMAC HMAC> support)\nwith performance close to the fastest implementations available in other languages.\n\nThe implementation is made in C with a haskell FFI wrapper that hides the C implementation.\n\nNOTE: This package has been forked off @cryptohash-0.11.7@ because the @cryptohash@ package has been\ndeprecated and so this package continues to satisfy the need for a lightweight package\nproviding the SHA1 hash algorithm without any dependencies on packages other than\n@base@ and @bytestring@.\n\nConsequently, this package can be used as a drop-in replacement for @cryptohash@'s\n\"Crypto.Hash.SHA1\" module, though with a clearly smaller footprint.";
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+
];
31+
buildable = true;
32+
};
33+
tests = {
34+
"test-sha1" = {
35+
depends = [
36+
(hsPkgs."cryptohash-sha1" or (errorHandler.buildDepError "cryptohash-sha1"))
37+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
38+
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
39+
(hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring"))
40+
(hsPkgs."SHA" or (errorHandler.buildDepError "SHA"))
41+
(hsPkgs."tasty" or (errorHandler.buildDepError "tasty"))
42+
(hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck"))
43+
(hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit"))
44+
];
45+
buildable = true;
46+
};
47+
};
48+
benchmarks = {
49+
"bench-sha1" = {
50+
depends = [
51+
(hsPkgs."cryptohash-sha1" or (errorHandler.buildDepError "cryptohash-sha1"))
52+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
53+
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
54+
(hsPkgs."criterion" or (errorHandler.buildDepError "criterion"))
55+
];
56+
buildable = true;
57+
};
58+
};
59+
};
60+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
{ system
2+
, compiler
3+
, flags
4+
, pkgs
5+
, hsPkgs
6+
, pkgconfPkgs
7+
, errorHandler
8+
, config
9+
, ... }:
10+
{
11+
flags = { exe = false; use-cbits = true; };
12+
package = {
13+
specVersion = "2.0";
14+
identifier = { name = "cryptohash-sha256"; version = "0.11.102.1"; };
15+
license = "BSD-3-Clause";
16+
copyright = "Vincent Hanquez, Herbert Valerio Riedel";
17+
maintainer = "Herbert Valerio Riedel <[email protected]>";
18+
author = "";
19+
homepage = "https://github.com/haskell-hvr/cryptohash-sha256";
20+
url = "";
21+
synopsis = "Fast, pure and practical SHA-256 implementation";
22+
description = "A practical incremental and one-pass, pure API to\nthe [SHA-256 cryptographic hash algorithm](https://en.wikipedia.org/wiki/SHA-2) according\nto [FIPS 180-4](http://dx.doi.org/10.6028/NIST.FIPS.180-4)\nwith performance close to the fastest implementations available in other languages.\n\nThe core SHA-256 algorithm is implemented in C and is thus expected\nto be as fast as the standard [sha256sum(1) tool](https://linux.die.net/man/1/sha256sum);\nfor instance, on an /Intel Core i7-3770/ at 3.40GHz this implementation can\ncompute a SHA-256 hash over 230 MiB of data in under one second.\n(If, instead, you require a pure Haskell implementation and performance is secondary, please refer to the [SHA package](https://hackage.haskell.org/package/SHA).)\n\n\nAdditionally, this package provides support for\n\n- HMAC-SHA-256: SHA-256-based [Hashed Message Authentication Codes](https://en.wikipedia.org/wiki/HMAC) (HMAC)\n- HKDF-SHA-256: [HMAC-SHA-256-based Key Derivation Function](https://en.wikipedia.org/wiki/HKDF) (HKDF)\n\nconforming to [RFC6234](https://tools.ietf.org/html/rfc6234), [RFC4231](https://tools.ietf.org/html/rfc4231), [RFC5869](https://tools.ietf.org/html/rfc5869), et al..\n\n=== Relationship to the @cryptohash@ package and its API\n\nThis package has been originally a fork of @cryptohash-0.11.7@ because the @cryptohash@\npackage had been deprecated and so this package continues to satisfy the need for a\nlightweight package providing the SHA-256 hash algorithm without any dependencies on packages\nother than @base@ and @bytestring@. The API exposed by @cryptohash-sha256-0.11.*@'s\n\"Crypto.Hash.SHA256\" module is guaranteed to remain a compatible superset of the API provided\nby the @cryptohash-0.11.7@'s module of the same name.\n\nConsequently, this package is designed to be used as a drop-in replacement for @cryptohash-0.11.7@'s\n\"Crypto.Hash.SHA256\" module, though with\na [clearly smaller footprint by almost 3 orders of magnitude](https://www.reddit.com/r/haskell/comments/5lxv75/psa_please_use_unique_module_names_when_uploading/dbzegx3/).";
23+
buildType = "Simple";
24+
};
25+
components = {
26+
"library" = {
27+
depends = [
28+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
29+
] ++ (if flags.use-cbits
30+
then [
31+
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
32+
]
33+
else [
34+
(hsPkgs."cryptohash-sha256-pure" or (errorHandler.buildDepError "cryptohash-sha256-pure"))
35+
]);
36+
buildable = true;
37+
};
38+
exes = {
39+
"sha256sum" = {
40+
depends = (pkgs.lib).optionals (flags.exe) [
41+
(hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256"))
42+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
43+
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
44+
(hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring"))
45+
];
46+
buildable = if flags.exe then true else false;
47+
};
48+
};
49+
tests = {
50+
"test-sha256" = {
51+
depends = [
52+
(hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256"))
53+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
54+
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
55+
(hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring"))
56+
(hsPkgs."SHA" or (errorHandler.buildDepError "SHA"))
57+
(hsPkgs."tasty" or (errorHandler.buildDepError "tasty"))
58+
(hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck"))
59+
(hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit"))
60+
];
61+
buildable = true;
62+
};
63+
};
64+
benchmarks = {
65+
"bench-sha256" = {
66+
depends = [
67+
(hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256"))
68+
(hsPkgs."SHA" or (errorHandler.buildDepError "SHA"))
69+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
70+
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
71+
(hsPkgs."criterion" or (errorHandler.buildDepError "criterion"))
72+
];
73+
buildable = true;
74+
};
75+
};
76+
};
77+
}

0 commit comments

Comments
 (0)