nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 23 lines 557 B view raw
1{ lib, stdenv, fetchFromGitHub, cmake }: 2 3stdenv.mkDerivation rec { 4 pname = "libkqueue"; 5 version = "2.6.1"; 6 7 src = fetchFromGitHub { 8 owner = "mheily"; 9 repo = "libkqueue"; 10 rev = "v${version}"; 11 sha256 = "sha256-YKKBHOxjUS7+/ib4gcR7EYjjVOwhHVksYasLhErdV8s="; 12 }; 13 14 nativeBuildInputs = [ cmake ]; 15 16 meta = with lib; { 17 description = "kqueue(2) compatibility library"; 18 homepage = "https://github.com/mheily/libkqueue"; 19 license = licenses.bsd2; 20 maintainers = [ maintainers.marsam ]; 21 platforms = platforms.linux; 22 }; 23}