2019-04-23 10:20:00 +01:00
|
|
|
{ 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; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/malthe/macfsevents";
|
2019-04-23 10:20:00 +01:00
|
|
|
description = "Thread-based interface to file system observation primitives";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
platforms = platforms.darwin;
|
|
|
|
};
|
|
|
|
}
|