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

22 lines
549 B
Nix
Raw Normal View History

{ stdenv, fetchurl, libpng, pkgconfig }:
stdenv.mkDerivation rec {
name = "qrencode-4.0.2";
src = fetchurl {
url = "${meta.homepage}/${name}.tar.bz2";
sha256 = "1d2q5d3v8g3hsi3h5jq4n177bjhf3kawms09immw7p187f6jgjy9";
};
buildInputs = [ libpng ];
nativeBuildInputs = [ pkgconfig ];
2017-12-15 01:54:57 +00:00
meta = with stdenv.lib; {
homepage = https://fukuchi.org/works/qrencode/;
description = "QR code encoder";
2017-12-15 01:54:57 +00:00
platforms = platforms.all;
2018-09-11 22:27:01 +01:00
license = licenses.lgpl21Plus;
2017-12-15 01:54:57 +00:00
maintainers = with maintainers; [ yegortimoshenko ];
};
}