2022-04-22 04:20:00 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libkqueue";
|
2022-05-12 04:20:00 +00:00
|
|
|
version = "2.6.1";
|
2022-04-22 04:20:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mheily";
|
|
|
|
repo = "libkqueue";
|
|
|
|
rev = "v${version}";
|
2022-05-12 04:20:00 +00:00
|
|
|
sha256 = "sha256-YKKBHOxjUS7+/ib4gcR7EYjjVOwhHVksYasLhErdV8s=";
|
2022-04-22 04:20:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "kqueue(2) compatibility library";
|
|
|
|
homepage = "https://github.com/mheily/libkqueue";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|