@@ -26,6 +26,7 @@ (define-module (gnu packages aidc)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (gnu packages autotools)
#:use-module (gnu packages check)
@@ -36,6 +37,7 @@ (define-module (gnu packages aidc)
#:use-module (gnu packages image)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages popt)
#:use-module (gnu packages python)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages pretty-print)
@@ -257,3 +259,34 @@ (define-public qrcodegen-cpp
project also offers Java, Javascript, Python, C, and Rust implementations.")
(home-page "https://www.nayuki.io/page/qr-code-generator-library")
(license license:expat)))
+
+(define-public iec16022
+ (package
+ (name "iec16022")
+ (version "0.3.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/rdoeffinger/iec16022")
+ (commit "c9a9fd926fd1e6cca9782fe3f8c2bab66010ca51")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1k9hfcjcm64w0n20979k2bx5lmxqhsh6df11qxyjdy4aq0l6i62z"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'bootstrap 'disable-autogen-configure
+ (lambda _
+ (substitute* "autogen.sh"
+ (("^\\./configure") "# nop")))))))
+ (inputs (list popt))
+ (native-inputs (list autoconf automake libtool))
+ (synopsis "Command-line tool for producing Data Matrix barcodes")
+ (description
+ "Iec16022 is a non-interactive software package for producing Data Matrix
+barcodes as specified by ISO/IEC 16022. It produces ASCII, UTF-8, EPS, Bin,
+Stamp and PNG images.")
+ (home-page "https://github.com/rdoeffinger/iec16022")
+ (license license:gpl2+)))