depot/third_party/nixpkgs/pkgs/development/python-modules/macfsevents/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

24 lines
664 B
Nix

{ 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;
};
}