forked from sdiehl/arithmetic-circuits
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.nix
35 lines (35 loc) · 1.43 KB
/
default.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{ mkDerivation, aeson, base, bulletproofs, containers, criterion
, elliptic-curve, filepath, galois-fft, galois-field, hpack
, markdown-unlit, MonadRandom, pairing, poly, process-extras
, protolude, QuickCheck, quickcheck-instances, semirings, stdenv
, tasty, tasty-discover, tasty-hunit, tasty-quickcheck, text
, vector, wl-pprint-text
}:
mkDerivation {
pname = "arithmetic-circuits";
version = "0.2.0";
src = ./arithmetic-circuits;
libraryHaskellDepends = [
aeson base bulletproofs containers elliptic-curve filepath
galois-fft galois-field MonadRandom poly process-extras protolude
semirings text vector wl-pprint-text
];
libraryToolDepends = [ hpack ];
testHaskellDepends = [
aeson base bulletproofs containers elliptic-curve filepath
galois-fft galois-field markdown-unlit MonadRandom pairing poly
process-extras protolude QuickCheck quickcheck-instances semirings
tasty tasty-discover tasty-hunit tasty-quickcheck text vector
wl-pprint-text
];
testToolDepends = [ markdown-unlit tasty-discover ];
benchmarkHaskellDepends = [
aeson base bulletproofs containers criterion elliptic-curve
filepath galois-fft galois-field MonadRandom pairing poly
process-extras protolude semirings text vector wl-pprint-text
];
prePatch = "hpack";
homepage = "https://github.com/adjoint-io/arithmetic-circuits#readme";
description = "Arithmetic circuits for zkSNARKs";
license = stdenv.lib.licenses.mit;
}