mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
412450dcd7
New package: ocamlPackages.mirage-crypto-rng-async
29 lines
810 B
Nix
29 lines
810 B
Nix
{ lib, fetchurl, buildDunePackage, ounit, cstruct, dune-configurator, eqaf, pkg-config }:
|
|
|
|
buildDunePackage rec {
|
|
minimumOCamlVersion = "4.08";
|
|
|
|
pname = "mirage-crypto";
|
|
version = "0.8.8";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/mirage-crypto/releases/download/v${version}/mirage-crypto-v${version}.tbz";
|
|
sha256 = "19czylfyakckfzzcbqgv9ygl243wix7ak8zkbdcb9hcl2k2shswb";
|
|
};
|
|
|
|
useDune2 = true;
|
|
|
|
doCheck = true;
|
|
checkInputs = [ ounit ];
|
|
|
|
nativeBuildInputs = [ dune-configurator pkg-config ];
|
|
propagatedBuildInputs = [ cstruct eqaf ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/mirage/mirage-crypto";
|
|
description = "Simple symmetric cryptography for the modern age";
|
|
license = licenses.isc;
|
|
maintainers = with maintainers; [ sternenseemann ];
|
|
};
|
|
}
|