0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

python3Packages.pytorch-bin: enable on darwin (cpu build)

This commit is contained in:
Pavol Rusnak 2022-01-14 19:23:26 +01:00
parent b9aa18f464
commit ffde221dcb
No known key found for this signature in database
GPG key ID: 91F3B339B9A02A3D
2 changed files with 28 additions and 1 deletions

View file

@ -11,6 +11,7 @@
, patchelf
, pyyaml
, requests
, setuptools
, typing-extensions
}:
@ -41,6 +42,7 @@ in buildPythonPackage {
numpy
pyyaml
requests
setuptools
typing-extensions
];
@ -72,7 +74,7 @@ in buildPythonPackage {
# https://docs.nvidia.com/cuda/eula/index.html
# https://www.intel.com/content/www/us/en/developer/articles/license/onemkl-license-faq.html
license = licenses.bsd3;
platforms = platforms.linux;
platforms = platforms.linux ++ platforms.darwin;
maintainers = with maintainers; [ junjihashimoto ];
};
}