forked from mirrors/nixpkgs
ocamlPackages.torch: 0.10 → 0.11
This commit is contained in:
parent
8e4788b777
commit
1e8ca69151
|
@ -4,6 +4,7 @@
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, cmdliner
|
, cmdliner
|
||||||
, ctypes
|
, ctypes
|
||||||
|
, dune-configurator
|
||||||
, npy
|
, npy
|
||||||
, ocaml-compiler-libs
|
, ocaml-compiler-libs
|
||||||
, ppx_custom_printf
|
, ppx_custom_printf
|
||||||
|
@ -16,17 +17,21 @@
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "torch";
|
pname = "torch";
|
||||||
version = "0.10";
|
version = "0.11";
|
||||||
|
|
||||||
minimumOCamlVersion = "4.07";
|
useDune2 = true;
|
||||||
|
|
||||||
|
minimumOCamlVersion = "4.08";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "LaurentMazare";
|
owner = "LaurentMazare";
|
||||||
repo = "ocaml-${pname}";
|
repo = "ocaml-${pname}";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1rqrv6hbical8chk0bl2nf60q6m4b5d1gab9fc5q03vkz2987f9b";
|
sha256 = "19zbl9zn6fslrcm6x9cis6nswhwz8mc57nrhkada658n7rcdmskr";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
buildInputs = [ dune-configurator ];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
cmdliner
|
cmdliner
|
||||||
ctypes
|
ctypes
|
||||||
|
|
Loading…
Reference in a new issue