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:
Austin Seipp 2020-08-24 09:07:17 -05:00
parent c557ea5cae
commit e467148f67
No known key found for this signature in database
GPG Key ID: 25D2038DEB08021D

View File

@ -4,22 +4,27 @@
stdenv.mkDerivation rec {
pname = "librseq";
version = "0.1.0pre54_${builtins.substring 0 7 src.rev}";
version = "0.1.0pre70_${builtins.substring 0 7 src.rev}";
src = fetchFromGitHub {
owner = "compudj";
repo = "librseq";
rev = "152600188dd214a0b2c6a8c66380e50c6ad27154";
sha256 = "0mivjmgdkgrr6z2gz3k6q6wgnvyvw9xzy65f6ipvqva68sxhk0mx";
rev = "d1cdec98d476b16ca5e2d9d7eabcf9f1c97e6111";
sha256 = "0vgillrxc1knq591gjj99x2ws6q1xpm5dmfrhsxisngfpcnjr10v";
};
outputs = [ "out" "dev" ];
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ linuxHeaders ];
doCheck = true;
separateDebugInfo = true;
enableParallelBuilding = true;
patchPhase = ''
patchShebangs tests
'';
# 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
# rid of it anyway.