about summary refs log tree commit diff
path: root/pkgs/development/libraries/libkqueue/default.nix
blob: 8a4bfdedd1e336abda47a82da6ace8ac8b1421fc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, stdenv, fetchFromGitHub, cmake }:

stdenv.mkDerivation rec {
  pname = "libkqueue";
  version = "2.6.1";

  src = fetchFromGitHub {
    owner = "mheily";
    repo = "libkqueue";
    rev = "v${version}";
    sha256 = "sha256-YKKBHOxjUS7+/ib4gcR7EYjjVOwhHVksYasLhErdV8s=";
  };

  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;
  };
}