portfolio: 0.71.2 -> 0.72.2 (#360387)
[NixPkgs.git] / pkgs / development / python-modules / macfsevents / default.nix
blob77e82746e77d6ad65916b8cce7c620d42d984bb2
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   CoreFoundation,
6   CoreServices,
7 }:
9 buildPythonPackage rec {
10   pname = "macfsevents";
11   version = "0.8.4";
13   src = fetchPypi {
14     pname = "MacFSEvents";
15     inherit version;
16     hash = "sha256-v3KD8dUXdkzNyBlbIWMdu6wcUGuSC/mo6ilWsxJ2Ucs=";
17   };
19   buildInputs = [
20     CoreFoundation
21     CoreServices
22   ];
24   # Some tests fail under nix build directory
25   doCheck = false;
27   pythonImportsCheck = [ "fsevents" ];
29   meta = with lib; {
30     description = "Thread-based interface to file system observation primitives";
31     homepage = "https://github.com/malthe/macfsevents";
32     changelog = "https://github.com/malthe/macfsevents/blob/${version}/CHANGES.rst";
33     license = licenses.bsd2;
34     maintainers = [ ];
35     platforms = platforms.darwin;
36   };