gnu: Add new package barcode
authorJohn Darrington <jmd@gnu.org>
Thu, 26 Jun 2014 07:32:21 +0000 (09:32 +0200)
committerJohn Darrington <jmd@gnu.org>
Thu, 26 Jun 2014 17:49:09 +0000 (19:49 +0200)
* gnu/packages/aidc.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.

gnu-system.am
gnu/packages/aidc.scm [new file with mode: 0644]

index 9c91eac..f49d9b8 100644 (file)
@@ -28,6 +28,7 @@ GNU_SYSTEM_MODULES =                          \
   gnu/packages/acl.scm                         \
   gnu/packages/admin.scm                       \
   gnu/packages/algebra.scm                     \
+  gnu/packages/aidc.scm                        \
   gnu/packages/apl.scm                         \
   gnu/packages/apr.scm                         \
   gnu/packages/asciidoc.scm                    \
diff --git a/gnu/packages/aidc.scm b/gnu/packages/aidc.scm
new file mode 100644 (file)
index 0000000..f41a9aa
--- /dev/null
@@ -0,0 +1,45 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2014 John Darringon <jmd@gnu.org>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages aidc)
+  #:use-module (gnu packages)
+  #:use-module ((guix licenses)
+                #:renamer (symbol-prefix-proc 'license:))
+  #:use-module (guix packages)
+  #:use-module (guix download)
+  #:use-module (guix build-system gnu))
+
+
+(define-public barcode
+  (package
+    (name "barcode")
+    (version "0.99")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://gnu/barcode/barcode-"
+                          version ".tar.xz"))
+              (sha256 (base32
+                       "1indapql5fjz0bysyc88cmc54y8phqrbi7c76p71fgjp45jcyzp8"))))
+    (build-system gnu-build-system)
+    (synopsis "Convert text strings to printed bars in various standards")
+    (description "GNU Barcode is a flexible tool to produce printed barcodes
+from text strings.  It supports a variety of encoding standards and sizing
+measurements.  Barcodes can be output in PostScript or Encapsulated PostScript
+formats.")
+    (license license:gpl3+)
+    (home-page "http://www.gnu.org/software/barcode/")))