2014-09-30 12:20:26 +02:00
|
|
|
args :
|
|
|
|
let
|
2008-11-13 14:31:10 +01:00
|
|
|
lib = args.lib;
|
|
|
|
fetchurl = args.fetchurl;
|
|
|
|
|
2014-09-30 12:20:26 +02:00
|
|
|
version = lib.attrByPath ["version"] "0.7.4" args;
|
2008-11-13 14:31:10 +01:00
|
|
|
buildInputs = with args; [
|
2009-03-19 14:59:00 +01:00
|
|
|
libpng libtiff libjpeg librsvg imagemagick pkgconfig
|
2014-09-30 12:20:26 +02:00
|
|
|
zlib libX11 bzip2 libtool freetype fontconfig
|
2011-06-08 10:11:24 +02:00
|
|
|
ghostscript jasper xz
|
2008-11-13 14:31:10 +01:00
|
|
|
];
|
|
|
|
in
|
|
|
|
rec {
|
|
|
|
src = fetchurl {
|
2013-07-14 01:48:32 +02:00
|
|
|
url = "mirror://sourceforge/libdmtx/libdmtx-${version}.tar.bz2";
|
2014-09-30 12:20:26 +02:00
|
|
|
sha256 = "0xnxx075ycy58n92yfda2z9zgd41h3d4ik5d9l197lzsqim5hb5n";
|
2008-11-13 14:31:10 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
inherit buildInputs;
|
|
|
|
configureFlags = [];
|
|
|
|
|
|
|
|
/* doConfigure should be specified separately */
|
|
|
|
phaseNames = ["doConfigure" "doMakeInstall"];
|
2014-09-30 12:20:26 +02:00
|
|
|
|
2008-11-13 14:31:10 +01:00
|
|
|
name = "dmtx-" + version;
|
|
|
|
meta = {
|
2013-10-06 11:49:53 +02:00
|
|
|
description = "DataMatrix (2D bar code) processing tools";
|
2009-07-07 17:05:15 +02:00
|
|
|
maintainers = [args.lib.maintainers.raskin];
|
2009-09-29 08:53:00 +02:00
|
|
|
platforms = args.lib.platforms.linux;
|
2008-11-13 14:31:10 +01:00
|
|
|
};
|
|
|
|
}
|