Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitHub, autoreconfHook }: 2 3stdenv.mkDerivation rec { 4 pname = "libinotify-kqueue"; 5 version = "20180201"; 6 7 src = fetchFromGitHub { 8 owner = "libinotify-kqueue"; 9 repo = "libinotify-kqueue"; 10 rev = version; 11 sha256 = "sha256-9A5s8rPGlRv3KbxOukk0VB2IQrDxVjklO5RB+IA1cDY="; 12 }; 13 14 nativeBuildInputs = [ autoreconfHook ]; 15 16 doCheck = true; 17 checkFlags = [ "test" ]; 18 19 meta = with lib; { 20 description = "Inotify shim for macOS and BSD"; 21 homepage = "https://github.com/libinotify-kqueue/libinotify-kqueue"; 22 license = licenses.mit; 23 maintainers = [ ]; 24 platforms = with platforms; darwin ++ freebsd ++ netbsd ++ openbsd; 25 }; 26}