blob: d6e7c0a42182d227216e68a155b2826b97002627 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
args :
let
lib = args.lib;
fetchurl = args.fetchurl;
version = lib.getAttr ["version"] "0.7.0" args;
buildInputs = with args; [
libpng libtiff libjpeg librsvg imagemagick pkgconfig
zlib libX11 bzip2
];
in
rec {
src = fetchurl {
url = "http://prdownloads.sourceforge.net/libdmtx/libdmtx-${version}.tar.bz2";
sha256 = "00w0pvpbwqqa1c8s85v8vf8w1x116yh7qg5fplxj5jhmfizcama2";
};
inherit buildInputs;
configureFlags = [];
/* doConfigure should be specified separately */
phaseNames = ["doConfigure" "doMakeInstall"];
name = "dmtx-" + version;
meta = {
description = "DataMatrix (2D bar code) processing tools.";
};
}
|