1 { lib, stdenv, fetchFromGitHub
2 , autoreconfHook, linuxHeaders
5 stdenv.mkDerivation rec {
7 version = "0.1.0pre70_${builtins.substring 0 7 src.rev}";
9 src = fetchFromGitHub {
12 rev = "d1cdec98d476b16ca5e2d9d7eabcf9f1c97e6111";
13 sha256 = "0vgillrxc1knq591gjj99x2ws6q1xpm5dmfrhsxisngfpcnjr10v";
16 outputs = [ "out" "dev" "man" ];
17 nativeBuildInputs = [ autoreconfHook ];
18 buildInputs = [ linuxHeaders ];
20 installTargets = [ "install" "install-man" ];
23 separateDebugInfo = true;
24 enableParallelBuilding = true;
30 # The share/ subdir only contains a doc/ with a README.md that just describes
31 # how to compile the library, which clearly isn't very useful! So just get
38 description = "Userspace library for the Linux Restartable Sequence API";
39 homepage = "https://github.com/compudj/librseq";
40 license = licenses.lgpl21Only;
41 platforms = platforms.linux;
42 maintainers = with maintainers; [ thoughtpolice ];