about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libkqueue/default.nix
blob: 54b6b2beecac80e798fdb42b9abe3f71aa380a05 (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
24
{ 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;
  };
}