git.iko.soy/sawtooth-haskell-protos
on master help sign in
Use proto3-suite from github
d7295b9iko
default.nix+6−1
unifiedsplit
@@ -8,7 +8,12 @@ let
8 broken = false;
8 broken = false;
9 });
9 });
10 overrides = (hself: hsuper: {
10 overrides = (hself: hsuper: {
11− proto3-suite = nixpkgs.haskell.lib.dontCheck (nixpkgs.haskell.lib.doJailbreak (unbreak hsuper.proto3-suite));
11+ proto3-suite = nixpkgs.haskell.lib.dontCheck (
12+ nixpkgs.haskell.lib.doJailbreak (
13+ hsuper.callCabal2nix "proto3-suite"
14+ sources.proto3-suite { }
15+ )
16+ );
12 proto3-wire =
17 proto3-wire =
13 hsuper.callHackageDirect
18 hsuper.callHackageDirect
14 {
19 {
nix/sources.json+12
@@ -23,6 +23,18 @@
23 "url": "https://github.com/NixOS/nixpkgs/archive/a346c68411cc2fe0392e8905f9300fa0973cf1b4.tar.gz",
23 "url": "https://github.com/NixOS/nixpkgs/archive/a346c68411cc2fe0392e8905f9300fa0973cf1b4.tar.gz",
24 "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
24 "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
25 },
25 },
26+ "proto3-suite": {
27+ "branch": "master",
28+ "description": " Haskell Protobuf Implementation",
29+ "homepage": null,
30+ "owner": "awakesecurity",
31+ "repo": "proto3-suite",
32+ "rev": "0af901f9ef3b9719e08eae4fab8fd700d6c8047a",
33+ "sha256": "0mpy35r6qd1v5sixhy2lqcn5x81rfj4dc079g1kpa4fb1f23dbha",
34+ "type": "tarball",
35+ "url": "https://github.com/awakesecurity/proto3-suite/archive/0af901f9ef3b9719e08eae4fab8fd700d6c8047a.tar.gz",
36+ "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
37+ },
26 "sawtooth-core": {
38 "sawtooth-core": {
27 "branch": "master",
39 "branch": "master",
28 "description": "Core repository for Sawtooth Distributed Ledger",
40 "description": "Core repository for Sawtooth Distributed Ledger",