Merge pull request #297276 from jvanbruegge/audible-cli-script

This commit is contained in:
Sandro 2024-04-05 12:00:08 +02:00 committed by GitHub
commit 8d7d299d8c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 6 deletions

@ -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;

@ -1708,8 +1708,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 { };