summary refs log blame commit diff
path: root/pkgs/development/libraries/libinotify-kqueue/default.nix
blob: ff74060d3d46467e4bd2cc20c2544c24ee599531 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
                                          

                         
                              








                                                                                             


                          
                    
                                                   
                                                                        




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