1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2014 John Darringon <jmd@gnu.org>
3 ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
4 ;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
5 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
7 ;;; This file is part of GNU Guix.
9 ;;; GNU Guix is free software; you can redistribute it and/or modify it
10 ;;; under the terms of the GNU General Public License as published by
11 ;;; the Free Software Foundation; either version 3 of the License, or (at
12 ;;; your option) any later version.
14 ;;; GNU Guix is distributed in the hope that it will be useful, but
15 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
16 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 ;;; GNU General Public License for more details.
19 ;;; You should have received a copy of the GNU General Public License
20 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
22 (define-module (gnu packages aidc)
23 #:use-module (gnu packages)
24 #:use-module ((guix licenses) #:prefix license:)
25 #:use-module (guix packages)
26 #:use-module (guix download)
27 #:use-module (gnu packages pkg-config)
28 #:use-module (gnu packages image)
29 #:use-module (guix build-system gnu))
32 (define-public barcode
38 (uri (string-append "mirror://gnu/barcode/barcode-"
42 "1indapql5fjz0bysyc88cmc54y8phqrbi7c76p71fgjp45jcyzp8"))))
43 (build-system gnu-build-system)
44 (synopsis "Convert text strings to printed bars in various standards")
45 (description "GNU Barcode is a flexible tool to produce printed barcodes
46 from text strings. It supports a variety of encoding standards and sizing
47 measurements. Barcodes can be output in PostScript or Encapsulated PostScript
49 (license license:gpl3+)
50 (home-page "https://www.gnu.org/software/barcode/")))
52 (define-public qrencode
59 "https://fukuchi.org/works/qrencode/qrencode-" version
63 "1d2q5d3v8g3hsi3h5jq4n177bjhf3kawms09immw7p187f6jgjy9"))))
64 (build-system gnu-build-system)
65 (inputs `(("libpng" ,libpng)))
66 (native-inputs `(("pkg-config" ,pkg-config)))
67 (synopsis "Encode data into a QR Code symbol")
68 (description "Libqrencode is a C library for encoding data in a QR Code
69 symbol, a kind of 2D symbology that can be scanned by handy terminals such as
70 a mobile phone with CCD. The capacity of QR Code is up to 7000 digits or 4000
71 characters, and is highly robust.")
72 (license license:lgpl2.1+)
73 (home-page "https://fukuchi.org/works/qrencode")))
75 (define-public libdmtx
83 "mirror://sourceforge/libdmtx/" name "/" version "/"
84 name "-" version ".tar.bz2"))
86 (base32 "0xnxx075ycy58n92yfda2z9zgd41h3d4ik5d9l197lzsqim5hb5n"))))
87 (build-system gnu-build-system)
89 `(("pkg-config" ,pkg-config)))
90 (home-page "http://libdmtx.sourceforge.net/")
91 (synopsis "Library for reading and writing Data Matrix 2D barcodes")
92 (description "libdmtx is software for reading and writing Data Matrix 2D
93 barcodes on Linux and Unix. At its core libdmtx is a shared library, allowing
94 C/C++ programs to use its capabilities without restrictions or overhead.")
95 (license license:bsd-3)))