Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / audible / default.nix
blob63b8e605086e592d047d768e7efd6a7855a8e174
1 { lib
2 , fetchFromGitHub
3 , buildPythonPackage
5   # build-system
6 , poetry-core
8   # dependencies
9 , beautifulsoup4
10 , httpx
11 , pbkdf2
12 , pillow
13 , pyaes
14 , rsa
16   # test dependencies
17 , pytestCheckHook
20 buildPythonPackage rec {
21   pname = "audible";
22   version = "0.9.1";
23   pyproject = true;
25   src = fetchFromGitHub {
26     owner = "mkb79";
27     repo = "Audible";
28     rev = "refs/tags/v${version}";
29     hash = "sha256-qLU8FjJBPKFgjpumPqRiiMBwZi+zW46iEmWM8UerMgs=";
30   };
32   nativeBuildInputs = [
33     poetry-core
34   ];
36   propagatedBuildInputs = [
37     pillow
38     beautifulsoup4
39     httpx
40     pbkdf2
41     pyaes
42     rsa
43   ];
45   nativeCheckInputs = [
46     pytestCheckHook
47   ];
49   pythonImportsCheck = [ "audible" ];
51   meta = with lib; {
52     description = "A(Sync) Interface for internal Audible API written in pure Python";
53     license = licenses.agpl3Only;
54     homepage = "https://github.com/mkb79/Audible";
55     maintainers = with maintainers; [ jvanbruegge ];
56   };