Files
nixpkgs/pkgs/development/python-modules/audible/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

55 lines
942 B
Nix

{
lib,
fetchFromGitHub,
buildPythonPackage,
# build-system
poetry-core,
# dependencies
beautifulsoup4,
httpx,
pbkdf2,
pillow,
pyaes,
rsa,
# test dependencies
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "audible";
version = "0.10.0";
pyproject = true;
src = fetchFromGitHub {
owner = "mkb79";
repo = "Audible";
tag = "v${version}";
hash = "sha256-ILGhjuPIxpRxu/dVDmz531FUgMWosk4P+onPJltuPIs=";
};
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [
pillow
beautifulsoup4
httpx
pbkdf2
pyaes
rsa
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "audible" ];
meta = {
description = "A(Sync) Interface for internal Audible API written in pure Python";
license = lib.licenses.agpl3Only;
homepage = "https://github.com/mkb79/Audible";
maintainers = with lib.maintainers; [ jvanbruegge ];
};
}