about summary refs log tree commit diff
path: root/pkgs/development/python-modules/macfsevents
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2019-04-23 04:20:00 -0500
committerMario Rodas <marsam@users.noreply.github.com>2019-04-23 04:20:00 -0500
commit2e333e801a436793bb83e68dc4a68da5ea3dfb8c (patch)
treee333c05b5be6dc86128be4705dff3e4ddf14da32 /pkgs/development/python-modules/macfsevents
parentc8c0bd1fea22cd2b3a585c5891f17b1039d86ace (diff)
pythonPackages.macfsevents: init at 0.8.1
Diffstat (limited to 'pkgs/development/python-modules/macfsevents')
-rw-r--r--pkgs/development/python-modules/macfsevents/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/macfsevents/default.nix b/pkgs/development/python-modules/macfsevents/default.nix
new file mode 100644
index 0000000000000..8dfa0038cdde3
--- /dev/null
+++ b/pkgs/development/python-modules/macfsevents/default.nix
@@ -0,0 +1,24 @@
+{ lib, buildPythonPackage, fetchPypi, CoreFoundation, CoreServices }:
+
+buildPythonPackage rec {
+  pname = "MacFSEvents";
+  version = "0.8.1";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "1324b66b356051de662ba87d84f73ada062acd42b047ed1246e60a449f833e10";
+  };
+
+  buildInputs = [ CoreFoundation CoreServices ];
+
+  # Some tests fail under nix build directory
+  doCheck = false;
+
+  meta = with lib; {
+    homepage = https://github.com/malthe/macfsevents;
+    description = "Thread-based interface to file system observation primitives";
+    license = licenses.bsd2;
+    maintainers = [ maintainers.marsam ];
+    platforms = platforms.darwin;
+  };
+}