Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 24 lines 723 B view raw
1{ stdenv, fetchzip, autoreconfHook }: 2 3stdenv.mkDerivation rec { 4 name = "libinotify-kqueue-${version}"; 5 version = "20180201"; 6 7 src = fetchzip { 8 url = "https://github.com/libinotify-kqueue/libinotify-kqueue/archive/${version}.tar.gz"; 9 sha256 = "0dkh6n0ghhcl7cjkjmpin118h7al6i4vlkmw57vip5f6ngr6q3pl"; 10 }; 11 12 nativeBuildInputs = [ autoreconfHook ]; 13 14 doCheck = true; 15 checkFlags = [ "test" ]; 16 17 meta = with stdenv.lib; { 18 description = "Inotify shim for macOS and BSD"; 19 homepage = https://github.com/libinotify-kqueue/libinotify-kqueue; 20 license = licenses.mit; 21 maintainers = with maintainers; [ yegortimoshenko ]; 22 platforms = with platforms; darwin ++ freebsd ++ netbsd ++ openbsd; 23 }; 24}