1{ lib
2, stdenv
3, fetchFromGitHub
4, autoreconfHook
5, pkg-config
6}:
7
8stdenv.mkDerivation rec {
9 pname = "libdmtx";
10 version = "0.7.7";
11
12 src = fetchFromGitHub {
13 owner = "dmtx";
14 repo = "libdmtx";
15 rev = "v${version}";
16 sha256 = "sha256-UQy8iFfl8BNT5cBUMVF1tIScFPfHekSofaebtel9JWk=";
17 };
18
19 nativeBuildInputs = [ autoreconfHook pkg-config ];
20
21 meta = {
22 description = "An open source software for reading and writing Data Matrix barcodes";
23 homepage = "https://github.com/dmtx/libdmtx";
24 changelog = "https://github.com/dmtx/libdmtx/blob/v${version}/ChangeLog";
25 platforms = lib.platforms.all;
26 maintainers = [ ];
27 license = lib.licenses.bsd2;
28 };
29}