Unverified Commit 8d7d299d authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

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

parents ae3ab7fe 2c658565
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
{ 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;
+0 −2
Original line number Diff line number Diff line
@@ -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 { };