nixpkgs/pkgs/tools/graphics/dmtx-utils/default.nix
2021-02-27 18:37:07 +01:00

34 lines
754 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, pkg-config
, libdmtx
, imagemagick
}:
stdenv.mkDerivation rec {
pname = "dmtx-utils";
version = "0.7.6";
src = fetchFromGitHub {
owner = "dmtx";
repo = "dmtx-utils";
rev = "v${version}";
sha256 = "06m3qncqdlcnmw83n95yrx2alaq6bld320ax26z4ndnla41yk0p4";
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ libdmtx imagemagick ];
meta = {
description = "Data matrix command-line utilities";
homepage = "https://github.com/dmtx/dmtx-utils";
changelog = "https://github.com/dmtx/dmtx-utils/blob/v${version}/ChangeLog";
license = lib.licenses.lgpl2;
maintainers = [ lib.maintainers.raskin ];
platforms = lib.platforms.unix;
};
}