Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
947 B · 48 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, buildPythonPackage, fetchFromGitHub,
# build-system poetry-core,
# dependencies aiohttp,
# tests aioresponses, pytest-aiohttp, pytestCheckHook,}:
buildPythonPackage rec { pname = "dio-chacon-wifi-api"; version = "1.2.2"; pyproject = true;
src = fetchFromGitHub { owner = "cnico"; repo = "dio-chacon-wifi-api"; tag = "v${version}"; hash = "sha256-YlomB3/EBX2tFifjcF38q+sr2z1bHwUjmqyNE2wTp90="; };
build-system = [ poetry-core ];
dependencies = [ aiohttp ];
nativeCheckInputs = [ aioresponses pytest-aiohttp pytestCheckHook ];
pythonImportsCheck = [ "dio_chacon_wifi_api" ];
meta = with lib; { description = "Python API via wifi for DIO devices from Chacon. Useful for homeassistant or other automations"; homepage = "https://github.com/cnico/dio-chacon-wifi-api"; license = licenses.gpl3Only; maintainers = with maintainers; [ hexa ]; };}