librseq: 0.1.0pre54 -> 0.1.0pre70
This also enables the rseq test suite, which requires kernel support on the host executing the tests. `rseq(2)` has been available in mainline since 4.18 (resp. LTS availability since 4.19) but the test suite should gracefully exit otherwise if it's not supported. Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
c557ea5cae
commit
e467148f67
@ -4,22 +4,27 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "librseq";
|
pname = "librseq";
|
||||||
version = "0.1.0pre54_${builtins.substring 0 7 src.rev}";
|
version = "0.1.0pre70_${builtins.substring 0 7 src.rev}";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "compudj";
|
owner = "compudj";
|
||||||
repo = "librseq";
|
repo = "librseq";
|
||||||
rev = "152600188dd214a0b2c6a8c66380e50c6ad27154";
|
rev = "d1cdec98d476b16ca5e2d9d7eabcf9f1c97e6111";
|
||||||
sha256 = "0mivjmgdkgrr6z2gz3k6q6wgnvyvw9xzy65f6ipvqva68sxhk0mx";
|
sha256 = "0vgillrxc1knq591gjj99x2ws6q1xpm5dmfrhsxisngfpcnjr10v";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
nativeBuildInputs = [ autoreconfHook ];
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
buildInputs = [ linuxHeaders ];
|
buildInputs = [ linuxHeaders ];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
separateDebugInfo = true;
|
separateDebugInfo = true;
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
patchShebangs tests
|
||||||
|
'';
|
||||||
|
|
||||||
# The share/ subdir only contains a doc/ with a README.md that just describes
|
# The share/ subdir only contains a doc/ with a README.md that just describes
|
||||||
# how to compile the library, which clearly isn't very useful! So just get
|
# how to compile the library, which clearly isn't very useful! So just get
|
||||||
# rid of it anyway.
|
# rid of it anyway.
|
||||||
|
Loading…
Reference in New Issue
Block a user