diff --git a/pkgs/development/python-modules/python-overseerr/default.nix b/pkgs/development/python-modules/python-overseerr/default.nix new file mode 100644 index 000000000000..b9f1c7c585ab --- /dev/null +++ b/pkgs/development/python-modules/python-overseerr/default.nix @@ -0,0 +1,58 @@ +{ + lib, + aiohttp, + aioresponses, + buildPythonPackage, + fetchFromGitHub, + mashumaro, + orjson, + poetry-core, + pytest-asyncio, + pytest-cov-stub, + pytestCheckHook, + pythonOlder, + syrupy, + yarl, +}: + +buildPythonPackage rec { + pname = "python-overseerr"; + version = "0.1.0"; + pyproject = true; + + disabled = pythonOlder "3.11"; + + src = fetchFromGitHub { + owner = "joostlek"; + repo = "python-overseerr"; + rev = "ref/tags/v${version}"; + hash = "sha256-jBz2mTJx7nb5+di89i1U2maYvYetDGqHC4Nz29iLGNA="; + }; + + build-system = [ poetry-core ]; + + dependencies = [ + aiohttp + mashumaro + orjson + yarl + ]; + + nativeCheckInputs = [ + aioresponses + pytest-asyncio + pytest-cov-stub + pytestCheckHook + syrupy + ]; + + pythonImportsCheck = [ "python_overseerr" ]; + + meta = { + description = "Client for Overseerr"; + homepage = "https://github.com/joostlek/python-overseerr"; + changelog = "https://github.com/joostlek/python-overseerr/releases/tag/v${version}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index f65417fab994..a21318d030da 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -10734,6 +10734,8 @@ self: super: with self; { python-opensky = callPackage ../development/python-modules/python-opensky { }; + python-overseerr = callPackage ../development/python-modules/python-overseerr { }; + python-owasp-zap-v2-4 = callPackage ../development/python-modules/python-owasp-zap-v2-4 { }; python-poppler = callPackage ../development/python-modules/python-poppler { };