python3Packages.torchaudio: add missing test dependency (#537723)
This commit is contained in:
@@ -71,7 +71,8 @@ buildPythonPackage (finalAttrs: {
|
||||
|
||||
meta = {
|
||||
description = "PyTorch audio library";
|
||||
homepage = "https://pytorch.org/";
|
||||
homepage = "https://pytorch.org/audio";
|
||||
downloadPage = "https://github.com/pytorch/audio";
|
||||
changelog = "https://github.com/pytorch/audio/releases/tag/v${finalAttrs.version}";
|
||||
# Includes CUDA and Intel MKL, but redistributions of the binary are not limited.
|
||||
# https://docs.nvidia.com/cuda/eula/index.html
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
torchcodec,
|
||||
|
||||
# tests
|
||||
expecttest,
|
||||
inflect,
|
||||
parameterized,
|
||||
pytestCheckHook,
|
||||
@@ -104,6 +105,7 @@ buildPythonPackage.override { inherit (torch) stdenv; } (finalAttrs: {
|
||||
pythonImportsCheck = [ "torchaudio" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
expecttest
|
||||
inflect
|
||||
parameterized
|
||||
pytestCheckHook
|
||||
@@ -166,7 +168,8 @@ buildPythonPackage.override { inherit (torch) stdenv; } (finalAttrs: {
|
||||
|
||||
meta = {
|
||||
description = "PyTorch audio library";
|
||||
homepage = "https://pytorch.org/";
|
||||
homepage = "https://pytorch.org/audio";
|
||||
downloadPage = "https://github.com/pytorch/audio";
|
||||
changelog = "https://github.com/pytorch/audio/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.bsd2;
|
||||
platforms =
|
||||
|
||||
@@ -65,7 +65,8 @@ buildPythonPackage {
|
||||
|
||||
meta = {
|
||||
description = "PyTorch vision library";
|
||||
homepage = "https://pytorch.org/";
|
||||
homepage = "https://pytorch.org/vision";
|
||||
downloadPage = "https://github.com/pytorch/vision";
|
||||
changelog = "https://github.com/pytorch/vision/releases/tag/v${version}";
|
||||
# Includes CUDA and Intel MKL, but redistributions of the binary are not limited.
|
||||
# https://docs.nvidia.com/cuda/eula/index.html
|
||||
|
||||
@@ -84,7 +84,8 @@ buildPythonPackage.override { inherit (torch) stdenv; } (finalAttrs: {
|
||||
|
||||
meta = {
|
||||
description = "PyTorch vision library";
|
||||
homepage = "https://pytorch.org/";
|
||||
homepage = "https://pytorch.org/vision";
|
||||
downloadPage = "https://github.com/pytorch/vision";
|
||||
changelog = "https://github.com/pytorch/vision/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.bsd3;
|
||||
platforms = with lib.platforms; linux ++ lib.optionals (!cudaSupport) darwin;
|
||||
|
||||
Reference in New Issue
Block a user