python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / ocaml-modules / secp256k1-internal / default.nix
blob4a9a761ab30c69fcb56eb5642bce03e9ab9de03b
1 { lib
2 , fetchFromGitLab
3 , buildDunePackage
4 , gmp
5 , dune-configurator
6 , cstruct
7 , bigstring
8 , alcotest
9 , hex
12 buildDunePackage rec {
13   pname = "secp256k1-internal";
14   version = "0.3";
15   src = fetchFromGitLab {
16     owner = "nomadic-labs";
17     repo = "ocaml-secp256k1-internal";
18     rev = version;
19     sha256 = "sha256-1wvQ4RW7avcGsIc0qgDzhGrwOBY0KHrtNVHCj2cgNzo=";
20   };
22   minimalOCamlVersion = "4.08";
24   propagatedBuildInputs = [
25     gmp
26     cstruct
27     bigstring
28   ];
30   buildInputs = [
31     dune-configurator
32   ];
34   checkInputs = [
35     alcotest
36     hex
37   ];
39   doCheck = true;
41   meta = {
42     description = "Bindings to secp256k1 internal functions (generic operations on the curve)";
43     license = lib.licenses.mit;
44     maintainers = [ lib.maintainers.ulrikstrid ];
45   };