2012-01-07 00:05:11 +01:00
|
|
|
{ stdenv, fetchurl, libpng, pkgconfig }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-12-15 02:54:57 +01:00
|
|
|
name = "qrencode-4.0.0";
|
2008-11-15 18:54:09 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-01-07 00:05:11 +01:00
|
|
|
url = "${meta.homepage}/${name}.tar.bz2";
|
2017-12-15 02:54:57 +01:00
|
|
|
sha256 = "02vx69fl52jbcrmnydsaxcmy6nxqm9jyxzd7hr07s491d7hka069";
|
2008-11-15 18:54:09 +01:00
|
|
|
};
|
|
|
|
|
2012-01-07 00:05:11 +01:00
|
|
|
buildInputs = [ libpng ];
|
2012-12-28 19:20:09 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2008-11-15 18:54:09 +01:00
|
|
|
|
2017-12-15 02:54:57 +01:00
|
|
|
meta = with stdenv.lib; {
|
2017-08-02 23:50:51 +02:00
|
|
|
homepage = https://fukuchi.org/works/qrencode/;
|
2008-11-15 18:54:09 +01:00
|
|
|
description = "QR code encoder";
|
2017-12-15 02:54:57 +01:00
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ yegortimoshenko ];
|
2008-11-15 18:54:09 +01:00
|
|
|
};
|
|
|
|
}
|