lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ocaml-batteries: update from 2.2.0 to 2.3.1

+12 -7
+12 -7
pkgs/development/ocaml-modules/batteries/default.nix
··· 1 - {stdenv, fetchurl, ocaml, findlib, camomile, ounit}: 1 + { stdenv, fetchzip, ocaml, findlib, qtest }: 2 + 3 + let version = "2.3.1"; in 2 4 3 5 stdenv.mkDerivation { 4 - name = "ocaml-batteries-2.2.0"; 6 + name = "ocaml-batteries-${version}"; 5 7 6 - src = fetchurl { 7 - url = http://forge.ocamlcore.org/frs/download.php/1363/batteries-2.2.tar.gz; 8 - sha256 = "0z4wg357fzz7cnarjsrrdnpmxw8mxcj10fp67dm3bnn0l3zkjwbs"; 8 + src = fetchzip { 9 + url = "https://github.com/ocaml-batteries-team/batteries-included/archive/v${version}.tar.gz"; 10 + sha256 = "1hjbzczchqnnxbn4ck84j5pi6prgfjfjg14kg26fzqz3gql427rl"; 9 11 }; 10 12 11 - buildInputs = [ocaml findlib camomile ounit]; 13 + buildInputs = [ ocaml findlib qtest ]; 12 14 13 15 configurePhase = "true"; # Skip configure 16 + 17 + doCheck = true; 18 + checkTarget = "test test"; 14 19 15 20 createFindlibDestdir = true; 16 21 ··· 22 27 and comprehensive development platform for the OCaml programming 23 28 language. 24 29 ''; 25 - license = stdenv.lib.licenses.lgpl21; 30 + license = stdenv.lib.licenses.lgpl21Plus; 26 31 platforms = ocaml.meta.platforms; 27 32 maintainers = [ 28 33 stdenv.lib.maintainers.z77z