nixpkgs/pkgs/tools/graphics/qrencode/default.nix
Eelco Dolstra ab3eeabfed Rename buildNativeInputs -> nativeBuildInputs
Likewise for propagatedBuildNativeInputs, etc.  "buildNativeInputs"
sounds like an imperative rather than a noun phrase.
2012-12-28 19:20:09 +01:00

21 lines
502 B
Nix

{ stdenv, fetchurl, libpng, pkgconfig }:
stdenv.mkDerivation rec {
name = "qrencode-3.2.0";
src = fetchurl {
url = "${meta.homepage}/${name}.tar.bz2";
sha256 = "13q6cz2lif8d7y95f8sgfqaxc1qr0sz9nl2xh71lfmx7v5ybri03";
};
buildInputs = [ libpng ];
nativeBuildInputs = [ pkgconfig ];
meta = {
homepage = http://fukuchi.org/works/qrencode/;
description = "QR code encoder";
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.urkud ];
};
}