nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 57 lines 1.1 kB view raw
1{ 2 lib, 3 aiohttp, 4 aioresponses, 5 buildPythonPackage, 6 fetchFromGitHub, 7 mashumaro, 8 orjson, 9 pytest-asyncio, 10 pytestCheckHook, 11 python-dotenv, 12 setuptools, 13 syrupy, 14 yarl, 15}: 16 17buildPythonPackage rec { 18 pname = "bring-api"; 19 version = "1.1.1"; 20 pyproject = true; 21 22 src = fetchFromGitHub { 23 owner = "miaucl"; 24 repo = "bring-api"; 25 tag = version; 26 hash = "sha256-BslU1ekbQIZh1f1zRYXbZdbOepB2+NWIuWZI4L/oxSg="; 27 }; 28 29 build-system = [ setuptools ]; 30 31 dependencies = [ 32 # https://github.com/miaucl/bring-api/blob/1.0.0/requirements.txt 33 # pyproject.toml is out of sync 34 aiohttp 35 yarl 36 mashumaro 37 orjson 38 ]; 39 40 nativeCheckInputs = [ 41 aioresponses 42 pytest-asyncio 43 pytestCheckHook 44 python-dotenv 45 syrupy 46 ]; 47 48 pythonImportsCheck = [ "bring_api" ]; 49 50 meta = { 51 description = "Module to access the Bring! shopping lists API"; 52 homepage = "https://github.com/miaucl/bring-api"; 53 changelog = "https://github.com/miaucl/bring-api/releases/tag/${src.tag}"; 54 license = lib.licenses.mit; 55 maintainers = with lib.maintainers; [ fab ]; 56 }; 57}