13 buildPythonPackage rec {
16 format = "setuptools";
18 disabled = pythonOlder "3.7";
20 src = fetchFromGitHub {
23 rev = "refs/tags/v${version}";
24 hash = "sha256-OvWdKr8RlXRnAUMHSPhJDacvKeRa8QGPmGPQWLG2ouk=";
28 substituteInPlace setup.py \
29 --replace 'version_format="{tag}"' 'version="${version}"'
32 nativeBuildInputs = [ setuptools-scm ];
34 propagatedBuildInputs = [
41 # no tests implemented
44 pythonImportsCheck = [ "pyisy" ];
47 description = "Python module to talk to ISY994 from UDI";
48 homepage = "https://github.com/automicus/PyISY";
49 changelog = "https://github.com/automicus/PyISY/releases/tag/v${version}";
50 license = licenses.asl20;
51 maintainers = with maintainers; [ dotlambda ];