depot/third_party/nixpkgs/pkgs/development/ocaml-modules/secp256k1/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

24 lines
629 B
Nix

{ lib, fetchFromGitHub, buildDunePackage, base, stdio, dune-configurator, secp256k1 }:
buildDunePackage rec {
pname = "secp256k1";
version = "0.4.4";
duneVersion = "3";
src = fetchFromGitHub {
owner = "dakk";
repo = "secp256k1-ml";
rev = version;
hash = "sha256-22+dZb3MC1W5Qvsz3+IHV1/XiGCRmJHTH+6IW2QX2hU=";
};
buildInputs = [ base stdio dune-configurator secp256k1 ];
meta = with lib; {
homepage = "https://github.com/dakk/secp256k1-ml";
description = "Elliptic curve library secp256k1 wrapper for Ocaml";
license = licenses.mit;
maintainers = [ maintainers.vyorkin ];
};
}