mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-11 07:43:43 +00:00
Diff: https://github.com/TryGhost/aioghost/compare/v0.4.14...v0.4.16 Changelog: https://github.com/TryGhost/aioghost/releases/tag/v0.4.16
50 lines
975 B
Nix
50 lines
975 B
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
aioresponses,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
hatchling,
|
|
pyjwt,
|
|
pytest-aiohttp,
|
|
pytest-asyncio,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "aioghost";
|
|
version = "0.4.16";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "TryGhost";
|
|
repo = "aioghost";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-ZyRPXtQVOEyKHiX1utIukoayHtCNB/gm8i/gUIEYhtg=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
})
|