nixpkgs/pkgs/tools/graphics/qrencode/default.nix

21 lines
514 B
Nix
Raw Normal View History

{ stdenv, fetchurl, libpng, pkgconfig }:
stdenv.mkDerivation rec {
2017-12-15 02:54:57 +01:00
name = "qrencode-4.0.0";
src = fetchurl {
url = "${meta.homepage}/${name}.tar.bz2";
2017-12-15 02:54:57 +01:00
sha256 = "02vx69fl52jbcrmnydsaxcmy6nxqm9jyxzd7hr07s491d7hka069";
};
buildInputs = [ libpng ];
nativeBuildInputs = [ pkgconfig ];
2017-12-15 02:54:57 +01:00
meta = with stdenv.lib; {
homepage = https://fukuchi.org/works/qrencode/;
description = "QR code encoder";
2017-12-15 02:54:57 +01:00
platforms = platforms.all;
maintainers = with maintainers; [ yegortimoshenko ];
};
}