diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libinotify-kqueue')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/libinotify-kqueue/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libinotify-kqueue/default.nix b/nixpkgs/pkgs/development/libraries/libinotify-kqueue/default.nix new file mode 100644 index 000000000000..d01407b43d0f --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/libinotify-kqueue/default.nix @@ -0,0 +1,26 @@ +{ lib, stdenv, fetchFromGitHub, autoreconfHook }: + +stdenv.mkDerivation rec { + pname = "libinotify-kqueue"; + version = "20180201"; + + src = fetchFromGitHub { + owner = "libinotify-kqueue"; + repo = "libinotify-kqueue"; + rev = version; + sha256 = "sha256-9A5s8rPGlRv3KbxOukk0VB2IQrDxVjklO5RB+IA1cDY="; + }; + + nativeBuildInputs = [ autoreconfHook ]; + + doCheck = true; + checkFlags = [ "test" ]; + + meta = with lib; { + description = "Inotify shim for macOS and BSD"; + homepage = "https://github.com/libinotify-kqueue/libinotify-kqueue"; + license = licenses.mit; + maintainers = with maintainers; [ yana ]; + platforms = with platforms; darwin ++ freebsd ++ netbsd ++ openbsd; + }; +} |