Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save disassembler/220e57eeefa973bb8e07a860fd638d87 to your computer and use it in GitHub Desktop.
Save disassembler/220e57eeefa973bb8e07a860fd638d87 to your computer and use it in GitHub Desktop.
diff --git c/nix/.stack.nix/canonical-json.nix w/nix/.stack.nix/canonical-json.nix
index fe09474ce6..4071f37be3 100644
--- c/nix/.stack.nix/canonical-json.nix
+++ w/nix/.stack.nix/canonical-json.nix
@@ -11,13 +11,13 @@
specVersion = "1.10";
identifier = {
name = "canonical-json";
- version = "0.5.0.1";
+ version = "0.6.0.0";
};
license = "BSD-3-Clause";
copyright = "Copyright 2015-2017 Well-Typed LLP";
maintainer = "duncan@well-typed.com, edsko@well-typed.com";
author = "Duncan Coutts, Edsko de Vries";
- homepage = "";
+ homepage = "https://github.com/well-typed/canonical-json";
url = "";
synopsis = "Canonical JSON for signing and hashing JSON values";
description = "An implementation of Canonical JSON.\n\n<http://wiki.laptop.org/go/Canonical_JSON>\n\nThe \\\"canonical JSON\\\" format is designed to provide\nrepeatable hashes of JSON-encoded data. It is designed\nfor applications that need to hash, sign or authenitcate\nJSON data structures, including embedded signatures.\n\nCanonical JSON is parsable with any full JSON parser, and\nit allows whitespace for pretty-printed human readable\npresentation, but it can be put into a canonical form\nwhich then has a stable serialised representation and\nthus a stable hash.";
@@ -25,19 +25,47 @@
};
components = {
"library" = {
- depends = [
+ depends = [
(hsPkgs.base)
(hsPkgs.bytestring)
(hsPkgs.containers)
+ (hsPkgs.deepseq)
(hsPkgs.parsec)
(hsPkgs.pretty)
];
};
+ tests = {
+ "tests" = {
+ depends = [
+ (hsPkgs.base)
+ (hsPkgs.bytestring)
+ (hsPkgs.canonical-json)
+ (hsPkgs.containers)
+ (hsPkgs.aeson)
+ (hsPkgs.vector)
+ (hsPkgs.unordered-containers)
+ (hsPkgs.QuickCheck)
+ (hsPkgs.tasty)
+ (hsPkgs.tasty-quickcheck)
+ ];
+ };
+ };
+ benchmarks = {
+ "parse-bench" = {
+ depends = [
+ (hsPkgs.base)
+ (hsPkgs.bytestring)
+ (hsPkgs.canonical-json)
+ (hsPkgs.containers)
+ (hsPkgs.criterion)
+ ];
+ };
+ };
};
} // {
src = pkgs.fetchgit {
- url = "https://github.com/input-output-hk/canonical-json.git";
- rev = "f66762e4c4fe484ed109d28ad541fc55cc841c2c";
- sha256 = "0cqa4vnrj3wqqgzzg9v7p3ddrfsf5fx63dv2jnwnlfaczs007dkq";
+ url = "https://github.com/well-typed/canonical-json.git";
+ rev = "ddfe3593b80b5ceb88842bb7a6f2268df75d2c2f";
+ sha256 = "02fzn1xskis1lc1pkz0j92v6ipd89ww0k2p3dvwpm3yap5dpnm7k";
};
}
\ No newline at end of file
diff --git c/nix/.stack.nix/cardano-sl-auxx.nix w/nix/.stack.nix/cardano-sl-auxx.nix
index 38c368ece7..9879e83e8e 100644
--- c/nix/.stack.nix/cardano-sl-auxx.nix
+++ w/nix/.stack.nix/cardano-sl-auxx.nix
@@ -11,7 +11,7 @@
specVersion = "1.10";
identifier = {
name = "cardano-sl-auxx";
- version = "3.0.1";
+ version = "3.0.2";
};
license = "MIT";
copyright = "2016 IOHK";
diff --git c/nix/.stack.nix/cardano-sl-binary-test.nix w/nix/.stack.nix/cardano-sl-binary-test.nix
index 4142b857ef..bc250649a6 100644
--- c/nix/.stack.nix/cardano-sl-binary-test.nix
+++ w/nix/.stack.nix/cardano-sl-binary-test.nix
@@ -11,7 +11,7 @@
specVersion = "1.10";
identifier = {
name = "cardano-sl-binary-test";
- version = "3.0.1";
+ version = "3.0.2";
};
license = "MIT";
copyright = "2016 IOHK";
diff --git c/nix/.stack.nix/cardano-sl-binary.nix w/nix/.stack.nix/cardano-sl-binary.nix
index beb81d2512..cefdfdf0df 100644
--- c/nix/.stack.nix/cardano-sl-binary.nix
+++ w/nix/.stack.nix/cardano-sl-binary.nix
@@ -11,7 +11,7 @@
specVersion = "1.10";
identifier = {
name = "cardano-sl-binary";
- version = "3.0.1";
+ version = "3.0.2";
};
license = "MIT";
copyright = "2016 IOHK";
diff --git c/nix/.stack.nix/cardano-sl-chain-test.nix w/nix/.stack.nix/cardano-sl-chain-test.nix
index 84eaa57794..0939bac883 100644
--- c/nix/.stack.nix/cardano-sl-chain-test.nix
+++ w/nix/.stack.nix/cardano-sl-chain-test.nix
@@ -11,7 +11,7 @@
specVersion = "1.10";
identifier = {
name = "cardano-sl-chain-test";
- version = "3.0.1";
+ version = "3.0.2";
};
license = "MIT";
copyright = "2018 IOHK";
diff --git c/nix/.stack.nix/cardano-sl-chain.nix w/nix/.stack.nix/cardano-sl-chain.nix
index b1ba16fc24..b9a4e2b56f 100644
--- c/nix/.stack.nix/cardano-sl-chain.nix
+++ w/nix/.stack.nix/cardano-sl-chain.nix
@@ -11,7 +11,7 @@
specVersion = "1.10";
identifier = {
name = "cardano-sl-chain";
- version = "3.0.1";
+ version = "3.0.2";
};
license = "MIT";
copyright = "2016 IOHK";
diff --git c/nix/.stack.nix/cardano-sl-client.nix w/nix/.stack.nix/cardano-sl-client.nix
index 2b7e687c95..c78c041f1f 100644
--- c/nix/.stack.nix/cardano-sl-client.nix
+++ w/nix/.stack.nix/cardano-sl-client.nix
@@ -11,7 +11,7 @@
specVersion = "1.10";
identifier = {
name = "cardano-sl-client";
- version = "3.0.1";
+ version = "3.0.2";
};
license = "MIT";
copyright = "2017 IOHK";
diff --git c/nix/.stack.nix/cardano-sl-cluster.nix w/nix/.stack.nix/cardano-sl-cluster.nix
index 659edc11d7..5817e2f9d7 100644
--- c/nix/.stack.nix/cardano-sl-cluster.nix
+++ w/nix/.stack.nix/cardano-sl-cluster.nix
@@ -11,7 +11,7 @@
specVersion = "1.10";
identifier = {
name = "cardano-sl-cluster";
- version = "3.0.1";
+ version = "3.0.2";
};
license = "MIT";
copyright = "2018 IOHK";
diff --git c/nix/.stack.nix/cardano-sl-core-test.nix w/nix/.stack.nix/cardano-sl-core-test.nix
index 60de1c8d6a..c49e6f4eed 100644
--- c/nix/.stack.nix/cardano-sl-core-test.nix
+++ w/nix/.stack.nix/cardano-sl-core-test.nix
@@ -11,7 +11,7 @@
specVersion = "1.10";
identifier = {
name = "cardano-sl-core-test";
- version = "3.0.1";
+ version = "3.0.2";
};
license = "MIT";
copyright = "2018 IOHK";
diff --git c/nix/.stack.nix/cardano-sl-core.nix w/nix/.stack.nix/cardano-sl-core.nix
index 2a768a1312..d04df95edf 100644
--- c/nix/.stack.nix/cardano-sl-core.nix
+++ w/nix/.stack.nix/cardano-sl-core.nix
@@ -11,7 +11,7 @@
specVersion = "1.10";
identifier = {
name = "cardano-sl-core";
- version = "3.0.1";
+ version = "3.0.2";
};
license = "MIT";
copyright = "2016 IOHK";
diff --git c/nix/.stack.nix/cardano-sl-crypto-test.nix w/nix/.stack.nix/cardano-sl-crypto-test.nix
index d23efbcb9d..f0b4c500a6 100644
--- c/nix/.stack.nix/cardano-sl-crypto-test.nix
+++ w/nix/.stack.nix/cardano-sl-crypto-test.nix
@@ -11,7 +11,7 @@
specVersion = "1.10";
identifier = {
name = "cardano-sl-crypto-test";
- version = "3.0.1";
+ version = "3.0.2";
};
license = "MIT";
copyright = "2016 IOHK";
diff --git c/nix/.stack.nix/cardano-sl-crypto.nix w/nix/.stack.nix/cardano-sl-crypto.nix
index 34c182385c..ee33a246f0 100644
--- c/nix/.stack.nix/cardano-sl-crypto.nix
+++ w/nix/.stack.nix/cardano-sl-crypto.nix
@@ -11,7 +11,7 @@
specVersion = "1.10";
identifier = {
name = "cardano-sl-crypto";
- version = "3.0.1";
+ version = "3.0.2";
};
license = "MIT";
copyright = "2016 IOHK";
diff --git c/nix/.stack.nix/cardano-sl-db-test.nix w/nix/.stack.nix/cardano-sl-db-test.nix
index efd9b8848e..1ec784ce38 100644
--- c/nix/.stack.nix/cardano-sl-db-test.nix
+++ w/nix/.stack.nix/cardano-sl-db-test.nix
@@ -11,7 +11,7 @@
specVersion = "1.10";
identifier = {
name = "cardano-sl-db-test";
- version = "3.0.1";
+ version = "3.0.2";
};
license = "MIT";
copyright = "2018 IOHK";
diff --git c/nix/.stack.nix/cardano-sl-db.nix w/nix/.stack.nix/cardano-sl-db.nix
index 7a966f0822..6c6e9a0852 100644
--- c/nix/.stack.nix/cardano-sl-db.nix
+++ w/nix/.stack.nix/cardano-sl-db.nix
@@ -11,7 +11,7 @@
specVersion = "1.10";
identifier = {
name = "cardano-sl-db";
- version = "3.0.1";
+ version = "3.0.2";
};
license = "MIT";
copyright = "2016 IOHK";
diff --git c/nix/.stack.nix/cardano-sl-explorer.nix w/nix/.stack.nix/cardano-sl-explorer.nix
index d751d30940..2085dd650e 100644
--- c/nix/.stack.nix/cardano-sl-explorer.nix
+++ w/nix/.stack.nix/cardano-sl-explorer.nix
@@ -11,7 +11,7 @@
specVersion = "1.10";
identifier = {
name = "cardano-sl-explorer";
- version = "3.0.1";
+ version = "3.0.2";
};
license = "MIT";
copyright = "2017 IOHK";
diff --git c/nix/.stack.nix/cardano-sl-faucet.nix w/nix/.stack.nix/cardano-sl-faucet.nix
index 7c7abb053b..54040d675e 100644
--- c/nix/.stack.nix/cardano-sl-faucet.nix
+++ w/nix/.stack.nix/cardano-sl-faucet.nix
@@ -11,7 +11,7 @@
specVersion = "1.10";
identifier = {
name = "cardano-sl-faucet";
- version = "3.0.1";
+ version = "3.0.2";
};
license = "MIT";
copyright = "2018 IOHK";
diff --git c/nix/.stack.nix/cardano-sl-generator.nix w/nix/.stack.nix/cardano-sl-generator.nix
index 81de728afd..8b0de67f09 100644
--- c/nix/.stack.nix/cardano-sl-generator.nix
+++ w/nix/.stack.nix/cardano-sl-generator.nix
@@ -11,7 +11,7 @@
specVersion = "1.10";
identifier = {
name = "cardano-sl-generator";
- version = "3.0.1";
+ version = "3.0.2";
};
license = "MIT";
copyright = "2017 IOHK";
diff --git c/nix/.stack.nix/cardano-sl-infra-test.nix w/nix/.stack.nix/cardano-sl-infra-test.nix
index b439b8edc0..bbfb5f4af8 100644
--- c/nix/.stack.nix/cardano-sl-infra-test.nix
+++ w/nix/.stack.nix/cardano-sl-infra-test.nix
@@ -11,7 +11,7 @@
specVersion = "1.10";
identifier = {
name = "cardano-sl-infra-test";
- version = "3.0.1";
+ version = "3.0.2";
};
license = "MIT";
copyright = "2018 IOHK";
diff --git c/nix/.stack.nix/cardano-sl-infra.nix w/nix/.stack.nix/cardano-sl-infra.nix
index b8e0064245..50004c123c 100644
--- c/nix/.stack.nix/cardano-sl-infra.nix
+++ w/nix/.stack.nix/cardano-sl-infra.nix
@@ -11,7 +11,7 @@
specVersion = "1.10";
identifier = {
name = "cardano-sl-infra";
- version = "3.0.1";
+ version = "3.0.2";
};
license = "MIT";
copyright = "2016 IOHK";
diff --git c/nix/.stack.nix/cardano-sl-mnemonic.nix w/nix/.stack.nix/cardano-sl-mnemonic.nix
index 619bbc2d6a..7d81762781 100644
--- c/nix/.stack.nix/cardano-sl-mnemonic.nix
+++ w/nix/.stack.nix/cardano-sl-mnemonic.nix
@@ -11,7 +11,7 @@
specVersion = "1.10";
identifier = {
name = "cardano-sl-mnemonic";
- version = "3.0.1";
+ version = "3.0.2";
};
license = "MIT";
copyright = "2018 IOHK";
diff --git c/nix/.stack.nix/cardano-sl-networking.nix w/nix/.stack.nix/cardano-sl-networking.nix
index 052d94ea05..6745b6f870 100644
--- c/nix/.stack.nix/cardano-sl-networking.nix
+++ w/nix/.stack.nix/cardano-sl-networking.nix
@@ -11,7 +11,7 @@
specVersion = "1.20";
identifier = {
name = "cardano-sl-networking";
- version = "3.0.1";
+ version = "3.0.2";
};
license = "MIT";
copyright = "";
diff --git c/nix/.stack.nix/cardano-sl-node-ipc.nix w/nix/.stack.nix/cardano-sl-node-ipc.nix
index 31db882a8c..0841e20364 100644
--- c/nix/.stack.nix/cardano-sl-node-ipc.nix
+++ w/nix/.stack.nix/cardano-sl-node-ipc.nix
@@ -11,7 +11,7 @@
specVersion = "1.10";
identifier = {
name = "cardano-sl-node-ipc";
- version = "3.0.1";
+ version = "3.0.2";
};
license = "MIT";
copyright = "";
diff --git c/nix/.stack.nix/cardano-sl-node.nix w/nix/.stack.nix/cardano-sl-node.nix
index f833a31e8d..7fe15a486f 100644
--- c/nix/.stack.nix/cardano-sl-node.nix
+++ w/nix/.stack.nix/cardano-sl-node.nix
@@ -11,7 +11,7 @@
specVersion = "1.10";
identifier = {
name = "cardano-sl-node";
- version = "3.0.1";
+ version = "3.0.2";
};
license = "MIT";
copyright = "2016 IOHK";
diff --git c/nix/.stack.nix/cardano-sl-script-runner.nix w/nix/.stack.nix/cardano-sl-script-runner.nix
index f2b4504e7d..c7cb31624e 100644
--- c/nix/.stack.nix/cardano-sl-script-runner.nix
+++ w/nix/.stack.nix/cardano-sl-script-runner.nix
@@ -11,7 +11,7 @@
specVersion = "1.10";
identifier = {
name = "cardano-sl-script-runner";
- version = "3.0.1";
+ version = "3.0.2";
};
license = "MIT";
copyright = "2018 IOHK";
diff --git c/nix/.stack.nix/cardano-sl-tools-post-mortem.nix w/nix/.stack.nix/cardano-sl-tools-post-mortem.nix
index d78f790cda..81168d8838 100644
--- c/nix/.stack.nix/cardano-sl-tools-post-mortem.nix
+++ w/nix/.stack.nix/cardano-sl-tools-post-mortem.nix
@@ -13,7 +13,7 @@
specVersion = "1.10";
identifier = {
name = "cardano-sl-tools-post-mortem";
- version = "3.0.1";
+ version = "3.0.2";
};
license = "MIT";
copyright = "2018 IOHK";
diff --git c/nix/.stack.nix/cardano-sl-tools.nix w/nix/.stack.nix/cardano-sl-tools.nix
index 89bcc68a41..75eedf65c6 100644
--- c/nix/.stack.nix/cardano-sl-tools.nix
+++ w/nix/.stack.nix/cardano-sl-tools.nix
@@ -13,7 +13,7 @@
specVersion = "1.10";
identifier = {
name = "cardano-sl-tools";
- version = "3.0.1";
+ version = "3.0.2";
};
license = "MIT";
copyright = "2016 IOHK";
diff --git c/nix/.stack.nix/cardano-sl-util-test.nix w/nix/.stack.nix/cardano-sl-util-test.nix
index f1021182b3..3a9b6cf7a5 100644
--- c/nix/.stack.nix/cardano-sl-util-test.nix
+++ w/nix/.stack.nix/cardano-sl-util-test.nix
@@ -11,7 +11,7 @@
specVersion = "1.10";
identifier = {
name = "cardano-sl-util-test";
- version = "3.0.1";
+ version = "3.0.2";
};
license = "MIT";
copyright = "2016 IOHK";
diff --git c/nix/.stack.nix/cardano-sl-util.nix w/nix/.stack.nix/cardano-sl-util.nix
index 083875c1ff..c79badb6f2 100644
--- c/nix/.stack.nix/cardano-sl-util.nix
+++ w/nix/.stack.nix/cardano-sl-util.nix
@@ -11,7 +11,7 @@
specVersion = "1.10";
identifier = {
name = "cardano-sl-util";
- version = "3.0.1";
+ version = "3.0.2";
};
license = "MIT";
copyright = "2016 IOHK";
diff --git c/nix/.stack.nix/cardano-sl-utxo.nix w/nix/.stack.nix/cardano-sl-utxo.nix
index 80b0d1c23e..4b2439b32a 100644
--- c/nix/.stack.nix/cardano-sl-utxo.nix
+++ w/nix/.stack.nix/cardano-sl-utxo.nix
@@ -11,7 +11,7 @@
specVersion = "1.10";
identifier = {
name = "cardano-sl-utxo";
- version = "3.0.1";
+ version = "3.0.2";
};
license = "MIT";
copyright = "2017-2018 IOHK";
diff --git c/nix/.stack.nix/cardano-sl-x509.nix w/nix/.stack.nix/cardano-sl-x509.nix
index d596bf938c..44c5b3d234 100644
--- c/nix/.stack.nix/cardano-sl-x509.nix
+++ w/nix/.stack.nix/cardano-sl-x509.nix
@@ -11,7 +11,7 @@
specVersion = "1.10";
identifier = {
name = "cardano-sl-x509";
- version = "3.0.1";
+ version = "3.0.2";
};
license = "MIT";
copyright = "2018 IOHK";
diff --git c/nix/.stack.nix/cardano-sl.nix w/nix/.stack.nix/cardano-sl.nix
index 75f2ac8132..37e51820a4 100644
--- c/nix/.stack.nix/cardano-sl.nix
+++ w/nix/.stack.nix/cardano-sl.nix
@@ -11,7 +11,7 @@
specVersion = "1.10";
identifier = {
name = "cardano-sl";
- version = "3.0.1";
+ version = "3.0.2";
};
license = "MIT";
copyright = "2016 IOHK";
diff --git c/nix/.stack.nix/cardano-wallet.nix w/nix/.stack.nix/cardano-wallet.nix
index 77f8b60c04..2d1a53def4 100644
--- c/nix/.stack.nix/cardano-wallet.nix
+++ w/nix/.stack.nix/cardano-wallet.nix
@@ -11,7 +11,7 @@
specVersion = "1.10";
identifier = {
name = "cardano-wallet";
- version = "3.0.1";
+ version = "3.0.2";
};
license = "MIT";
copyright = "2018 IOHK";
diff --git c/nix/.stack.nix/hedgehog.nix w/nix/.stack.nix/hedgehog.nix
index b973c0a368..41a9b9414a 100644
--- c/nix/.stack.nix/hedgehog.nix
+++ w/nix/.stack.nix/hedgehog.nix
@@ -11,7 +11,7 @@
specVersion = "1.8";
identifier = {
name = "hedgehog";
- version = "0.6.1";
+ version = "1.0";
};
license = "BSD-3-Clause";
copyright = "";
@@ -19,8 +19,8 @@
author = "Jacob Stanley";
homepage = "https://hedgehog.qa";
url = "";
- synopsis = "Hedgehog will eat all your bugs.";
- description = "Hedgehog is a modern property-based testing system, in the spirit of\nQuickCheck. Hedgehog uses integrated shrinking, so shrinks obey the\ninvariants of generated values by construction.\n\nTo get started quickly, see the examples:\n<https://github.com/hedgehogqa/haskell-hedgehog/tree/master/hedgehog-example>";
+ synopsis = "Release with confidence.";
+ description = "<http://hedgehog.qa/ Hedgehog> automatically generates a comprehensive array\nof test cases, exercising your software in ways human testers would never\nimagine.\n\nGenerate hundreds of test cases automatically, exposing even the\nmost insidious of corner cases. Failures are automatically simplified, giving\ndevelopers coherent, intelligible error messages.\n\nTo get started quickly, see the <https://github.com/hedgehogqa/haskell-hedgehog/tree/master/hedgehog-example examples>.";
buildType = "Simple";
};
components = {
@@ -34,6 +34,7 @@
(hsPkgs.containers)
(hsPkgs.directory)
(hsPkgs.exceptions)
+ (hsPkgs.fail)
(hsPkgs.lifted-async)
(hsPkgs.mmorph)
(hsPkgs.monad-control)
@@ -46,7 +47,6 @@
(hsPkgs.stm)
(hsPkgs.template-haskell)
(hsPkgs.text)
- (hsPkgs.th-lift)
(hsPkgs.time)
(hsPkgs.transformers)
(hsPkgs.transformers-base)
@@ -59,6 +59,8 @@
(hsPkgs.hedgehog)
(hsPkgs.base)
(hsPkgs.containers)
+ (hsPkgs.mmorph)
+ (hsPkgs.mtl)
(hsPkgs.pretty-show)
(hsPkgs.semigroups)
(hsPkgs.text)
@@ -69,9 +71,9 @@
};
} // {
src = pkgs.fetchgit {
- url = "https://github.com/input-output-hk/haskell-hedgehog.git";
- rev = "e63fb354bfbad07f3befdd43b382c655944218be";
- sha256 = "1p2yzlaiqj34pkk26cgg0dkvkm1zwjpgx1zk95md5xj0cijb34gj";
+ url = "https://github.com/hedgehogqa/haskell-hedgehog.git";
+ rev = "a20005f4d584f19ea05524320f1c9a90a44c81db";
+ sha256 = "1lca47ilzg75ibv2qbb1pl466rba6ir8ra0cg4qlji63dsbpkiks";
};
postUnpack = "sourceRoot+=/hedgehog; echo source root reset to \$sourceRoot";
}
\ No newline at end of file
diff --git c/nix/.stack.nix/stylish-haskell.nix w/nix/.stack.nix/stylish-haskell.nix
index 0d3f5aa3ba..1c4d143b36 100644
--- c/nix/.stack.nix/stylish-haskell.nix
+++ w/nix/.stack.nix/stylish-haskell.nix
@@ -11,7 +11,7 @@
specVersion = "1.8";
identifier = {
name = "stylish-haskell";
- version = "0.9.2.0";
+ version = "0.9.2.2";
};
license = "BSD-3-Clause";
copyright = "2012 Jasper Van der Jeugt";
@@ -83,8 +83,8 @@
};
} // {
src = pkgs.fetchgit {
- url = "https://github.com/input-output-hk/stylish-haskell.git";
- rev = "ecfd3b307d8d13a6d12aff03055f25a39a17e182";
- sha256 = "0d6ylb07gxv050fpzc6siwxj8c7j1pkcry5zyzimv0xwn1wf6rfy";
+ url = "https://github.com/jaspervdj/stylish-haskell";
+ rev = "f253f37362be840bafe2c82a8d7fb284046fda48";
+ sha256 = "070lwddjvawaf42p8mvxl6fam44nhn98nc85gsk5688fygccv5qw";
};
}
\ No newline at end of file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment