Files
nixpkgs/pkgs/development/python-modules/easywatch/default.nix
2026-06-07 18:16:53 +02:00

36 lines
699 B
Nix

{
lib,
fetchPypi,
buildPythonPackage,
setuptools,
watchdog,
}:
buildPythonPackage (finalAttrs: {
pname = "easywatch";
version = "0.0.5";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
inherit (finalAttrs) pname version;
sha256 = "1b40cjigv7s9qj8hxxy6yhwv0320z7qywrigwgkasgh80q0xgphc";
};
build-system = [ setuptools ];
dependencies = [ watchdog ];
# There are no tests
doCheck = false;
pythonImportsCheck = [ "easywatch" ];
meta = {
description = "Dead-simple way to watch a directory";
homepage = "https://github.com/Ceasar/easywatch";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fgaz ];
};
})