2020-11-06 00:33:48 +00:00
|
|
|
{ lib, buildDunePackage, fetchurl, zlib, dune-configurator, zarith, ncurses }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-11-06 00:33:48 +00:00
|
|
|
buildDunePackage {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "cryptokit";
|
2020-11-06 00:33:48 +00:00
|
|
|
version = "1.16.1";
|
|
|
|
|
|
|
|
useDune2 = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-11-06 00:33:48 +00:00
|
|
|
url = "https://github.com/xavierleroy/cryptokit/archive/release1161.tar.gz";
|
|
|
|
sha256 = "0kzqkk451m69nqi5qiwak0rd0rp5vzi613gcngsiig7dyxwka61c";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-11-06 00:33:48 +00:00
|
|
|
dontConfigure = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-11-06 00:33:48 +00:00
|
|
|
buildInputs = [ dune-configurator ncurses ];
|
|
|
|
propagatedBuildInputs = [ zarith zlib ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-11-06 00:33:48 +00:00
|
|
|
doCheck = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://pauillac.inria.fr/~xleroy/software.html";
|
|
|
|
description = "A library of cryptographic primitives for OCaml";
|
2020-11-06 00:33:48 +00:00
|
|
|
license = lib.licenses.lgpl2Only;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = [
|
2020-11-06 00:33:48 +00:00
|
|
|
lib.maintainers.maggesi
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|