ocamlPackages.fiat-p256: init at 0.2.1

authored by

sternenseemann and committed by
Vincent Laporte
435fd99a bd30d8fc

+28
+26
pkgs/development/ocaml-modules/fiat-p256/default.nix
···
··· 1 + { lib, buildDunePackage, fetchurl, alcotest, asn1-combinators, benchmark 2 + , bigarray-compat, cstruct, eqaf, hex, ppx_deriving_yojson, rresult 3 + , stdlib-shims, yojson, dune-configurator }: 4 + 5 + buildDunePackage rec { 6 + pname = "fiat-p256"; 7 + version = "0.2.1"; 8 + 9 + src = fetchurl { 10 + url = "https://github.com/mirage/fiat/releases/download/v${version}/${pname}-v${version}.tbz"; 11 + sha256 = "0086h9qkvnqfm8acrxqbki54z619nj73x7f0d01v5vg2naznx7w9"; 12 + }; 13 + 14 + buildInputs = [ dune-configurator ]; 15 + propagatedBuildInputs = [ bigarray-compat cstruct eqaf hex ]; 16 + checkInputs = [ alcotest asn1-combinators benchmark 17 + ppx_deriving_yojson rresult stdlib-shims yojson ]; 18 + doCheck = true; 19 + 20 + meta = with lib; { 21 + description = "Primitives for Elliptic Curve Cryptography taken from Fiat"; 22 + homepage = "https://github.com/mirage/fiat"; 23 + license = licenses.mit; 24 + maintainers = with maintainers; [ sternenseemann ]; 25 + }; 26 + }
+2
pkgs/top-level/ocaml-packages.nix
··· 267 268 farfadet = callPackage ../development/ocaml-modules/farfadet { }; 269 270 fieldslib_p4 = callPackage ../development/ocaml-modules/fieldslib { }; 271 272 fileutils = callPackage ../development/ocaml-modules/fileutils { };
··· 267 268 farfadet = callPackage ../development/ocaml-modules/farfadet { }; 269 270 + fiat-p256 = callPackage ../development/ocaml-modules/fiat-p256 { }; 271 + 272 fieldslib_p4 = callPackage ../development/ocaml-modules/fieldslib { }; 273 274 fileutils = callPackage ../development/ocaml-modules/fileutils { };