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