summary refs log tree commit diff
path: root/pkgs/development/python-modules/macfsevents/default.nix
blob: 8dfa0038cdde3f7904f3ed6568759be5735512a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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;
  };
}