Remove ocaml-freestanding and torch packages which have been marked broken since NixOS 24.05 and remain unfixed. - ocaml-freestanding: Not compatible with solo5 >= 0.7 - torch: Not compatible with libtorch >= 2.3.0 Per RFC 180, packages broken for a full release cycle are subject to removal. https://github.com/NixOS/rfcs/pull/180
48 lines
727 B
Nix
48 lines
727 B
Nix
{
|
|
buildDunePackage,
|
|
mirage-crypto,
|
|
dune-configurator,
|
|
pkg-config,
|
|
mirage-crypto-rng,
|
|
alcotest,
|
|
asn1-combinators,
|
|
ohex,
|
|
ounit2,
|
|
ppx_deriving_yojson,
|
|
ppx_deriving,
|
|
yojson,
|
|
}:
|
|
|
|
buildDunePackage {
|
|
pname = "mirage-crypto-ec";
|
|
|
|
inherit (mirage-crypto)
|
|
src
|
|
version
|
|
;
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [
|
|
dune-configurator
|
|
];
|
|
propagatedBuildInputs = [
|
|
mirage-crypto
|
|
mirage-crypto-rng
|
|
];
|
|
|
|
doCheck = true;
|
|
checkInputs = [
|
|
alcotest
|
|
asn1-combinators
|
|
ohex
|
|
ounit2
|
|
ppx_deriving_yojson
|
|
ppx_deriving
|
|
yojson
|
|
];
|
|
|
|
meta = mirage-crypto.meta // {
|
|
description = "Elliptic Curve Cryptography with primitives taken from Fiat";
|
|
};
|
|
}
|