1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5}:
6
7buildPythonPackage rec {
8 pname = "macfsevents";
9 version = "0.8.4";
10
11 src = fetchPypi {
12 pname = "MacFSEvents";
13 inherit version;
14 hash = "sha256-v3KD8dUXdkzNyBlbIWMdu6wcUGuSC/mo6ilWsxJ2Ucs=";
15 };
16
17 patches = [ ./fix-packaging.patch ];
18
19 # Some tests fail under nix build directory
20 doCheck = false;
21
22 pythonImportsCheck = [ "fsevents" ];
23
24 meta = with lib; {
25 description = "Thread-based interface to file system observation primitives";
26 homepage = "https://github.com/malthe/macfsevents";
27 changelog = "https://github.com/malthe/macfsevents/blob/${version}/CHANGES.rst";
28 license = licenses.bsd2;
29 maintainers = [ ];
30 platforms = platforms.darwin;
31 };
32}