1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 wheel,
7 torch,
8}:
9
10buildPythonPackage rec {
11 pname = "julius";
12 version = "0.2.7";
13 pyproject = true;
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-PA9fUwbX1gFvzJUZaydMrm8H4slZbu0xTk52QVVPuwg=";
18 };
19
20 propagatedBuildInputs = [ torch ];
21
22 nativeBuildInputs = [
23 setuptools
24 wheel
25 ];
26
27 pythonImportsCheck = [ "julius" ];
28
29 meta = with lib; {
30 description = "Nice DSP sweets: resampling, FFT Convolutions. All with PyTorch, differentiable and with CUDA support";
31 homepage = "https://pypi.org/project/julius/";
32 license = licenses.mit;
33 maintainers = with maintainers; [ matthewcroughan ];
34 };
35}