Something went wrong. Try again.
lol
Something went wrong. Try again.
975 B · 49 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ lib, aiohttp, aioresponses, buildPythonPackage, fetchFromGitHub, hatchling, pyjwt, pytest-aiohttp, pytest-asyncio, pytestCheckHook,}:
buildPythonPackage (finalAttrs: { pname = "aioghost"; version = "0.4.11"; pyproject = true;
src = fetchFromGitHub { owner = "TryGhost"; repo = "aioghost"; tag = "v${finalAttrs.version}"; hash = "sha256-RRfPM86ulC+9VhW6trQoGhOKwhP45jn5a6PSw8PkEA4="; };
build-system = [ hatchling ];
dependencies = [ aiohttp pyjwt ];
nativeCheckInputs = [ aioresponses pytest-aiohttp pytest-asyncio pytestCheckHook ];
pythonImportsCheck = [ "aioghost" ];
meta = { description = "Async Python client for the Ghost Admin API"; homepage = "https://github.com/TryGhost/aioghost"; changelog = "https://github.com/TryGhost/aioghost/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = [ lib.maintainers.jamiemagee ]; };})