Files
nixpkgs/pkgs/development/python-modules/beets-audible/default.nix
T
2025-10-29 00:33:15 +00:00

61 lines
1.0 KiB
Nix

{
lib,
fetchFromGitHub,
buildPythonPackage,
# build-system
hatchling,
# native
beets,
# 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
];
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 ];
};
}