Merge pull request #206828 from fabaff/watchdog-bump

python310Packages.watchdog: 2.1.9 -> 2.2.0
This commit is contained in:
Fabian Affolter
2022-12-27 09:48:27 +01:00
committed by GitHub
@@ -1,37 +1,36 @@
{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, pathtools
, pyyaml
, flaky
, pytest-timeout
, pytestCheckHook
, CoreServices
, fetchpatch
, fetchPypi
, flaky
, pathtools
, pytest-timeout
, pytestCheckHook
, pythonOlder
, pyyaml
}:
buildPythonPackage rec {
pname = "watchdog";
version = "2.1.9";
version = "2.2.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-Q84g67NqUfIfo3b3bR1GkkUrJSfM1gGVDWntNrniFgk=";
hash = "sha256-g8+Lxg2cYTtmpMAYBRhz1ic9nkXQQO7QbWqWJBvY7AE=";
};
patches = lib.optionals (stdenv.isDarwin && !stdenv.isAarch64) [
./force-kqueue.patch
] ++ [
(fetchpatch {
url = "https://github.com/gorakhargosh/watchdog/commit/255d1e45c17929dd5ba8a6f91aa28771109931cd.patch";
sha256 = "sha256-gGgEGuB/0g+4Pv1dXMvIdObjqKruWKkxtufS/dzSlY8=";
excludes = [ "changelog.rst" ];
})
];
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
buildInputs = lib.optionals stdenv.isDarwin [
CoreServices
];
propagatedBuildInputs = [
pathtools
@@ -70,6 +69,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python API and shell utilities to monitor file system events";
homepage = "https://github.com/gorakhargosh/watchdog";
changelog = "https://github.com/gorakhargosh/watchdog/blob/v${version}/changelog.rst";
license = licenses.asl20;
maintainers = with maintainers; [ goibhniu ];
};