python3Packages.audible: 0.8.2 -> 0.9.1

This commit is contained in:
Martin Weinelt 2023-12-02 23:59:48 +01:00
parent 61850e6ea6
commit 4e1e2fc8a4
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -1,18 +1,43 @@
{ lib, fetchFromGitHub, buildPythonPackage, beautifulsoup4, httpx, pbkdf2, pillow, pyaes, rsa }:
{ lib
, fetchFromGitHub
, buildPythonPackage
# build-system
, setuptools
# dependencies
, beautifulsoup4
, httpx
, pbkdf2
, pillow
, pyaes
, rsa
}:
buildPythonPackage rec {
pname = "audible";
version = "0.8.2";
format = "setuptools";
version = "0.9.1";
pyproject = true;
src = fetchFromGitHub {
owner = "mkb79";
repo = "Audible";
rev = "refs/tags/v${version}";
hash = "sha256-SIEDBuMCC/Hap2mGVbKEFic96ClN369SEsV06Sg+poY=";
hash = "sha256-qLU8FjJBPKFgjpumPqRiiMBwZi+zW46iEmWM8UerMgs=";
};
propagatedBuildInputs = [ beautifulsoup4 httpx pbkdf2 pillow pyaes rsa ];
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
beautifulsoup4
httpx
pbkdf2
pillow
pyaes
rsa
];
postPatch = ''
sed -i "s/httpx.*/httpx',/" setup.py