From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Darrington Subject: [PATCH] gnu: Add qrencode. Date: Fri, 27 Jun 2014 09:41:07 +0200 Message-ID: <1403854867-16478-1-git-send-email-jmd@gnu.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0Qmi-0007Sn-G5 for guix-devel@gnu.org; Fri, 27 Jun 2014 03:41:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X0Qme-0001SQ-9L for guix-devel@gnu.org; Fri, 27 Jun 2014 03:41:24 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org Cc: John Darrington * gnu/packages/aidc.scm (qrencode): New variable. --- gnu/packages/aidc.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/aidc.scm b/gnu/packages/aidc.scm index f41a9aa..b033255 100644 --- a/gnu/packages/aidc.scm +++ b/gnu/packages/aidc.scm @@ -22,6 +22,8 @@ #:renamer (symbol-prefix-proc 'license:)) #:use-module (guix packages) #:use-module (guix download) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages libpng) #:use-module (guix build-system gnu)) @@ -43,3 +45,25 @@ measurements. Barcodes can be output in PostScript or Encapsulated PostScript formats.") (license license:gpl3+) (home-page "http://www.gnu.org/software/barcode/"))) + +(define-public qrencode + (package + (name "qrencode") + (version "3.4.3") + (source (origin + (method url-fetch) + (uri (string-append + "http://fukuchi.org/works/qrencode/qrencode-" version + ".tar.bz2")) + (sha256 (base32 + "163sb580p570p27imc6jhkfdw15kzp8vy1jq92nip1rwa63i9myz")))) + (build-system gnu-build-system) + (inputs `(("libpng" ,libpng))) + (native-inputs `(("pkg-config" ,pkg-config))) + (synopsis "Encode data into a QR Code symbol") + (description "Libqrencode is a C library for encoding data in a QR Code +symbol, a kind of 2D symbology that can be scanned by handy terminals such as +a mobile phone with CCD. The capacity of QR Code is up to 7000 digits or 4000 +characters, and is highly robust.") + (license license:lgpl2.1+) + (home-page "http://fukuchi.org/works/qrencode"))) -- 1.7.10.4