nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 43 lines 773 B view raw
1{ 2 lib, 3 fetchFromGitLab, 4 buildDunePackage, 5 ocaml, 6 bigstring, 7 alcotest, 8 cstruct, 9 hex, 10}: 11 12buildDunePackage rec { 13 pname = "uecc"; 14 version = "0.4"; 15 16 duneVersion = "3"; 17 18 src = fetchFromGitLab { 19 owner = "nomadic-labs"; 20 repo = "ocaml-uecc"; 21 rev = "v${version}"; 22 hash = "sha256-o/DylUx+olRRloiCU6b1t/xOmW8A5IZB2n3U7fkMo80="; 23 }; 24 25 propagatedBuildInputs = [ 26 bigstring 27 ]; 28 29 checkInputs = [ 30 alcotest 31 cstruct 32 hex 33 ]; 34 35 doCheck = lib.versionAtLeast ocaml.version "4.08"; 36 37 meta = { 38 description = "Bindings for ECDH and ECDSA for 8-bit, 32-bit, and 64-bit processors"; 39 homepage = "https://gitlab.com/nomadic-labs/ocaml-uecc"; 40 license = lib.licenses.isc; 41 maintainers = [ lib.maintainers.ulrikstrid ]; 42 }; 43}