Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 50 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ pkgs, lib, buildPythonPackage, fetchFromGitHub, certifi, scapy, urllib3, semantic-version, aiohttp, jsons, requests, # Test inputs pytestCheckHook, pyyaml, pytest-asyncio, async-timeout, }:
buildPythonPackage rec { pname = "plugp100"; version = "5.1.3";
src = fetchFromGitHub { owner = "petretiandrea"; repo = "plugp100"; rev = version; sha256 = "sha256-V+9cVBMN8H4oFU51T9BDrLF46xgQHqIsMj8nuPedUGA="; };
propagatedBuildInputs = [ certifi jsons requests aiohttp semantic-version scapy urllib3 pyyaml ];
nativeCheckInputs = [ pytestCheckHook pytest-asyncio async-timeout ];
disabledTestPaths = [ "tests/integration/" "tests/unit/hub_child/" "tests/unit/test_plug_strip.py" "tests/unit/test_hub.py " "tests/unit/test_klap_protocol.py" ];
meta = with lib; { description = "Python library to control Tapo Plug P100 devices"; homepage = "https://github.com/petretiandrea/plugp100"; license = licenses.gpl3; maintainers = with maintainers; [ pyle ]; };}