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

authored by Sandro and committed by GitHub 8d7d299d ae3ab7fe

+5 -6
+5 -4
pkgs/tools/misc/audible-cli/default.nix pkgs/by-name/au/audible-cli/package.nix
··· 1 - { lib, python3Packages, fetchFromGitHub, installShellFiles }: 2 3 python3Packages.buildPythonApplication rec { 4 pname = "audible-cli"; 5 - version = "0.2.6"; 6 pyproject = true; 7 8 src = fetchFromGitHub { 9 owner = "mkb79"; 10 repo = "audible-cli"; 11 rev = "refs/tags/v${version}"; 12 - hash = "sha256-J81RcehFokOpsQBJLvmeihSrlMyX0geHPl3PPxvGjmY="; 13 }; 14 15 nativeBuildInputs = with python3Packages; [ ··· 35 36 pythonRelaxDeps = [ 37 "httpx" 38 - "audible" 39 ]; 40 41 postInstall = '' ··· 52 pythonImportsCheck = [ 53 "audible_cli" 54 ]; 55 56 meta = with lib; { 57 description = "A command line interface for audible package. With the cli you can download your Audible books, cover, chapter files";
··· 1 + { lib, python3Packages, fetchFromGitHub, installShellFiles, nix-update-script }: 2 3 python3Packages.buildPythonApplication rec { 4 pname = "audible-cli"; 5 + version = "0.3.1"; 6 pyproject = true; 7 8 src = fetchFromGitHub { 9 owner = "mkb79"; 10 repo = "audible-cli"; 11 rev = "refs/tags/v${version}"; 12 + hash = "sha256-AYL7lcYYY7gK12Id94aHRWRlCiznnF4r+lpI5VFpAWY="; 13 }; 14 15 nativeBuildInputs = with python3Packages; [ ··· 35 36 pythonRelaxDeps = [ 37 "httpx" 38 ]; 39 40 postInstall = '' ··· 51 pythonImportsCheck = [ 52 "audible_cli" 53 ]; 54 + 55 + passthru.updateScript = nix-update-script { }; 56 57 meta = with lib; { 58 description = "A command line interface for audible package. With the cli you can download your Audible books, cover, chapter files";
-2
pkgs/top-level/all-packages.nix
··· 1708 1709 arubaotp-seed-extractor = callPackage ../tools/security/arubaotp-seed-extractor { }; 1710 1711 - audible-cli = callPackage ../tools/misc/audible-cli { }; 1712 - 1713 auditwheel = with python3Packages; toPythonApplication auditwheel; 1714 1715 amidst = callPackage ../tools/games/minecraft/amidst { };
··· 1708 1709 arubaotp-seed-extractor = callPackage ../tools/security/arubaotp-seed-extractor { }; 1710 1711 auditwheel = with python3Packages; toPythonApplication auditwheel; 1712 1713 amidst = callPackage ../tools/games/minecraft/amidst { };