mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 16:45:51 +03:00
ocaml-batteries: update from 2.2.0 to 2.3.1
This commit is contained in:
parent
4c8681fea1
commit
0f2509a52d
@ -1,17 +1,22 @@
|
||||
{stdenv, fetchurl, ocaml, findlib, camomile, ounit}:
|
||||
{ stdenv, fetchzip, ocaml, findlib, qtest }:
|
||||
|
||||
let version = "2.3.1"; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml-batteries-2.2.0";
|
||||
name = "ocaml-batteries-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://forge.ocamlcore.org/frs/download.php/1363/batteries-2.2.tar.gz;
|
||||
sha256 = "0z4wg357fzz7cnarjsrrdnpmxw8mxcj10fp67dm3bnn0l3zkjwbs";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/ocaml-batteries-team/batteries-included/archive/v${version}.tar.gz";
|
||||
sha256 = "1hjbzczchqnnxbn4ck84j5pi6prgfjfjg14kg26fzqz3gql427rl";
|
||||
};
|
||||
|
||||
buildInputs = [ocaml findlib camomile ounit];
|
||||
buildInputs = [ ocaml findlib qtest ];
|
||||
|
||||
configurePhase = "true"; # Skip configure
|
||||
|
||||
doCheck = true;
|
||||
checkTarget = "test test";
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
meta = {
|
||||
@ -22,7 +27,7 @@ stdenv.mkDerivation {
|
||||
and comprehensive development platform for the OCaml programming
|
||||
language.
|
||||
'';
|
||||
license = stdenv.lib.licenses.lgpl21;
|
||||
license = stdenv.lib.licenses.lgpl21Plus;
|
||||
platforms = ocaml.meta.platforms;
|
||||
maintainers = [
|
||||
stdenv.lib.maintainers.z77z
|
||||
|
Loading…
Reference in New Issue
Block a user