python3Packages.aioghost: init at 0.4.0 (#502286)
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
aioresponses,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
hatchling,
|
||||
pyjwt,
|
||||
pytest-aiohttp,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "aioghost";
|
||||
version = "0.4.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "TryGhost";
|
||||
repo = "aioghost";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-VIMkAPUzIzSwXCbwqu+OOvUwd/l2zUJpnvjLlvIoDAk=";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
})
|
||||
@@ -2139,7 +2139,8 @@
|
||||
];
|
||||
"ghost" =
|
||||
ps: with ps; [
|
||||
]; # missing inputs: aioghost
|
||||
aioghost
|
||||
];
|
||||
"gios" =
|
||||
ps: with ps; [
|
||||
gios
|
||||
@@ -7670,6 +7671,7 @@
|
||||
"geofency"
|
||||
"geonetnz_quakes"
|
||||
"geonetnz_volcano"
|
||||
"ghost"
|
||||
"gios"
|
||||
"github"
|
||||
"glances"
|
||||
|
||||
@@ -292,6 +292,8 @@ self: super: with self; {
|
||||
|
||||
aioftp = callPackage ../development/python-modules/aioftp { };
|
||||
|
||||
aioghost = callPackage ../development/python-modules/aioghost { };
|
||||
|
||||
aiogithubapi = callPackage ../development/python-modules/aiogithubapi { };
|
||||
|
||||
aiogram = callPackage ../development/python-modules/aiogram { };
|
||||
|
||||
Reference in New Issue
Block a user