Added qrencode and qrdecode - tools for QR code. Qrdecode behaves strangely (Debian package does the same, so probably upstream bug)

svn path=/nixpkgs/trunk/; revision=13304
This commit is contained in:
Michael Raskin
2008-11-15 17:54:09 +00:00
parent c2417256a8
commit a0604dd47b
4 changed files with 114 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
args :
let
lib = args.lib;
fetchurl = args.fetchurl;
version = lib.getAttr ["version"] "3.0.3" args;
buildInputs = with args; [
libpng pkgconfig
];
in
rec {
src = fetchurl {
url = "http://megaui.net/fukuchi/works/qrencode/qrencode-${version}.tar.gz";
sha256 = "1f5nnbk016casqfprdli50ssv08l0gj5zrd0q4rdvzfwqy67i7vm";
};
inherit buildInputs;
configureFlags = [];
/* doConfigure should be specified separately */
phaseNames = ["doConfigure" "doMakeInstall"];
name = "qrencode-" + version;
meta = {
description = "QR code encoder";
};
}