From 6dd377e367e011f365e558b0039a8bf67d250961 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 8 Dec 2021 22:00:13 +0000 Subject: [PATCH] ocamlPackages.ptime: 0.8.5 -> 0.8.6 Co-authored-by: sternenseemann --- pkgs/development/ocaml-modules/ptime/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/ocaml-modules/ptime/default.nix b/pkgs/development/ocaml-modules/ptime/default.nix index ac30876520a6..169cf4ce16f5 100644 --- a/pkgs/development/ocaml-modules/ptime/default.nix +++ b/pkgs/development/ocaml-modules/ptime/default.nix @@ -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;