at master 29 lines 648 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6}: 7 8stdenv.mkDerivation rec { 9 pname = "libkqueue"; 10 version = "2.6.3"; 11 12 src = fetchFromGitHub { 13 owner = "mheily"; 14 repo = "libkqueue"; 15 rev = "v${version}"; 16 sha256 = "sha256-q9ycYeo8BriD9bZEozjkdHUg2xntQUZwbYX7d1IZPzk="; 17 }; 18 19 nativeBuildInputs = [ cmake ]; 20 21 meta = { 22 description = "kqueue(2) compatibility library"; 23 homepage = "https://github.com/mheily/libkqueue"; 24 changelog = "https://github.com/mheily/libkqueue/raw/v${version}/ChangeLog"; 25 license = lib.licenses.bsd2; 26 maintainers = with lib.maintainers; [ ]; 27 platforms = lib.platforms.linux; 28 }; 29}