Something went wrong. Try again.
lol
Something went wrong. Try again.
1.0 kB · 52 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, anyio, buildPythonPackage, fetchFromGitHub, httpx, pytest-asyncio, pytest-cov-stub, pytest-vcr, pytestCheckHook, setuptools,}:
buildPythonPackage rec { pname = "notion-client"; version = "2.7.0"; pyproject = true;
src = fetchFromGitHub { owner = "ramnes"; repo = "notion-sdk-py"; tag = version; hash = "sha256-15IPycaLk8r0/bUphL+IDypBMhgdX1tAUS50VD3p/00="; };
build-system = [ setuptools ];
dependencies = [ httpx ];
nativeCheckInputs = [ anyio pytest-asyncio pytest-cov-stub pytest-vcr pytestCheckHook ];
pythonImportsCheck = [ "notion_client" ];
disabledTests = [ # Test requires network access "test_api_http_response_error" ];
meta = { description = "Python client for the official Notion API"; homepage = "https://github.com/ramnes/notion-sdk-py"; changelog = "https://github.com/ramnes/notion-sdk-py/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ jpetrucciani ]; };}