at master 772 B view raw
1{ 2 buildPythonPackage, 3 fetchFromGitHub, 4 lib, 5 setuptools, 6}: 7 8buildPythonPackage rec { 9 pname = "lightify"; 10 version = "1.0.7.3"; 11 pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "tfriedel"; 15 repo = "python-lightify"; 16 tag = "v${version}"; 17 hash = "sha256-zgDB1Tq4RYIeABZCjCcoB8NGt+ZhQFnFu655OghgpH0="; 18 }; 19 20 build-system = [ setuptools ]; 21 22 pythonImportsCheck = [ "lightify" ]; 23 24 # tests access the network 25 doCheck = false; 26 27 meta = { 28 changelog = "https://github.com/tfriedel/python-lightify/releases/tag/${src.tag}"; 29 description = "Library to work with OSRAM Lightify"; 30 homepage = "https://github.com/tfriedel/python-lightify"; 31 license = lib.licenses.asl20; 32 maintainers = with lib.maintainers; [ dotlambda ]; 33 }; 34}