blob: d44d00629cffcf08bd3a04e78c9f64dedf9d530b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{ 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=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
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;
maintainers = teams.tts.members;
};
}
|