mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-07 13:53:42 +00:00
Diff: https://github.com/miaucl/bring-api/compare/1.1.1...1.1.2 Changelog: https://github.com/miaucl/bring-api/releases/tag/1.1.2
54 lines
1019 B
Nix
54 lines
1019 B
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
aioresponses,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
mashumaro,
|
|
orjson,
|
|
pytest-asyncio,
|
|
pytestCheckHook,
|
|
python-dotenv,
|
|
setuptools,
|
|
syrupy,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "bring-api";
|
|
version = "1.1.2";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "miaucl";
|
|
repo = "bring-api";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-EwOb+AkjpJSpINFmfWNDqRPF7MDpwDa0LK3LFj7U/sY=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
mashumaro
|
|
orjson
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
aioresponses
|
|
pytest-asyncio
|
|
pytestCheckHook
|
|
python-dotenv
|
|
syrupy
|
|
];
|
|
|
|
pythonImportsCheck = [ "bring_api" ];
|
|
|
|
meta = {
|
|
description = "Module to access the Bring! shopping lists API";
|
|
homepage = "https://github.com/miaucl/bring-api";
|
|
changelog = "https://github.com/miaucl/bring-api/releases/tag/${finalAttrs.src.tag}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
})
|