python3Packages.asteroid-filterbanks: init at 0.4.0

This commit is contained in:
matthewcroughan 2024-02-09 21:39:54 +00:00 committed by Emery Hemingway
parent 4b117dbb07
commit dc4fb5062a
2 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,54 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, wheel
, black
, codecov
, coverage
, librosa
, numpy
, pre-commit
, pytest
, scipy
, torch
}:
buildPythonPackage rec {
pname = "asteroid-filterbanks";
version = "0.4.0";
pyproject = true;
src = fetchFromGitHub {
owner = "asteroid-team";
repo = "asteroid-filterbanks";
rev = "v${version}";
hash = "sha256-Z5M2Xgj83lzqov9kCw/rkjJ5KXbjuP+FHYCjhi5nYFE=";
};
nativeBuildInputs = [
setuptools
wheel
];
propagatedBuildInputs = [
black
codecov
coverage
librosa
numpy
pre-commit
pytest
scipy
torch
];
pythonImportsCheck = [ "asteroid_filterbanks" ];
meta = with lib; {
description = "The PyTorch-based audio source separation toolkit for researchers";
homepage = "https://github.com/asteroid-team/asteroid-filterbanks";
license = licenses.mit;
maintainers = with maintainers; [ matthewcroughan ];
};
}

View File

@ -803,6 +803,8 @@ self: super: with self; {
asterisk-mbox = callPackage ../development/python-modules/asterisk-mbox { };
asteroid-filterbanks = callPackage ../development/python-modules/asteroid-filterbanks { };
asteval = callPackage ../development/python-modules/asteval { };
astor = callPackage ../development/python-modules/astor { };