Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitHub, cmake }: 2 3stdenv.mkDerivation rec { 4 pname = "libkqueue"; 5 version = "2.6.2"; 6 7 src = fetchFromGitHub { 8 owner = "mheily"; 9 repo = "libkqueue"; 10 rev = "v${version}"; 11 sha256 = "sha256-5Zds9sqHkFldJf3ThTPOiaGKohmFcIzY0ARDA0iswVk="; 12 }; 13 14 nativeBuildInputs = [ cmake ]; 15 16 meta = with lib; { 17 description = "kqueue(2) compatibility library"; 18 homepage = "https://github.com/mheily/libkqueue"; 19 changelog = "https://github.com/mheily/libkqueue/raw/v${version}/ChangeLog"; 20 license = licenses.bsd2; 21 maintainers = [ maintainers.marsam ]; 22 platforms = platforms.linux; 23 }; 24}