ocamlPackages.fiat-p256: remove at 0.2.1

Upstream has deprecated the package and we no longer depend on it for
anything:

> Archived, now integrated into mirage-crypto-ec (please use that and report issues there)
This commit is contained in:
sternenseemann 2022-03-28 14:20:07 +02:00 committed by Vincent Laporte
parent f9d7452d46
commit 80d8655c15
2 changed files with 0 additions and 35 deletions

View File

@ -1,33 +0,0 @@
{ lib, buildDunePackage, fetchurl, alcotest, asn1-combinators, benchmark
, bigarray-compat, cstruct, eqaf, hex, ppx_deriving_yojson, rresult
, stdlib-shims, yojson, dune-configurator }:
buildDunePackage rec {
pname = "fiat-p256";
version = "0.2.1";
useDune2 = true;
src = fetchurl {
url = "https://github.com/mirage/fiat/releases/download/v${version}/${pname}-v${version}.tbz";
sha256 = "0086h9qkvnqfm8acrxqbki54z619nj73x7f0d01v5vg2naznx7w9";
};
# Make tests compatible with alcotest 1.4.0
postPatch = ''
substituteInPlace test/wycheproof/test.ml --replace \
'Printf.ksprintf Alcotest.fail' 'Printf.ksprintf (fun s -> Alcotest.fail s)'
'';
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ bigarray-compat cstruct eqaf hex ];
checkInputs = [ alcotest asn1-combinators benchmark
ppx_deriving_yojson rresult stdlib-shims yojson ];
doCheck = true;
meta = with lib; {
description = "Primitives for Elliptic Curve Cryptography taken from Fiat";
homepage = "https://github.com/mirage/fiat";
license = licenses.mit;
maintainers = with maintainers; [ sternenseemann ];
};
}

View File

@ -413,8 +413,6 @@ let
inherit (pkgs) ffmpeg;
};
fiat-p256 = callPackage ../development/ocaml-modules/fiat-p256 { };
fileutils = callPackage ../development/ocaml-modules/fileutils { };
findlib = callPackage ../development/tools/ocaml/findlib { };