at 17.09-beta 1.0 kB view raw
1{ stdenv, fetchurl, autoconf, automake, pkgconfig, 2 libtool, SDL2, libpng }: 3 4stdenv.mkDerivation rec { 5 name = "libqrencode-${version}"; 6 version = "3.4.4"; 7 8 src = fetchurl { 9 url = "https://fukuchi.org/works/qrencode/qrencode-${version}.tar.gz"; 10 sha1 = "644054a76c8b593acb66a8c8b7dcf1b987c3d0b2"; 11 sha256 = "0wiagx7i8p9zal53smf5abrnh9lr31mv0p36wg017401jrmf5577"; 12 }; 13 14 buildInputs = [ autoconf automake pkgconfig libtool SDL2 libpng ]; 15 16 propagatedBuildInputs = [ SDL2 libpng ]; 17 18 doCheck = true; 19 20 meta = with stdenv.lib; { 21 homepage = https://fukuchi.org/works/qrencode/; 22 description = "A C library for encoding data in a QR Code symbol"; 23 24 longDescription = '' 25 Libqrencode is a C library for encoding data in a QR Code symbol, 26 a kind of 2D symbology that can be scanned by handy terminals 27 such as a mobile phone with CCD. 28 ''; 29 30 license = licenses.gpl2Plus; 31 maintainers = [ maintainers.adolfogc ]; 32 platforms = platforms.unix; 33 }; 34}