mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-17 10:43:53 +00:00
36 lines
699 B
Nix
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 ];
|
|
};
|
|
})
|