From 1e8ca69151d384b17c3e4490ae2dc1e06b50bae3 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Sat, 12 Dec 2020 16:36:41 +0100 Subject: [PATCH] =?UTF-8?q?ocamlPackages.torch:=200.10=20=E2=86=92=200.11?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/ocaml-modules/torch/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/development/ocaml-modules/torch/default.nix b/pkgs/development/ocaml-modules/torch/default.nix index 0e2bdf7311c2..ebb5b9b9c25d 100644 --- a/pkgs/development/ocaml-modules/torch/default.nix +++ b/pkgs/development/ocaml-modules/torch/default.nix @@ -4,6 +4,7 @@ , fetchFromGitHub , cmdliner , ctypes +, dune-configurator , npy , ocaml-compiler-libs , ppx_custom_printf @@ -16,17 +17,21 @@ buildDunePackage rec { pname = "torch"; - version = "0.10"; + version = "0.11"; - minimumOCamlVersion = "4.07"; + useDune2 = true; + + minimumOCamlVersion = "4.08"; src = fetchFromGitHub { owner = "LaurentMazare"; repo = "ocaml-${pname}"; rev = version; - sha256 = "1rqrv6hbical8chk0bl2nf60q6m4b5d1gab9fc5q03vkz2987f9b"; + sha256 = "19zbl9zn6fslrcm6x9cis6nswhwz8mc57nrhkada658n7rcdmskr"; }; + buildInputs = [ dune-configurator ]; + propagatedBuildInputs = [ cmdliner ctypes