From 10496b449b33673c2fbe42a00f6e6f7426192085 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Wed, 24 Jun 2020 09:52:44 +0200 Subject: [PATCH] =?UTF-8?q?ocamlPackages.torch:=200.8=20=E2=86=92=200.9b?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/ocaml-modules/torch/default.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/pkgs/development/ocaml-modules/torch/default.nix b/pkgs/development/ocaml-modules/torch/default.nix index 457259bb1bbd..3ae9b44eba97 100644 --- a/pkgs/development/ocaml-modules/torch/default.nix +++ b/pkgs/development/ocaml-modules/torch/default.nix @@ -1,4 +1,4 @@ -{ stdenv +{ lib , buildDunePackage , fetchFromGitHub , cmdliner @@ -15,17 +15,15 @@ buildDunePackage rec { pname = "torch"; - version = "0.8"; - - owner = "LaurentMazare"; + version = "0.9b"; minimumOCamlVersion = "4.07"; src = fetchFromGitHub { - inherit owner; + owner = "LaurentMazare"; repo = "ocaml-${pname}"; rev = version; - sha256 = "19w31paj24pns2ahk9j9rgpkb5hpcd41kfaarxrlddww5dl6pxvi"; + sha256 = "1xn8zfs3viz80agckcpl9a4vjbq6j5g280i95jyy5s0zbcnajpnm"; }; propagatedBuildInputs = [ @@ -47,7 +45,7 @@ buildDunePackage rec { doCheck = true; checkPhase = "dune runtest"; - meta = with stdenv.lib; { + meta = with lib; { inherit (src.meta) homepage; description = "Ocaml bindings to Pytorch"; maintainers = [ maintainers.bcdarwin ];