From 0b8181e2640ddb98ac1c4e76cd5e8e68dde4dd79 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Fri, 14 Oct 2022 09:04:51 +0200 Subject: [PATCH] =?UTF-8?q?ocamlPackages.torch:=200.14=20=E2=86=92=200.15?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/ocaml-modules/torch/default.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/development/ocaml-modules/torch/default.nix b/pkgs/development/ocaml-modules/torch/default.nix index fd7036ac6c89..dddbf8a790d5 100644 --- a/pkgs/development/ocaml-modules/torch/default.nix +++ b/pkgs/development/ocaml-modules/torch/default.nix @@ -17,9 +17,7 @@ buildDunePackage rec { pname = "torch"; - version = "0.14"; - - useDune2 = true; + version = "0.15"; minimalOCamlVersion = "4.08"; @@ -27,7 +25,7 @@ buildDunePackage rec { owner = "LaurentMazare"; repo = "ocaml-${pname}"; rev = version; - sha256 = "sha256:039anfvzsalbqi5cdp95bbixcwr2ngharihgd149hcr0wa47y700"; + sha256 = "sha256-EXJqlAGa0LwQKY8IlmcoJs0l2eRTiUhuzMHfakrslXU="; }; buildInputs = [ dune-configurator ]; @@ -56,6 +54,5 @@ buildDunePackage rec { description = "Ocaml bindings to Pytorch"; maintainers = [ maintainers.bcdarwin ]; license = licenses.asl20; - broken = lib.versionAtLeast torch.version "1.11"; }; }