about summary refs log tree commit diff
path: root/pkgs/development/python-modules/easywatch
diff options
context:
space:
mode:
authorFrancesco Gazzetta <fgaz@fgaz.me>2018-12-21 18:25:04 +0100
committerworldofpeace <worldofpeace@users.noreply.github.com>2019-01-05 17:09:20 -0500
commit779e916c3b8907ae6e0353c92c18b8c78ce880a4 (patch)
treec660e5ca560cfb47a6a0b39d4f8932870acd622e /pkgs/development/python-modules/easywatch
parent46dd27e02594bf868922f16d5aba8cbb661382b9 (diff)
pythonPackages.easywatch: init at 0.0.5
Diffstat (limited to 'pkgs/development/python-modules/easywatch')
-rw-r--r--pkgs/development/python-modules/easywatch/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/easywatch/default.nix b/pkgs/development/python-modules/easywatch/default.nix
new file mode 100644
index 0000000000000..96301996fe8dc
--- /dev/null
+++ b/pkgs/development/python-modules/easywatch/default.nix
@@ -0,0 +1,28 @@
+{ lib
+, fetchPypi
+, buildPythonPackage
+, watchdog
+}:
+
+buildPythonPackage rec {
+  pname = "easywatch";
+  version = "0.0.5";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "1b40cjigv7s9qj8hxxy6yhwv0320z7qywrigwgkasgh80q0xgphc";
+  };
+
+  propagatedBuildInputs = [ watchdog ];
+
+  # There are no tests
+  doCheck = false;
+
+  meta = with lib; {
+    description = "Dead-simple way to watch a directory";
+    homepage = https://github.com/Ceasar/easywatch;
+    license = licenses.mit;
+    maintainers = with maintainers; [ fgaz ];
+  };
+}
+