2022-04-27 09:35:20 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libkqueue";
|
2022-06-26 10:26:21 +00:00
|
|
|
version = "2.6.2";
|
2022-04-27 09:35:20 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mheily";
|
|
|
|
repo = "libkqueue";
|
|
|
|
rev = "v${version}";
|
2022-06-26 10:26:21 +00:00
|
|
|
sha256 = "sha256-5Zds9sqHkFldJf3ThTPOiaGKohmFcIzY0ARDA0iswVk=";
|
2022-04-27 09:35:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "kqueue(2) compatibility library";
|
|
|
|
homepage = "https://github.com/mheily/libkqueue";
|
2022-06-26 10:26:21 +00:00
|
|
|
changelog = "https://github.com/mheily/libkqueue/raw/v${version}/ChangeLog";
|
2022-04-27 09:35:20 +00:00
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|