python311Packages.torchvision: remove unused code in derivation

This commit is contained in:
Gaetan Lepage 2023-12-15 09:24:33 +01:00
parent fb35b19424
commit 3620b75b59

View file

@ -8,18 +8,16 @@
, pillow
, pytest
, scipy
, symlinkJoin
, torch
, which
}:
let
inherit (torch) cudaCapabilities cudaPackages cudaSupport;
inherit (cudaPackages) backendStdenv cudaVersion;
inherit (cudaPackages) backendStdenv;
pname = "torchvision";
version = "0.16.2";
format = "setuptools";
in
buildPythonPackage {
inherit pname version;