depot/third_party/nixpkgs/pkgs/development/ocaml-modules/mirage-crypto/default.nix
Default email 2ce89355c3 Project import generated by Copybara.
GitOrigin-RevId: 22a81aa5fc15b2d41b12f7160a71cd4a9f3c3fa1
2020-06-15 17:56:04 +02:00

28 lines
799 B
Nix

{ lib, fetchurl, buildDunePackage, ounit, cstruct, dune-configurator, pkg-config }:
buildDunePackage rec {
minimumOCamlVersion = "4.08";
pname = "mirage-crypto";
version = "0.8.0";
src = fetchurl {
url = "https://github.com/mirage/mirage-crypto/releases/download/v${version}/mirage-crypto-v${version}.tbz";
sha256 = "1wb2923v17z179v866ragil0r601w5b3kvpnbkmkwlijp4i5grih";
};
useDune2 = true;
doCheck = true;
checkInputs = [ ounit ];
nativeBuildInputs = [ dune-configurator pkg-config ];
propagatedBuildInputs = [ cstruct ];
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 ];
};
}