audible-cli: 0.2.6 -> 0.3.1

Also adds an update script for the future
This commit is contained in:
Jan van Brügge 2024-03-19 22:21:59 +00:00
parent 66e2e75c67
commit 2c6585657c
No known key found for this signature in database
GPG key ID: 88E0BF7B7A546481
2 changed files with 5 additions and 6 deletions

View file

@ -1,15 +1,15 @@
{ lib, python3Packages, fetchFromGitHub, installShellFiles }:
{ lib, python3Packages, fetchFromGitHub, installShellFiles, nix-update-script }:
python3Packages.buildPythonApplication rec {
pname = "audible-cli";
version = "0.2.6";
version = "0.3.1";
pyproject = true;
src = fetchFromGitHub {
owner = "mkb79";
repo = "audible-cli";
rev = "refs/tags/v${version}";
hash = "sha256-J81RcehFokOpsQBJLvmeihSrlMyX0geHPl3PPxvGjmY=";
hash = "sha256-AYL7lcYYY7gK12Id94aHRWRlCiznnF4r+lpI5VFpAWY=";
};
nativeBuildInputs = with python3Packages; [
@ -35,7 +35,6 @@ python3Packages.buildPythonApplication rec {
pythonRelaxDeps = [
"httpx"
"audible"
];
postInstall = ''
@ -53,6 +52,8 @@ python3Packages.buildPythonApplication rec {
"audible_cli"
];
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "A command line interface for audible package. With the cli you can download your Audible books, cover, chapter files";
license = licenses.agpl3Only;

View file

@ -1711,8 +1711,6 @@ with pkgs;
arubaotp-seed-extractor = callPackage ../tools/security/arubaotp-seed-extractor { };
audible-cli = callPackage ../tools/misc/audible-cli { };
auditwheel = with python3Packages; toPythonApplication auditwheel;
amidst = callPackage ../tools/games/minecraft/amidst { };