This commit is contained in:
2024-09-03 18:33:41 +00:00
parent 479b138055
commit ce8c8c3bc6
7 changed files with 138 additions and 1 deletions

View File

@@ -0,0 +1,39 @@
{
python3Packages,
fetchFromGitHub,
beets,
lib,
}:
with python3Packages;
buildPythonPackage rec {
pname = "beets-bpmanalyser";
version = "1.5.9";
src = fetchFromGitHub {
owner = "sstent";
repo = "BeetsPluginBpmAnalyser";
rev = "2232c69dcc8cf56a00695b7c8a7be76e670d642e";
hash = "sha256-VQOgS6+G5GCL9dFSze/58OdU7CWT+2BSQFP2N+TlWLc=";
};
nativeBuildInputs = [
beets
setuptools-scm
numpy
aubio
pydub
];
propagatedBuildInputs = [pydub aubio];
# There's no test
doCheck = false;
# pythonImportsCheck = ["beetsplug.bpmanalyser" "pydub" "numpy" "aubio"];
meta = {
description = "A BPM analyzer plugin for Beets music library manager";
homepage = "https://github.com/sampsyo/beets";
};
}