Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
54 lines
971 B
Nix
54 lines
971 B
Nix
{
|
|
aiofiles,
|
|
aiohttp,
|
|
aioresponses,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
freezegun,
|
|
lib,
|
|
orjson,
|
|
pytest-asyncio,
|
|
pytestCheckHook,
|
|
setuptools,
|
|
syrupy,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "imgw-pib";
|
|
version = "1.5.6";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bieniu";
|
|
repo = "imgw-pib";
|
|
tag = version;
|
|
hash = "sha256-U1kC8+614U00LZbomx4bqf5pR/ZZDGx3u3bmUHZaDJ4=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
aiofiles
|
|
aiohttp
|
|
orjson
|
|
];
|
|
|
|
pythonImportsCheck = [ "imgw_pib" ];
|
|
|
|
nativeCheckInputs = [
|
|
aioresponses
|
|
freezegun
|
|
pytest-asyncio
|
|
pytestCheckHook
|
|
syrupy
|
|
];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/bieniu/imgw-pib/releases/tag/${src.tag}";
|
|
description = "Python async wrapper for IMGW-PIB API";
|
|
homepage = "https://github.com/bieniu/imgw-pib";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|