1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00

qrencode-3.2.0

Remove builderDefs magic, add meta

Cherry-pick r31382 from branches/libpng15

svn path=/nixpkgs/trunk/; revision=31385
This commit is contained in:
Yury G. Kudryashov 2012-01-06 23:05:11 +00:00
parent cfc9de7311
commit 1401241864
2 changed files with 12 additions and 21 deletions

View file

@ -1,27 +1,20 @@
args :
let
lib = args.lib;
fetchurl = args.fetchurl;
{ stdenv, fetchurl, libpng, pkgconfig }:
stdenv.mkDerivation rec {
name = "qrencode-3.2.0";
version = lib.attrByPath ["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";
url = "${meta.homepage}/${name}.tar.bz2";
sha256 = "13q6cz2lif8d7y95f8sgfqaxc1qr0sz9nl2xh71lfmx7v5ybri03";
};
inherit buildInputs;
configureFlags = [];
buildInputs = [ libpng ];
buildNativeInputs = [ pkgconfig ];
/* doConfigure should be specified separately */
phaseNames = ["doConfigure" "doMakeInstall"];
name = "qrencode-" + version;
meta = {
homepage = http://fukuchi.org/works/qrencode/;
description = "QR code encoder";
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.urkud ];
};
}

View file

@ -6859,9 +6859,7 @@ let
opencv = opencv_2_1;
};
qrencode = builderDefsPackage (import ../tools/graphics/qrencode) {
inherit libpng pkgconfig;
};
qrencode = callPackage ../tools/graphics/qrencode { };
gecko_mediaplayer = callPackage ../applications/networking/browsers/mozilla-plugins/gecko-mediaplayer {
inherit (gnome) GConf;