Merge pull request #262486 from fabaff/elgato-bump

python311Packages.elgato: 4.0.1 -> 5.0.0

authored by

Fabian Affolter and committed by
GitHub
ebed643c 2a60691b

+11 -10
+11 -10
pkgs/development/python-modules/elgato/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "elgato"; 16 - version = "4.0.1"; 16 + version = "5.0.0"; 17 17 format = "pyproject"; 18 18 19 - disabled = pythonOlder "3.9"; 19 + disabled = pythonOlder "3.11"; 20 20 21 21 src = fetchFromGitHub { 22 22 owner = "frenck"; 23 23 repo = "python-elgato"; 24 24 rev = "refs/tags/v${version}"; 25 - hash = "sha256-kyFnc/lMxgYy8s/gAP5vpEPV8a+dphOummr6G7deGQ4="; 25 + hash = "sha256-TI5wu2FYVUMvgDkbktcwPLnTSD8XUSy8qwOCdrsiopk="; 26 26 }; 27 27 28 + postPatch = '' 29 + # Upstream doesn't set a version for the pyproject.toml 30 + substituteInPlace pyproject.toml \ 31 + --replace "0.0.0" "${version}" \ 32 + --replace "--cov" "" 33 + ''; 34 + 28 35 nativeBuildInputs = [ 29 36 poetry-core 30 37 ]; ··· 41 48 pytestCheckHook 42 49 ]; 43 50 44 - postPatch = '' 45 - # Upstream doesn't set a version for the pyproject.toml 46 - substituteInPlace pyproject.toml \ 47 - --replace "0.0.0" "${version}" \ 48 - --replace "--cov" "" 49 - ''; 50 - 51 51 pythonImportsCheck = [ 52 52 "elgato" 53 53 ]; ··· 55 55 meta = with lib; { 56 56 description = "Python client for Elgato Key Lights"; 57 57 homepage = "https://github.com/frenck/python-elgato"; 58 + changelog = "https://github.com/frenck/python-elgato/releases/tag/v${version}"; 58 59 license = with licenses; [ mit ]; 59 60 maintainers = with maintainers; [ fab ]; 60 61 };