git.iko.soy/sawtooth-haskell-protos
on master help sign in
Use proto3-suite from github
commitd7295b9fe35642914d7a049c30c180eb4d772ef2 authoriko <ilyakooo0@gmail.com> dateWed 24 Feb 2021, 21:42 (6 years ago) parent49cd72e
2 files changed+18−1
unifiedsplit
default.nix+6−1 nix/sources.json+12
default.nix+6−1
@@ -8,7 +8,12 @@ let
88 broken = false;
99 });
1010 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+ );
1217 proto3-wire =
1318 hsuper.callHackageDirect
1419 {
nix/sources.json+12
@@ -23,6 +23,18 @@
2323 "url": "https://github.com/NixOS/nixpkgs/archive/a346c68411cc2fe0392e8905f9300fa0973cf1b4.tar.gz",
2424 "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
2525 },
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+ },
2638 "sawtooth-core": {
2739 "branch": "master",
2840 "description": "Core repository for Sawtooth Distributed Ledger",