2022-01-03 16:56:52 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libinotify-kqueue";
|
|
|
|
version = "20180201";
|
|
|
|
|
2022-01-03 16:56:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "libinotify-kqueue";
|
|
|
|
repo = "libinotify-kqueue";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-9A5s8rPGlRv3KbxOukk0VB2IQrDxVjklO5RB+IA1cDY=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
checkFlags = [ "test" ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Inotify shim for macOS and BSD";
|
|
|
|
homepage = "https://github.com/libinotify-kqueue/libinotify-kqueue";
|
|
|
|
license = licenses.mit;
|
2022-01-03 16:56:52 +00:00
|
|
|
maintainers = with maintainers; [ yana ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = with platforms; darwin ++ freebsd ++ netbsd ++ openbsd;
|
|
|
|
};
|
|
|
|
}
|