1 { lib, stdenv, fetchFromGitHub
2 , autoreconfHook, linuxHeaders
5 stdenv.mkDerivation rec {
7 version = "0.1.0pre71_${builtins.substring 0 7 src.rev}";
9 src = fetchFromGitHub {
12 rev = "170f840b498e1aff068b90188727a656111bfc2f";
13 sha256 = "0rdx59y8y9x8cfmmx5gl66gibkzpk3kw5lrrqhrxan8zr37a055y";
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 ];