ocamlPackages.torch: 0.8 → 0.9b

This commit is contained in:
Vincent Laporte 2020-06-24 09:52:44 +02:00 committed by Vincent Laporte
parent 9842aa383e
commit 10496b449b

View File

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