mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 05:50:00 +00:00
python3Packages.torchinfo: migrate to pyproject
As part of https://github.com/NixOS/nixpkgs/issues/515974
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
setuptools,
|
||||
torch,
|
||||
torchvision,
|
||||
pytestCheckHook,
|
||||
@@ -12,7 +13,7 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "torchinfo";
|
||||
version = "1.8.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "TylerYep";
|
||||
@@ -30,7 +31,9 @@ buildPythonPackage rec {
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
torch
|
||||
torchvision
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user