python3Packages.torchcrepe: init at 0.0.23
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
librosa,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
resampy,
|
||||
scipy,
|
||||
setuptools,
|
||||
torch,
|
||||
torchaudio,
|
||||
tqdm,
|
||||
}:
|
||||
|
||||
buildPythonPackage {
|
||||
pname = "torchcrepe";
|
||||
version = "0.0.23";
|
||||
pyproject = true;
|
||||
build-system = [ setuptools ];
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "maxrmorrison";
|
||||
repo = "torchcrepe";
|
||||
# No releases: https://github.com/maxrmorrison/torchcrepe/commit/e2c305878ec7a89aec85a01f8d223a75a36d30b6
|
||||
rev = "e2c305878ec7a89aec85a01f8d223a75a36d30b6";
|
||||
hash = "sha256-fhBU5KFDNDG4g4KNivE/dRpMPyu1QNa9xKN6HIz3tK4=";
|
||||
};
|
||||
|
||||
dependencies = [
|
||||
librosa
|
||||
resampy
|
||||
scipy
|
||||
torch
|
||||
torchaudio
|
||||
tqdm
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "torchcrepe" ];
|
||||
|
||||
meta = {
|
||||
description = "Pytorch implementation of the CREPE pitch tracker";
|
||||
homepage = "https://github.com/maxrmorrison/torchcrepe";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ derdennisop ];
|
||||
};
|
||||
}
|
||||
@@ -15656,6 +15656,8 @@ self: super: with self; {
|
||||
cudaPackages = pkgs.cudaPackages_12;
|
||||
};
|
||||
|
||||
torchcrepe = callPackage ../development/python-modules/torchcrepe { };
|
||||
|
||||
torchdiffeq = callPackage ../development/python-modules/torchdiffeq { };
|
||||
|
||||
torchmetrics = callPackage ../development/python-modules/torchmetrics { };
|
||||
|
||||
Reference in New Issue
Block a user