nixpkgs/pkgs/development/libraries/libkqueue/default.nix
2024-04-24 04:20:00 +00:00

25 lines
619 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "libkqueue";
version = "2.6.2";
src = fetchFromGitHub {
owner = "mheily";
repo = "libkqueue";
rev = "v${version}";
sha256 = "sha256-5Zds9sqHkFldJf3ThTPOiaGKohmFcIzY0ARDA0iswVk=";
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "kqueue(2) compatibility library";
homepage = "https://github.com/mheily/libkqueue";
changelog = "https://github.com/mheily/libkqueue/raw/v${version}/ChangeLog";
license = licenses.bsd2;
maintainers = [ ];
platforms = platforms.linux;
};
}