qrencode: fix tests
This commit is contained in:
parent
c5c2ac4f45
commit
317249e5ae
|
@ -14,8 +14,22 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ SDL2 libpng ];
|
||||
|
||||
configureFlags = [
|
||||
"--with-tests"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
|
||||
pushd tests
|
||||
./test_basic.sh
|
||||
popd
|
||||
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://fukuchi.org/works/qrencode/;
|
||||
description = "C library for encoding data in a QR Code symbol";
|
||||
|
|
Loading…
Reference in New Issue