Merge pull request #204545 from SuperSandro2000/qrencode-nox
This commit is contained in:
commit
13e33c7c98
@ -44,6 +44,7 @@ with lib;
|
||||
networkmanager-sstp = super.networkmanager-vpnc.override { withGnome = false; };
|
||||
networkmanager-vpnc = super.networkmanager-vpnc.override { withGnome = false; };
|
||||
qemu = super.qemu.override { gtkSupport = false; spiceSupport = false; sdlSupport = false; };
|
||||
qrencode = super.qrencode.overrideAttrs (_: { doCheck = false; });
|
||||
zbar = super.zbar.override { enableVideo = false; withXorg = false; };
|
||||
}));
|
||||
};
|
||||
|
@ -12,12 +12,16 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ SDL2 libpng ] ++ lib.optionals stdenv.isDarwin [ libiconv libobjc ];
|
||||
|
||||
buildInputs = [ libpng ]
|
||||
++ lib.optionals stdenv.isDarwin [ libiconv libobjc ];
|
||||
|
||||
configureFlags = [
|
||||
"--with-tests"
|
||||
];
|
||||
|
||||
checkInputs = [ SDL2 ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
checkPhase = ''
|
||||
@ -33,13 +37,11 @@ stdenv.mkDerivation rec {
|
||||
meta = with lib; {
|
||||
homepage = "https://fukuchi.org/works/qrencode/";
|
||||
description = "C library for encoding data in a QR Code symbol";
|
||||
|
||||
longDescription = ''
|
||||
Libqrencode is a C library for encoding data in a QR Code symbol,
|
||||
a kind of 2D symbology that can be scanned by handy terminals
|
||||
such as a mobile phone with CCD.
|
||||
'';
|
||||
|
||||
license = licenses.lgpl21Plus;
|
||||
maintainers = with maintainers; [ adolfogc yana ];
|
||||
platforms = platforms.all;
|
||||
|
Loading…
Reference in New Issue
Block a user