Files
nixpkgs/pkgs/development/python-modules/beets-audible/default.nix
T
Doron Behar f9bdd4fed4 beets-audible: use beets-minimal
Previously, the attribute set:

python3.pkgs.beets-minimal.passthru.plugins.enabled

filtered out the disabled plugins from:

python3.pkgs.beets.passthru.plugins.all

, and not from:

python3.pkgs.beets-minimal.passthru.plugins.all

. This meant that before the commit titled:

python3.pkgs.beets: use fixed-point arguments

, the derivations `beets` and `beets-minimal` were the same. Now this
change has significance, were as in out of context PR #477088 it didn't.
2026-01-13 14:48:02 +02:00

61 lines
1.0 KiB
Nix

{
lib,
fetchFromGitHub,
buildPythonPackage,
# build-system
hatchling,
# native
beets-minimal,
# dependencies
markdownify,
natsort,
tldextract,
# passthru
nix-update-script,
}:
buildPythonPackage rec {
pname = "beets-audible";
version = "1.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "Neurrone";
repo = "beets-audible";
rev = "v${version}";
hash = "sha256-Hi/hI+zfAHwRLt8JhzL5RXEIHnSBX8oO/zuuq1HxT2s=";
};
build-system = [
hatchling
];
nativeBuildInputs = [
beets-minimal
];
pythonRelaxDeps = true;
dependencies = [
markdownify
natsort
tldextract
];
passthru = {
updateScript = nix-update-script { };
};
meta = {
description = "Beets-audible: Organize Your Audiobook Collection With Beets";
homepage = "https://github.com/Neurrone/beets-audible";
platforms = with lib.platforms; linux ++ darwin ++ windows;
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ jwillikers ];
};
}