nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at haskell-updates 53 lines 992 B view raw
1{ 2 lib, 3 aiohttp, 4 aresponses, 5 arrow, 6 buildPythonPackage, 7 certifi, 8 fetchFromGitHub, 9 frozenlist, 10 poetry-core, 11 pytest-aiohttp, 12 pytestCheckHook, 13 yarl, 14}: 15 16buildPythonPackage rec { 17 pname = "aiopinboard"; 18 version = "2024.01.0"; 19 pyproject = true; 20 21 src = fetchFromGitHub { 22 owner = "bachya"; 23 repo = "aiopinboard"; 24 tag = version; 25 hash = "sha256-/N9r17e0ZvPmcqW/XtRyAENKCGRzWqeOSKPpWHHYomg="; 26 }; 27 28 nativeBuildInputs = [ poetry-core ]; 29 30 propagatedBuildInputs = [ 31 aiohttp 32 arrow 33 certifi 34 frozenlist 35 yarl 36 ]; 37 38 nativeCheckInputs = [ 39 aresponses 40 pytest-aiohttp 41 pytestCheckHook 42 ]; 43 44 pythonImportsCheck = [ "aiopinboard" ]; 45 46 meta = { 47 description = "Library to interact with the Pinboard API"; 48 homepage = "https://github.com/bachya/aiopinboard"; 49 changelog = "https://github.com/bachya/aiopinboard/releases/tag/${version}"; 50 license = lib.licenses.mit; 51 maintainers = with lib.maintainers; [ fab ]; 52 }; 53}