2015-07-28 17:57:02 +02:00
|
|
|
{stdenv, fetchurl, libdmtx, pkgconfig, imagemagick}:
|
2014-10-23 06:54:49 +02:00
|
|
|
let
|
|
|
|
s = # Generated upstream information
|
|
|
|
rec {
|
|
|
|
baseName="dmtx-utils";
|
|
|
|
version="0.7.4";
|
|
|
|
name="${baseName}-${version}";
|
|
|
|
hash="1di8ymlziy9856abd6rb72z0zqzmrff4r3vql0q9r5sk5ax4s417";
|
|
|
|
url="mirror://sourceforge/project/libdmtx/libdmtx/0.7.4/dmtx-utils-0.7.4.tar.gz";
|
|
|
|
sha256="1di8ymlziy9856abd6rb72z0zqzmrff4r3vql0q9r5sk5ax4s417";
|
|
|
|
};
|
|
|
|
buildInputs = [
|
2015-07-28 17:57:02 +02:00
|
|
|
libdmtx pkgconfig imagemagick
|
2014-10-23 06:54:49 +02:00
|
|
|
];
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit (s) name version;
|
|
|
|
inherit buildInputs;
|
|
|
|
src = fetchurl {
|
|
|
|
inherit (s) url sha256;
|
|
|
|
};
|
|
|
|
meta = {
|
|
|
|
inherit (s) version;
|
|
|
|
description = "Data matrix command-line utilities";
|
|
|
|
license = stdenv.lib.licenses.lgpl2 ;
|
|
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|