Skip to content

Commit 52bc8a0

Browse files
author
IOHK
committed
Automatic Update
1 parent 561f16d commit 52bc8a0

File tree

37 files changed

+1380
-9
lines changed

37 files changed

+1380
-9
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
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.12";
14+
identifier = { name = "annotated-exception"; version = "0.3.0.1"; };
15+
license = "BSD-3-Clause";
16+
copyright = "2018 Matt Parsons";
17+
maintainer = "[email protected]";
18+
author = "Matt Parsons";
19+
homepage = "https://github.com/parsonsmatt/annotated-exception#readme";
20+
url = "";
21+
synopsis = "Exceptions, with checkpoints and context.";
22+
description = "Please see the README on Github at <https://github.com/parsonsmatt/annotated-exception#readme>";
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."safe-exceptions" or (errorHandler.buildDepError "safe-exceptions"))
31+
(hsPkgs."text" or (errorHandler.buildDepError "text"))
32+
(hsPkgs."unliftio-core" or (errorHandler.buildDepError "unliftio-core"))
33+
];
34+
buildable = true;
35+
};
36+
tests = {
37+
"annotated-exception-test" = {
38+
depends = [
39+
(hsPkgs."annotated-exception" or (errorHandler.buildDepError "annotated-exception"))
40+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
41+
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
42+
(hsPkgs."hspec" or (errorHandler.buildDepError "hspec"))
43+
(hsPkgs."safe-exceptions" or (errorHandler.buildDepError "safe-exceptions"))
44+
(hsPkgs."text" or (errorHandler.buildDepError "text"))
45+
(hsPkgs."unliftio-core" or (errorHandler.buildDepError "unliftio-core"))
46+
];
47+
build-tools = [
48+
(hsPkgs.buildPackages.hspec-discover.components.exes.hspec-discover or (pkgs.buildPackages.hspec-discover or (errorHandler.buildToolDepError "hspec-discover:hspec-discover")))
49+
];
50+
buildable = true;
51+
};
52+
};
53+
};
54+
}
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.10";
14+
identifier = { name = "cabal-doctest"; version = "1.0.10"; };
15+
license = "BSD-3-Clause";
16+
copyright = "(c) 2017-2020 Oleg Grenrus, 2020- package maintainers";
17+
maintainer = "Max Ulidtko <[email protected]>";
18+
author = "Oleg Grenrus <[email protected]>";
19+
homepage = "https://github.com/ulidtko/cabal-doctest";
20+
url = "";
21+
synopsis = "A Setup.hs helper for running doctests";
22+
description = "As of now (end of 2021), there isn't @cabal doctest@\ncommand. Yet, to properly work, @doctest@ needs plenty of configuration.\nThis library provides the common bits for writing a custom @Setup.hs@.";
23+
buildType = "Simple";
24+
};
25+
components = {
26+
"library" = {
27+
depends = [
28+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
29+
(hsPkgs."Cabal" or (errorHandler.buildDepError "Cabal"))
30+
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
31+
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
32+
];
33+
buildable = true;
34+
};
35+
};
36+
}
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 = { developer = false; };
12+
package = {
13+
specVersion = "2.2";
14+
identifier = { name = "cached-io"; version = "1.3.0.0"; };
15+
license = "Apache-2.0";
16+
copyright = "";
17+
maintainer = "Bellroy Tech Team <[email protected]>";
18+
author = "SumAll, Inc.";
19+
homepage = "";
20+
url = "";
21+
synopsis = "A simple library to cache IO actions";
22+
description = "Provides functions that convert an IO action into a cached one by storing the\noriginal result for a period of time, or until some condition is met.";
23+
buildType = "Simple";
24+
};
25+
components = {
26+
"library" = {
27+
depends = [
28+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
29+
(hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions"))
30+
(hsPkgs."stm" or (errorHandler.buildDepError "stm"))
31+
(hsPkgs."time" or (errorHandler.buildDepError "time"))
32+
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers"))
33+
];
34+
buildable = true;
35+
};
36+
exes = {
37+
"test-cachedIO" = {
38+
depends = [
39+
(hsPkgs."base" or (errorHandler.buildDepError "base"))
40+
(hsPkgs."cached-io" or (errorHandler.buildDepError "cached-io"))
41+
];
42+
buildable = true;
43+
};
44+
};
45+
};
46+
}
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)