3
0
Fork 0
forked from mirrors/nixpkgs

ocamlPackages.ptime: 0.8.5 -> 0.8.6

Co-authored-by: sternenseemann <sternenseemann@systemli.org>
This commit is contained in:
R. Ryantm 2021-12-08 22:00:13 +00:00 committed by Thiago Kenji Okada
parent 918a149888
commit 6dd377e367

View file

@ -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;