3
0
Fork 0
forked from mirrors/nixpkgs

lz4: run tests

Data safety > valgrind.
This commit is contained in:
Tobias Geerinckx-Rice 2015-01-20 07:31:00 +01:00
parent 0fd09d1165
commit d14ba81572

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl }:
{ stdenv, fetchurl, valgrind }:
stdenv.mkDerivation rec {
# The r127 source still calls itself r126 everywhere, but I'm not going to
@ -11,10 +11,16 @@ stdenv.mkDerivation rec {
sha256 = "0hvbbr07j4hfix4dn4xw4fsmkr5s02bj596fn0i15d1i49xby2aj";
};
# valgrind is required only by `make test`
buildInputs = [ valgrind ];
enableParallelBuilding = true;
makeFlags = "PREFIX=$(out)";
doCheck = true;
checkTarget = "test";
meta = with stdenv.lib; {
description = "Extremely fast compression algorithm";
longDescription = ''