1{ lib, buildPythonPackage, fetchPypi, CoreFoundation, CoreServices }:
2
3buildPythonPackage rec {
4 pname = "MacFSEvents";
5 version = "0.8.1";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "1324b66b356051de662ba87d84f73ada062acd42b047ed1246e60a449f833e10";
10 };
11
12 buildInputs = [ CoreFoundation CoreServices ];
13
14 # Some tests fail under nix build directory
15 doCheck = false;
16
17 meta = with lib; {
18 homepage = "https://github.com/malthe/macfsevents";
19 description = "Thread-based interface to file system observation primitives";
20 license = licenses.bsd2;
21 maintainers = [ maintainers.marsam ];
22 platforms = platforms.darwin;
23 };
24}