pythonPackages.audible: init at 0.8.1
This commit is contained in:
parent
a2dcd454c3
commit
41ce59ddb9
2 changed files with 31 additions and 0 deletions
29
pkgs/development/python-modules/audible/default.nix
Normal file
29
pkgs/development/python-modules/audible/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ lib, fetchFromGitHub, buildPythonPackage, beautifulsoup4, httpx, pbkdf2, pillow, pyaes, rsa }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "audible";
|
||||
version = "0.8.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mkb79";
|
||||
repo = "Audible";
|
||||
rev = "v${version}";
|
||||
sha256 = "0fsb5av4s7fvpn0iryl8jj3lwffwlxgbwj46l3fidy0l58nq3b1d";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ beautifulsoup4 httpx pbkdf2 pillow pyaes rsa ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace 'httpx>=0.20.*,<=0.22.*' 'httpx'
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "audible"];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A(Sync) Interface for internal Audible API written in pure Python";
|
||||
license = licenses.agpl3;
|
||||
homepage = "https://github.com/mkb79/Audible";
|
||||
maintainers = with maintainers; [ jvanbruegge ];
|
||||
};
|
||||
}
|
|
@ -755,6 +755,8 @@ in {
|
|||
|
||||
aubio = callPackage ../development/python-modules/aubio { };
|
||||
|
||||
audible = callPackage ../development/python-modules/audible { };
|
||||
|
||||
audio-metadata = callPackage ../development/python-modules/audio-metadata { };
|
||||
|
||||
audioread = callPackage ../development/python-modules/audioread { };
|
||||
|
|
Loading…
Reference in a new issue