Fernando Rodrigues 05580f4b44
treewide: switch instances of lib.teams.*.members to the new meta.teams attribute
Follow-up to #394797.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2025-04-25 22:20:17 -03:00

42 lines
691 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
poetry-core,
numpy,
scipy,
torch,
}:
buildPythonPackage rec {
pname = "dctorch";
version = "0.1.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-TmfLAkiofrQNWYBhIlY4zafbZPgFftISCGloO/rlEG4=";
};
pythonRelaxDeps = [ "numpy" ];
build-system = [ poetry-core ];
dependencies = [
numpy
scipy
torch
];
pythonImportsCheck = [ "dctorch" ];
doCheck = false; # no tests
meta = with lib; {
description = "Fast discrete cosine transforms for pytorch";
homepage = "https://pypi.org/project/dctorch/";
license = licenses.mit;
teams = [ teams.tts ];
};
}