From 80d8655c15055472f0118a877351085cc22c1e92 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Mon, 28 Mar 2022 14:20:07 +0200 Subject: [PATCH] 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) --- .../ocaml-modules/fiat-p256/default.nix | 33 ------------------- pkgs/top-level/ocaml-packages.nix | 2 -- 2 files changed, 35 deletions(-) delete mode 100644 pkgs/development/ocaml-modules/fiat-p256/default.nix diff --git a/pkgs/development/ocaml-modules/fiat-p256/default.nix b/pkgs/development/ocaml-modules/fiat-p256/default.nix deleted file mode 100644 index c979fe682d3e..000000000000 --- a/pkgs/development/ocaml-modules/fiat-p256/default.nix +++ /dev/null @@ -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 ]; - }; -} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 08641cc5caa1..880048ebc58e 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -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 { };