Files
nixpkgs/pkgs/development/python-modules/imgw-pib/default.nix
T
2026-01-23 12:13:20 +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 = "2.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "bieniu";
repo = "imgw-pib";
tag = version;
hash = "sha256-scpMdJJMwoKcNdjM9YQsgxkhYOtjjnQjJOS2JhELxvA=";
};
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 ];
};
}