2024-07-16 01:40:28 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchFromGitHub,
|
|
|
|
buildDunePackage,
|
|
|
|
ocaml,
|
|
|
|
qtest,
|
|
|
|
qcheck,
|
|
|
|
num,
|
|
|
|
camlp-streams,
|
2023-09-18 06:21:11 +00:00
|
|
|
doCheck ? lib.versionAtLeast ocaml.version "4.08",
|
2021-09-20 16:14:27 +00:00
|
|
|
}:
|
2015-03-21 08:56:28 +00:00
|
|
|
|
2023-09-18 06:21:07 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "batteries";
|
2024-02-28 01:47:52 +00:00
|
|
|
version = "3.8.0";
|
2023-12-08 20:18:00 +00:00
|
|
|
|
|
|
|
minimalOCamlVersion = "4.05";
|
* 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-12-16 09:37:15 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ocaml-batteries-team";
|
|
|
|
repo = "batteries-included";
|
|
|
|
rev = "v${version}";
|
2024-02-28 01:47:52 +00:00
|
|
|
hash = "sha256-Ixqfo2F4VftrIVF8oBOx/rSiJZppiwXOjVQ3Tcelxac=";
|
* 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-12-18 12:00:00 +00:00
|
|
|
nativeCheckInputs = [ qtest ];
|
|
|
|
checkInputs = [ qcheck ];
|
2022-12-14 05:58:28 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
camlp-streams
|
|
|
|
num
|
|
|
|
];
|
* 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-20 16:14:27 +00:00
|
|
|
inherit doCheck;
|
2020-09-06 05:48:27 +00:00
|
|
|
checkTarget = "test";
|
2015-03-21 08:56:28 +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
|
|
|
meta = {
|
2022-12-14 05:58:28 +00:00
|
|
|
homepage = "https://ocaml-batteries-team.github.io/batteries-included/hdoc2/";
|
* 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 = "OCaml Batteries Included";
|
|
|
|
longDescription = ''
|
|
|
|
A community-driven effort to standardize on an consistent, documented,
|
|
|
|
and comprehensive development platform for the OCaml programming
|
|
|
|
language.
|
|
|
|
'';
|
2021-01-11 12:49:15 +00:00
|
|
|
license = lib.licenses.lgpl21Plus;
|
* 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 = [
|
2021-01-11 12:49:15 +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
|
|
|
};
|
|
|
|
}
|