Merge pull request #297641 from fabaff/aiopinboard

python311Packages.aiopinboard: init at 2024.01.0
This commit is contained in:
Fabian Affolter 2024-03-22 08:14:28 +01:00 committed by GitHub
commit 298904c136
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 62 additions and 0 deletions

View File

@ -0,0 +1,60 @@
{ lib
, aiohttp
, aresponses
, arrow
, buildPythonPackage
, certifi
, fetchFromGitHub
, frozenlist
, poetry-core
, pytest-aiohttp
, pytestCheckHook
, pythonOlder
, yarl
}:
buildPythonPackage rec {
pname = "aiopinboard";
version = "2024.01.0";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "bachya";
repo = "aiopinboard";
rev = "refs/tags/${version}";
hash = "sha256-/N9r17e0ZvPmcqW/XtRyAENKCGRzWqeOSKPpWHHYomg=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
aiohttp
arrow
certifi
frozenlist
yarl
];
nativeCheckInputs = [
aresponses
pytest-aiohttp
pytestCheckHook
];
pythonImportsCheck = [
"aiopinboard"
];
meta = with lib; {
description = "Library to interact with the Pinboard API";
homepage = "https://github.com/bachya/aiopinboard";
changelog = "https://github.com/bachya/aiopinboard/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -341,6 +341,8 @@ self: super: with self; {
aiopg = callPackage ../development/python-modules/aiopg { };
aiopinboard = callPackage ../development/python-modules/aiopinboard { };
aioprocessing = callPackage ../development/python-modules/aioprocessing { };
aioprometheus = callPackage ../development/python-modules/aioprometheus { };