diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2019-08-21 19:53:02 +0000 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2019-08-29 05:42:43 +0000 |
commit | 3f632253094adbf884e7e33a82f7289555bcb734 (patch) | |
tree | 3e3b4470e773afba3d0978853ce4c2c41b5da1a4 /pkgs/development | |
parent | 2cb1eda297712312a7f7529809dfb078548c2315 (diff) | |
download | nixpkgs-3f632253094adbf884e7e33a82f7289555bcb734.tar nixpkgs-3f632253094adbf884e7e33a82f7289555bcb734.tar.gz nixpkgs-3f632253094adbf884e7e33a82f7289555bcb734.tar.bz2 nixpkgs-3f632253094adbf884e7e33a82f7289555bcb734.tar.lz nixpkgs-3f632253094adbf884e7e33a82f7289555bcb734.tar.xz nixpkgs-3f632253094adbf884e7e33a82f7289555bcb734.tar.zst nixpkgs-3f632253094adbf884e7e33a82f7289555bcb734.zip |
ocamlPackages.batteries: 2.9.0 -> 2.10.0
Ensures compatibility with OCaml 4.08.
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/ocaml-modules/batteries/default.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/development/ocaml-modules/batteries/default.nix b/pkgs/development/ocaml-modules/batteries/default.nix index 473c30b4345..3b511c7f1cc 100644 --- a/pkgs/development/ocaml-modules/batteries/default.nix +++ b/pkgs/development/ocaml-modules/batteries/default.nix @@ -1,19 +1,19 @@ -{ stdenv, fetchzip, ocaml, findlib, ocamlbuild, qtest, num }: +{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, qtest, num }: -let version = "2.9.0"; in +let version = "2.10.0"; in stdenv.mkDerivation { name = "ocaml${ocaml.version}-batteries-${version}"; - src = fetchzip { - url = "https://github.com/ocaml-batteries-team/batteries-included/archive/v${version}.tar.gz"; - sha256 = "1wianim29kkkf4c31k7injjp3ji69ki5krrp6csq8ycswg791dby"; + src = fetchurl { + url = "https://github.com/ocaml-batteries-team/batteries-included/releases/download/v${version}/batteries-${version}.tar.gz"; + sha256 = "08ghw87d56h1a6y1nnh3x2wy9xj25jqfk5sp6ma9nsyd37babb0h"; }; buildInputs = [ ocaml findlib ocamlbuild qtest ]; propagatedBuildInputs = [ num ]; - doCheck = !stdenv.lib.versionAtLeast ocaml.version "4.07" && !stdenv.isAarch64; + doCheck = stdenv.lib.versions.majorMinor ocaml.version != "4.07" && !stdenv.isAarch64; checkTarget = "test test"; createFindlibDestdir = true; |