Merge pull request #168028 from thiagokokada/auto-update/ocaml4.12.0-ptime

ocamlPackages.ptime: 0.8.5 -> 0.8.6
This commit is contained in:
Thiago Kenji Okada
2022-04-09 21:42:18 +01:00
committed by GitHub
@@ -1,14 +1,16 @@
{ stdenv, lib, fetchurl, ocaml, findlib, ocamlbuild, topkg, result, js_of_ocaml
{ stdenv, lib, fetchurl, ocaml, findlib, ocamlbuild, topkg, js_of_ocaml
, jsooSupport ? true
}:
stdenv.mkDerivation rec {
version = "0.8.5";
version = "0.8.6";
pname = "ocaml${ocaml.version}-ptime";
minimalOCamlVersion = "4.03";
src = fetchurl {
url = "https://erratique.ch/software/ptime/releases/ptime-${version}.tbz";
sha256 = "1fxq57xy1ajzfdnvv5zfm7ap2nf49znw5f9gbi4kb9vds942ij27";
sha256 = "sha256-gy/fUsfUHUZx1A/2sQMQIFMHl1V+QO3zHAsEnZT/lkI=";
};
nativeBuildInputs = [ ocaml findlib ocamlbuild topkg ];
@@ -16,8 +18,6 @@ stdenv.mkDerivation rec {
strictDeps = true;
propagatedBuildInputs = [ result ];
buildPhase = "${topkg.run} build --with-js_of_ocaml ${lib.boolToString jsooSupport}";
inherit (topkg) installPhase;