Files
nixpkgs/pkgs/development/python-modules/imgw-pib/default.nix
T
2025-11-26 23:03:59 +00:00

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.6.1";
pyproject = true;
src = fetchFromGitHub {
owner = "bieniu";
repo = "imgw-pib";
tag = version;
hash = "sha256-OrQQlegEZbeT7OlKl20VU0l4XNI7O2OojQiNUeJHS2M=";
};
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 ];
};
}