depot/third_party/nixpkgs/pkgs/development/ocaml-modules/secp256k1/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

22 lines
641 B
Nix

{ stdenv, fetchFromGitHub, buildDunePackage, base, stdio, configurator, secp256k1 }:
buildDunePackage {
pname = "secp256k1";
version = "0.4.0";
src = fetchFromGitHub {
owner = "dakk";
repo = "secp256k1-ml";
rev = "42c04c93e2ed9596f6378676e944c8cfabfa69d7";
sha256 = "1zw2kgg181a9lj1m8z0ybijs8gw9w1kk990avh1bp9x8kc1asffg";
};
buildInputs = [ base stdio configurator secp256k1 ];
meta = with stdenv.lib; {
homepage = "https://github.com/dakk/secp256k1-ml";
description = "Elliptic curve library secp256k1 wrapper for Ocaml";
license = licenses.mit;
maintainers = [ maintainers.vyorkin ];
};
}