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