16 buildPythonPackage rec {
21 disabled = pythonOlder "3.11";
23 src = fetchFromGitHub {
25 repo = "python-elgato";
26 rev = "refs/tags/v${version}";
27 hash = "sha256-NAU4tr0oaAPPrOUZYl9WoGOM68MlrBqGewHBIiIv2XY=";
31 # Upstream doesn't set a version for the pyproject.toml
32 substituteInPlace pyproject.toml \
33 --replace "0.0.0" "${version}" \
37 nativeBuildInputs = [ poetry-core ];
39 propagatedBuildInputs = [
52 pythonImportsCheck = [ "elgato" ];
55 description = "Python client for Elgato Key Lights";
56 homepage = "https://github.com/frenck/python-elgato";
57 changelog = "https://github.com/frenck/python-elgato/releases/tag/v${version}";
58 license = with licenses; [ mit ];
59 maintainers = with maintainers; [ fab ];