nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 43 lines 958 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6 httpx, 7 pytest-asyncio, 8 pytest-httpx, 9 pytestCheckHook, 10}: 11 12buildPythonPackage rec { 13 pname = "iceportal"; 14 version = "1.2.0"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "home-assistant-ecosystem"; 19 repo = "python-iceportal"; 20 tag = version; 21 hash = "sha256-kpAUgGi2fAHzQYuZAaQW9wdrYjwbduRsoTwSuzcjJa8="; 22 }; 23 24 build-system = [ poetry-core ]; 25 26 dependencies = [ httpx ]; 27 28 nativeCheckInputs = [ 29 pytest-asyncio 30 pytest-httpx 31 pytestCheckHook 32 ]; 33 34 pythonImportsCheck = [ "iceportal" ]; 35 36 meta = { 37 description = "Library for getting data from the ICE Portal"; 38 homepage = "https://github.com/home-assistant-ecosystem/python-iceportal"; 39 changelog = "https://github.com/home-assistant-ecosystem/python-iceportal/releases/tag/${version}"; 40 license = with lib.licenses; [ mit ]; 41 maintainers = with lib.maintainers; [ fab ]; 42 }; 43}