Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
885 B · 41 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142{ lib, buildPythonPackage, fetchPypi, requests, inflect, setuptools,}:
buildPythonPackage rec { pname = "decora-wifi"; version = "1.5"; pyproject = true;
#No tag in github, so fetchPypi is OK to use. src = fetchPypi { pname = "decora_wifi"; inherit version; hash = "sha256-oWETtzZueNJC0lTWdLfk3SOuvnqrJ9wp5rOSPJxH3M4="; };
build-system = [ setuptools ];
dependencies = [ requests inflect ];
pythonImportsCheck = [ "decora_wifi" ];
# No tests in Pypi source doCheck = false;
meta = { description = "Python library for controlling Leviton Decora Smart Wi-Fi devices"; homepage = "https://github.com/tlyakhov/python-decora_wifi"; changelog = "https://github.com/tlyakhov/python-decora_wifi/releases/tag/${version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ Continous ]; };}