about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libinotify-kqueue/default.nix
blob: 75cd1a00507223b5d8a311da6f009bc8cfe77383 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, fetchzip, autoreconfHook }:

stdenv.mkDerivation rec {
  pname = "libinotify-kqueue";
  version = "20180201";

  src = fetchzip {
    url = "https://github.com/libinotify-kqueue/libinotify-kqueue/archive/${version}.tar.gz";
    sha256 = "0dkh6n0ghhcl7cjkjmpin118h7al6i4vlkmw57vip5f6ngr6q3pl";
  };

  nativeBuildInputs = [ autoreconfHook ];

  doCheck = true;
  checkFlags = [ "test" ];

  meta = with stdenv.lib; {
    description = "Inotify shim for macOS and BSD";
    homepage = https://github.com/libinotify-kqueue/libinotify-kqueue;
    license = licenses.mit;
    maintainers = with maintainers; [ yegortimoshenko ];
    platforms = with platforms; darwin ++ freebsd ++ netbsd ++ openbsd;
  };
}