{ beets, fetchFromGitHub, lib, nix-update-script, python3Packages, }: python3Packages.buildPythonApplication rec { pname = "beets-audible"; version = "1.0.2"; pyproject = true; src = fetchFromGitHub { owner = "Neurrone"; repo = "beets-audible"; rev = "v${version}"; hash = "sha256-6rf8U63SW+gwfT7ZdN/ymYKHRs0HSMDTP2ZBfULLsJs="; }; nativeBuildInputs = [ beets ]; pythonRelaxDeps = true; build-system = with python3Packages; [ hatchling ]; dependencies = with python3Packages; [ 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 ]; }; }