nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 45 lines 995 B view raw
1{ 2 aiohttp, 3 aioresponses, 4 buildPythonPackage, 5 fetchFromGitHub, 6 lib, 7 pytest-asyncio, 8 pytestCheckHook, 9 setuptools, 10}: 11 12buildPythonPackage rec { 13 pname = "watergate-local-api"; 14 version = "2025.1.0"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "watergate-ai"; 19 repo = "watergate-local-api-python"; 20 tag = version; 21 hash = "sha256-px1vtWGW9JlU9ZXvmTq9YXZDmWIU0xYy3KOyamGyY74="; 22 }; 23 24 build-system = [ setuptools ]; 25 26 dependencies = [ 27 aiohttp 28 ]; 29 30 pythonImportsCheck = [ "watergate_local_api" ]; 31 32 nativeCheckInputs = [ 33 aioresponses 34 pytest-asyncio 35 pytestCheckHook 36 ]; 37 38 meta = { 39 changelog = "https://github.com/watergate-ai/watergate-local-api-python/releases/tag/${src.tag}"; 40 description = "Python package to interact with the Watergate Local API"; 41 homepage = "https://github.com/watergate-ai/watergate-local-api-python"; 42 license = lib.licenses.gpl3Only; 43 maintainers = with lib.maintainers; [ dotlambda ]; 44 }; 45}