nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 47 lines 910 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitLab, 5 setuptools, 6 aiohttp, 7 tenacity, 8 aioresponses, 9 pytest-asyncio, 10 pytestCheckHook, 11}: 12 13buildPythonPackage rec { 14 pname = "doorbirdpy"; 15 version = "3.0.12"; 16 pyproject = true; 17 18 src = fetchFromGitLab { 19 owner = "klikini"; 20 repo = "doorbirdpy"; 21 tag = version; 22 hash = "sha256-yJPORXU7hQ3TqSFZzyneQT4aAdrXqPmxnOwFQ665Vus="; 23 }; 24 25 build-system = [ setuptools ]; 26 27 dependencies = [ 28 aiohttp 29 tenacity 30 ]; 31 32 nativeCheckInputs = [ 33 aioresponses 34 pytest-asyncio 35 pytestCheckHook 36 ]; 37 38 pythonImportsCheck = [ "doorbirdpy" ]; 39 40 meta = { 41 changelog = "https://gitlab.com/klikini/doorbirdpy/-/tags/${src.tag}"; 42 description = "Python wrapper for the DoorBird LAN API"; 43 homepage = "https://gitlab.com/klikini/doorbirdpy"; 44 license = lib.licenses.mit; 45 maintainers = with lib.maintainers; [ dotlambda ]; 46 }; 47}