Something went wrong. Try again.
lol
Something went wrong. Try again.
689 B · 41 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142{ 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 = { description = "Fast discrete cosine transforms for pytorch"; homepage = "https://pypi.org/project/dctorch/"; license = lib.licenses.mit; teams = [ lib.teams.tts ]; };}