mirror of
https://github.com/sstent/vmimages.git
synced 2025-12-06 06:01:51 +00:00
38 lines
850 B
Nix
38 lines
850 B
Nix
{
|
|
python3Packages,
|
|
fetchurl,
|
|
lib,
|
|
pkgs,
|
|
}:
|
|
|
|
python3Packages.buildPythonPackage rec {
|
|
pname = "beets-bpmanalyser";
|
|
version = "1.5.9";
|
|
|
|
# Source can be downloaded directly from PyPI or a specific URL
|
|
src = pkgs.fetchPypi {
|
|
# inherit pname version;
|
|
inherit version;
|
|
pname = "beets_bpmanalyser";
|
|
sha256 = "sha256-iWXSELGRHI4ak1MTWCSdRiyPz618fyBSzKw/FeJigZ4="; # Replace with actual hash
|
|
};
|
|
|
|
propagatedBuildInputs = with pkgs.python3Packages; [
|
|
numpy
|
|
aubio
|
|
pydub
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
pkgs.ffmpeg
|
|
];
|
|
# There's no test
|
|
doCheck = false;
|
|
meta = with pkgs.lib; {
|
|
description = "A BPM analyzer plugin for Beets music library manager";
|
|
homepage = "https://github.com/sampsyo/beets";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ yourGitHubHandle ];
|
|
};
|
|
}
|