nixpkgs/pkgs/development/libraries/libdmtx/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
685 B
Nix
Raw Normal View History

2021-02-22 14:45:30 +00:00
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, pkg-config
}:
stdenv.mkDerivation rec {
2021-02-22 14:45:30 +00:00
pname = "libdmtx";
version = "0.7.5";
2021-02-22 14:45:30 +00:00
src = fetchFromGitHub {
owner = "dmtx";
repo = "libdmtx";
rev = "v${version}";
sha256 = "0wk3fkxzf9ip75v8ia54v6ywx72ajp5s6777j4ay8barpbv869rj";
};
2021-02-22 14:45:30 +00:00
nativeBuildInputs = [ autoreconfHook pkg-config ];
meta = {
description = "An open source software for reading and writing Data Matrix barcodes";
2021-02-22 14:45:30 +00:00
homepage = "https://github.com/dmtx/libdmtx";
changelog = "https://github.com/dmtx/libdmtx/blob/v${version}/ChangeLog";
platforms = lib.platforms.all;
maintainers = [ ];
license = lib.licenses.bsd2;
};
}