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 , pillow
, pytest , pytest
, scipy , scipy
, symlinkJoin
, torch , torch
, which , which
}: }:
let let
inherit (torch) cudaCapabilities cudaPackages cudaSupport; inherit (torch) cudaCapabilities cudaPackages cudaSupport;
inherit (cudaPackages) backendStdenv cudaVersion; inherit (cudaPackages) backendStdenv;
pname = "torchvision"; pname = "torchvision";
version = "0.16.2"; version = "0.16.2";
format = "setuptools";
in in
buildPythonPackage { buildPythonPackage {
inherit pname version; inherit pname version;