biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / dctorch / default.nix
blob90bfbceae4c2637b8cd28f515475a7b07b618c1a
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   poetry-core,
6   numpy,
7   scipy,
8   torch,
9 }:
11 buildPythonPackage rec {
12   pname = "dctorch";
13   version = "0.1.2";
14   pyproject = true;
16   src = fetchPypi {
17     inherit pname version;
18     hash = "sha256-TmfLAkiofrQNWYBhIlY4zafbZPgFftISCGloO/rlEG4=";
19   };
21   nativeBuildInputs = [ poetry-core ];
23   propagatedBuildInputs = [
24     numpy
25     scipy
26     torch
27   ];
29   pythonImportsCheck = [ "dctorch" ];
31   doCheck = false; # no tests
33   meta = with lib; {
34     description = "Fast discrete cosine transforms for pytorch";
35     homepage = "https://pypi.org/project/dctorch/";
36     license = licenses.mit;
37     maintainers = teams.tts.members;
38   };