diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libdmtx')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/libdmtx/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libdmtx/default.nix b/nixpkgs/pkgs/development/libraries/libdmtx/default.nix new file mode 100644 index 000000000000..4c5ef2c33140 --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/libdmtx/default.nix @@ -0,0 +1,29 @@ +{ lib +, stdenv +, fetchFromGitHub +, autoreconfHook +, pkg-config +}: + +stdenv.mkDerivation rec { + pname = "libdmtx"; + version = "0.7.7"; + + src = fetchFromGitHub { + owner = "dmtx"; + repo = "libdmtx"; + rev = "v${version}"; + sha256 = "sha256-UQy8iFfl8BNT5cBUMVF1tIScFPfHekSofaebtel9JWk="; + }; + + nativeBuildInputs = [ autoreconfHook pkg-config ]; + + meta = { + description = "An open source software for reading and writing Data Matrix barcodes"; + 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; + }; +} |