2022-05-03 17:10:37 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitHub, zlib, dune-configurator, zarith }:
|
* Add ocaml packages findlib, camlzip, ocaml-ssl, ocaml-batteries, menhir, camomile, ocaml-lwt, cryptokit, ocaml-cryptgps, ounit, ocaml-react
svn path=/nixpkgs/trunk/; revision=25041
2010-12-09 15:40:04 +00:00
|
|
|
|
2021-10-30 20:52:02 +00:00
|
|
|
buildDunePackage rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "cryptokit";
|
2023-01-05 08:47:43 +00:00
|
|
|
version = "1.18";
|
|
|
|
duneVersion = "3";
|
2020-11-01 17:40:25 +00:00
|
|
|
|
2022-05-03 17:10:37 +00:00
|
|
|
minimalOCamlVersion = "4.08";
|
* Add ocaml packages findlib, camlzip, ocaml-ssl, ocaml-batteries, menhir, camomile, ocaml-lwt, cryptokit, ocaml-cryptgps, ounit, ocaml-react
svn path=/nixpkgs/trunk/; revision=25041
2010-12-09 15:40:04 +00:00
|
|
|
|
2021-10-30 20:52:02 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "xavierleroy";
|
|
|
|
repo = "cryptokit";
|
|
|
|
rev = "release${lib.replaceStrings ["."] [""] version}";
|
2023-01-05 08:47:43 +00:00
|
|
|
hash = "sha256-8ae8hroCSkp4O5vM/qVOhAnnJJ+uygMYm3ix5ytwtHU=";
|
* Add ocaml packages findlib, camlzip, ocaml-ssl, ocaml-batteries, menhir, camomile, ocaml-lwt, cryptokit, ocaml-cryptgps, ounit, ocaml-react
svn path=/nixpkgs/trunk/; revision=25041
2010-12-09 15:40:04 +00:00
|
|
|
};
|
|
|
|
|
2021-09-06 01:43:49 +00:00
|
|
|
# dont do autotools configuration, but do trigger findlib's preConfigure hook
|
|
|
|
configurePhase = ''
|
|
|
|
runHook preConfigure
|
|
|
|
runHook postConfigure
|
|
|
|
'';
|
* Add ocaml packages findlib, camlzip, ocaml-ssl, ocaml-batteries, menhir, camomile, ocaml-lwt, cryptokit, ocaml-cryptgps, ounit, ocaml-react
svn path=/nixpkgs/trunk/; revision=25041
2010-12-09 15:40:04 +00:00
|
|
|
|
2022-05-03 17:10:37 +00:00
|
|
|
buildInputs = [ dune-configurator ];
|
2020-11-01 17:40:25 +00:00
|
|
|
propagatedBuildInputs = [ zarith zlib ];
|
* Add ocaml packages findlib, camlzip, ocaml-ssl, ocaml-batteries, menhir, camomile, ocaml-lwt, cryptokit, ocaml-cryptgps, ounit, ocaml-react
svn path=/nixpkgs/trunk/; revision=25041
2010-12-09 15:40:04 +00:00
|
|
|
|
2020-11-01 17:40:25 +00:00
|
|
|
doCheck = true;
|
* Add ocaml packages findlib, camlzip, ocaml-ssl, ocaml-batteries, menhir, camomile, ocaml-lwt, cryptokit, ocaml-cryptgps, ounit, ocaml-react
svn path=/nixpkgs/trunk/; revision=25041
2010-12-09 15:40:04 +00:00
|
|
|
|
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://pauillac.inria.fr/~xleroy/software.html";
|
* Add ocaml packages findlib, camlzip, ocaml-ssl, ocaml-batteries, menhir, camomile, ocaml-lwt, cryptokit, ocaml-cryptgps, ounit, ocaml-react
svn path=/nixpkgs/trunk/; revision=25041
2010-12-09 15:40:04 +00:00
|
|
|
description = "A library of cryptographic primitives for OCaml";
|
2020-11-01 17:40:25 +00:00
|
|
|
license = lib.licenses.lgpl2Only;
|
* Enable hydra build for ocaml-batteries, camlzip, camomile, ocaml-cryptgps, cryptokit, ocaml-lwt, menhir, ounit, ocaml-pcre, ocaml-react, ocaml-ssl
svn path=/nixpkgs/trunk/; revision=25064
2010-12-11 14:50:45 +00:00
|
|
|
maintainers = [
|
2020-11-01 17:40:25 +00:00
|
|
|
lib.maintainers.maggesi
|
* Enable hydra build for ocaml-batteries, camlzip, camomile, ocaml-cryptgps, cryptokit, ocaml-lwt, menhir, ounit, ocaml-pcre, ocaml-react, ocaml-ssl
svn path=/nixpkgs/trunk/; revision=25064
2010-12-11 14:50:45 +00:00
|
|
|
];
|
* Add ocaml packages findlib, camlzip, ocaml-ssl, ocaml-batteries, menhir, camomile, ocaml-lwt, cryptokit, ocaml-cryptgps, ounit, ocaml-react
svn path=/nixpkgs/trunk/; revision=25041
2010-12-09 15:40:04 +00:00
|
|
|
};
|
|
|
|
}
|