From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Gerwitz Subject: [PATCH 1/2] gnu: Add pcsc-lite Date: Sat, 22 Oct 2016 12:04:24 -0400 Message-ID: <695f99b0c817ce14620b1897c01a7f648d78f6e0.1477454587.git.mtg@gnu.org> References: <87mvht1zwh.fsf@duckhunt.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57919) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzFRr-0007Rk-I2 for guix-devel@gnu.org; Wed, 26 Oct 2016 00:04:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzFRq-0000eO-Cq for guix-devel@gnu.org; Wed, 26 Oct 2016 00:04:19 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55798) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzFRq-0000eI-9S for guix-devel@gnu.org; Wed, 26 Oct 2016 00:04:18 -0400 Received: from localhost ([::1]:41476 helo=mikegerwitz-pc.gerwitz.local) by fencepost.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bzFRp-0003hs-Vu for guix-devel@gnu.org; Wed, 26 Oct 2016 00:04:18 -0400 In-Reply-To: <87mvht1zwh.fsf@duckhunt.i-did-not-set--mail-host-address--so-tickle-me> 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" To: guix-devel@gnu.org * gnu/packages/gnupg.scm (pcsc-lite): New variable. --- gnu/packages/gnupg.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm index 5fcc03a..da48e26 100644 --- a/gnu/packages/gnupg.scm +++ b/gnu/packages/gnupg.scm @@ -9,6 +9,7 @@ ;;; Copyright =C2=A9 2016 Christopher Allan Webber ;;; Copyright =C2=A9 2016 Nils Gillmann ;;; Copyright =C2=A9 2016 Christopher Baines +;;; Copyright =C2=A9 2016 Mike Gerwitz ;;; ;;; This file is part of GNU Guix. ;;; @@ -30,8 +31,10 @@ #:use-module (gnu packages) #:use-module (gnu packages adns) #:use-module (gnu packages curl) + #:use-module (gnu packages linux) #:use-module (gnu packages openldap) #:use-module (gnu packages perl) + #:use-module (gnu packages pkg-config) #:use-module (gnu packages pth) #:use-module (gnu packages python) #:use-module (gnu packages qt) @@ -73,6 +76,35 @@ Daemon and possibly more in the future.") (properties '((ftp-server . "ftp.gnupg.org") (ftp-directory . "/gcrypt/libgpg-error"))))) =20 +(define-public pcsc-lite + (package + (name "pcsc-lite") + (version "1.8.18") + (source (origin + (method url-fetch) + (uri (string-append + "https://alioth.debian.org/frs/download.php/file/4179/" + "pcsc-lite-" version ".tar.bz2")) + (sha256 + (base32 + "0189s10xsgcmdvc2sixakncwlv47cg6by6m9vdm038gn32q34bdj")))) + (build-system gnu-build-system) + (native-inputs + `(("perl" ,perl) ; for pod2man + ("pkg-config" ,pkg-config))) + (propagated-inputs + `(("libudev" ,eudev))) + (home-page "https://pcsclite.alioth.debian.org/pcsclite.html") + (synopsis "Middleware to access a smart card using PC/SC") + (description + "pcsc-lite provides an interface to communicate with smartcards and +readers using the SCard API. pcsc-lite is used to connect to the PC/SC da= emon +from a client application and provide access to the desired reader.") + (license (list license:bsd-3 ; pcsc-lite + license:expat ; src/sd-daemon.[ch] + license:isc ; src/strlcat.c src/strlcp= y.c + license:gpl3+)))) ; src/spy/* + (define-public libgcrypt (package (name "libgcrypt") --=20 2.9.3