10 buildPythonPackage rec {
11 pname = "torchlibrosa";
13 format = "setuptools";
16 inherit pname version;
17 hash = "sha256-Yqi+7fnJtBQaBiNN8/ECKfe6huZ2eMzuAkiexO8EQCg=";
20 propagatedBuildInputs = [
26 # Project has no tests.
27 # In order to make pythonImportsCheck work, NUMBA_CACHE_DIR env var need to
28 # be set to a writable dir (https://github.com/numba/numba/issues/4032#issuecomment-488102702).
29 # pythonImportsCheck has no pre* hook, use checkPhase to workaround that.
31 export NUMBA_CACHE_DIR="$(mktemp -d)"
33 pythonImportsCheck = [ "torchlibrosa" ];
36 description = "PyTorch implemention of part of librosa functions";
37 homepage = "https://github.com/qiuqiangkong/torchlibrosa";
38 license = licenses.mit;
39 maintainers = with maintainers; [ azuwis ];