python312Packages.fnllm: 0.0.11 -> 0.0.12 (#364582)
[NixPkgs.git] / pkgs / development / python-modules / audible / default.nix
blob87a809bfe1ed2fb1ed7d766786d7dc4c11d3887a
2   lib,
3   fetchFromGitHub,
4   buildPythonPackage,
6   # build-system
7   poetry-core,
9   # dependencies
10   beautifulsoup4,
11   httpx,
12   pbkdf2,
13   pillow,
14   pyaes,
15   rsa,
17   # test dependencies
18   pytestCheckHook,
21 buildPythonPackage rec {
22   pname = "audible";
23   version = "0.10.0";
24   pyproject = true;
26   src = fetchFromGitHub {
27     owner = "mkb79";
28     repo = "Audible";
29     rev = "refs/tags/v${version}";
30     hash = "sha256-ILGhjuPIxpRxu/dVDmz531FUgMWosk4P+onPJltuPIs=";
31   };
33   nativeBuildInputs = [ poetry-core ];
35   propagatedBuildInputs = [
36     pillow
37     beautifulsoup4
38     httpx
39     pbkdf2
40     pyaes
41     rsa
42   ];
44   nativeCheckInputs = [ pytestCheckHook ];
46   pythonImportsCheck = [ "audible" ];
48   meta = with lib; {
49     description = "A(Sync) Interface for internal Audible API written in pure Python";
50     license = licenses.agpl3Only;
51     homepage = "https://github.com/mkb79/Audible";
52     maintainers = with maintainers; [ jvanbruegge ];
53   };