mirror of
https://github.com/sstent/vmimages.git
synced 2025-12-06 06:01:51 +00:00
50 lines
1.1 KiB
Nix
50 lines
1.1 KiB
Nix
{
|
|
python3Packages,
|
|
fetchFromGitHub,
|
|
beets,
|
|
lib,
|
|
}:
|
|
with python3Packages;
|
|
buildPythonPackage rec {
|
|
pname = "beets-bpmanalyser";
|
|
version = "1.5.9_stu1";
|
|
format = "setuptools";
|
|
|
|
# src = fetchFromGitHub {
|
|
# owner = "adamjakab";
|
|
# repo = "BeetsPluginBpmAnalyser";
|
|
# rev = "81762548b645c3532a1bb45db3187e73d62ca8ed";
|
|
# hash = "sha256-VQOgS6+G5GCL9dFSze/58OdU7CWT+2BSQFP2N+TlWLc=";
|
|
# };
|
|
src = fetchFromGitHub {
|
|
owner = "sstent";
|
|
repo = "BeetsPluginBpmAnalyser";
|
|
rev = "ccf72b881b409f2931ea76075a28653f6ed45398";
|
|
# hash = "sha256-iWXSELGRHI4ak1MTWCSdRiyPz618fyBSzKw/FeJigZ4=";
|
|
hash = "sha256-oBpIDUhlAe2YgQnruXcy15WBIz3x6NTb1BnUmrNsXYc=";
|
|
};
|
|
|
|
|
|
nativeBuildInputs = [
|
|
beets
|
|
setuptools-scm
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
numpy
|
|
aubio
|
|
pydub
|
|
];
|
|
|
|
# There's no test
|
|
doCheck = false;
|
|
|
|
|
|
pythonImportsCheck = ["beetsplug.bpmanalyser pydub aubio numpy"];
|
|
|
|
meta = {
|
|
description = "Plugin for beets that improves album matching";
|
|
homepage = "https://github.com/x1ppy/beets-originquery";
|
|
};
|
|
}
|