Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 buildPythonPackage, 3 fetchFromGitHub, 4 idasen, 5 lib, 6 pytest-asyncio, 7 pytestCheckHook, 8 setuptools, 9}: 10 11buildPythonPackage rec { 12 pname = "idasen-ha"; 13 version = "2.6.3"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "abmantis"; 18 repo = "idasen-ha"; 19 tag = version; 20 hash = "sha256-Z4MfJGL2uDqY1ddoV2fB+Ty/dKFhCUY8qBfP/i/naJs="; 21 }; 22 23 build-system = [ setuptools ]; 24 25 dependencies = [ idasen ]; 26 27 pythonImportsCheck = [ "idasen_ha" ]; 28 29 nativeCheckInputs = [ 30 pytest-asyncio 31 pytestCheckHook 32 ]; 33 34 meta = { 35 changelog = "https://github.com/abmantis/idasen-ha/releases/tag/${version}"; 36 description = "Home Assistant helper lib for the IKEA Idasen Desk integration"; 37 homepage = "https://github.com/abmantis/idasen-ha"; 38 license = lib.licenses.mit; 39 maintainers = with lib.maintainers; [ dotlambda ]; 40 }; 41}