nixpkgs-suyu/pkgs/development/libraries/libqrencode/default.nix
R. RyanTM d8f8e3c1b9 libqrencode: 3.4.4 -> 4.0.0 (#38711)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/libqrencode/versions.

These checks were done:

- built on NixOS
- ran ‘/nix/store/qb2z3p3zcqmn0qskcck42z4ffv3107p5-libqrencode-4.0.0/bin/qrencode -h’ got 0 exit code
- ran ‘/nix/store/qb2z3p3zcqmn0qskcck42z4ffv3107p5-libqrencode-4.0.0/bin/qrencode --help’ got 0 exit code
- found 4.0.0 with grep in /nix/store/qb2z3p3zcqmn0qskcck42z4ffv3107p5-libqrencode-4.0.0
- directory tree listing: https://gist.github.com/2503d88770c4325ed73850dbd72eb7bf
2018-04-14 21:40:04 +02:00

35 lines
1 KiB
Nix

{ stdenv, fetchurl, autoconf, automake, pkgconfig,
libtool, SDL2, libpng }:
stdenv.mkDerivation rec {
name = "libqrencode-${version}";
version = "4.0.0";
src = fetchurl {
url = "https://fukuchi.org/works/qrencode/qrencode-${version}.tar.gz";
sha1 = "644054a76c8b593acb66a8c8b7dcf1b987c3d0b2";
sha256 = "10da4q5pym7pzxcv21w2kc2rxmq7sp1rg58zdklwfr0jjci1nqjv";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ autoconf automake libtool SDL2 libpng ];
propagatedBuildInputs = [ SDL2 libpng ];
doCheck = true;
meta = with stdenv.lib; {
homepage = https://fukuchi.org/works/qrencode/;
description = "A 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.gpl2Plus;
maintainers = [ maintainers.adolfogc ];
platforms = platforms.unix;
};
}