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