Merge pull request #206828 from fabaff/watchdog-bump

python310Packages.watchdog: 2.1.9 -> 2.2.0

authored by Fabian Affolter and committed by GitHub 43703ee1 3eec3c8f

+13 -13
+13 -13
pkgs/development/python-modules/watchdog/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , buildPythonPackage 4 + , CoreServices 5 + , fetchpatch 4 6 , fetchPypi 7 + , flaky 5 8 , pathtools 6 - , pyyaml 7 - , flaky 8 9 , pytest-timeout 9 10 , pytestCheckHook 10 - , CoreServices 11 - , fetchpatch 11 + , pythonOlder 12 + , pyyaml 12 13 }: 13 14 14 15 buildPythonPackage rec { 15 16 pname = "watchdog"; 16 - version = "2.1.9"; 17 + version = "2.2.0"; 17 18 format = "setuptools"; 19 + 20 + disabled = pythonOlder "3.7"; 18 21 19 22 src = fetchPypi { 20 23 inherit pname version; 21 - sha256 = "sha256-Q84g67NqUfIfo3b3bR1GkkUrJSfM1gGVDWntNrniFgk="; 24 + hash = "sha256-g8+Lxg2cYTtmpMAYBRhz1ic9nkXQQO7QbWqWJBvY7AE="; 22 25 }; 23 26 24 27 patches = lib.optionals (stdenv.isDarwin && !stdenv.isAarch64) [ 25 28 ./force-kqueue.patch 26 - ] ++ [ 27 - (fetchpatch { 28 - url = "https://github.com/gorakhargosh/watchdog/commit/255d1e45c17929dd5ba8a6f91aa28771109931cd.patch"; 29 - sha256 = "sha256-gGgEGuB/0g+4Pv1dXMvIdObjqKruWKkxtufS/dzSlY8="; 30 - excludes = [ "changelog.rst" ]; 31 - }) 32 29 ]; 33 30 34 - buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ]; 31 + buildInputs = lib.optionals stdenv.isDarwin [ 32 + CoreServices 33 + ]; 35 34 36 35 propagatedBuildInputs = [ 37 36 pathtools ··· 70 69 meta = with lib; { 71 70 description = "Python API and shell utilities to monitor file system events"; 72 71 homepage = "https://github.com/gorakhargosh/watchdog"; 72 + changelog = "https://github.com/gorakhargosh/watchdog/blob/v${version}/changelog.rst"; 73 73 license = licenses.asl20; 74 74 maintainers = with maintainers; [ goibhniu ]; 75 75 };