mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 22:26:40 -05:00
gnu: Add perl-pcsc.
* gnu/packages/perl.scm (perl-pcsc): New variable. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
parent
151be9ec76
commit
608b26699f
1 changed files with 35 additions and 0 deletions
|
@ -89,6 +89,7 @@ (define-module (gnu packages perl)
|
||||||
#:use-module (gnu packages python)
|
#:use-module (gnu packages python)
|
||||||
#:use-module (gnu packages readline)
|
#:use-module (gnu packages readline)
|
||||||
#:use-module (gnu packages sdl)
|
#:use-module (gnu packages sdl)
|
||||||
|
#:use-module (gnu packages security-token)
|
||||||
#:use-module (gnu packages textutils)
|
#:use-module (gnu packages textutils)
|
||||||
#:use-module (gnu packages video)
|
#:use-module (gnu packages video)
|
||||||
#:use-module (gnu packages web)
|
#:use-module (gnu packages web)
|
||||||
|
@ -12323,6 +12324,40 @@ (define-public perl-path-iterator-rule
|
||||||
arduous to type for one-liners.")
|
arduous to type for one-liners.")
|
||||||
(license license:asl2.0)))
|
(license license:asl2.0)))
|
||||||
|
|
||||||
|
(define-public perl-pcsc
|
||||||
|
(package
|
||||||
|
(name "perl-pcsc")
|
||||||
|
(version "1.4.14")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append
|
||||||
|
"mirror://cpan/authors/id/W/WH/WHOM/pcsc-perl-" version
|
||||||
|
".tar.bz2"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"17f6i16jv6ci6459vh6y3sz94vgcvykjjszcl4xsykryakjvf8i7"))))
|
||||||
|
(build-system perl-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
;; The test suite is disabled because it requires access to a card
|
||||||
|
;; reader with a card inserted.
|
||||||
|
#:tests? #f
|
||||||
|
#:phases #~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'patch-dlopen
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(substitute* "PCSCperl.h"
|
||||||
|
(("libpcsclite.so.1")
|
||||||
|
(search-input-file inputs
|
||||||
|
"/lib/libpcsclite.so.1"))))))))
|
||||||
|
(native-inputs (list pkg-config))
|
||||||
|
(inputs (list pcsc-lite))
|
||||||
|
(synopsis "Perl library for PC/SC")
|
||||||
|
(description
|
||||||
|
"This library allows communication with a smart card using PC/SC from a Perl
|
||||||
|
script.")
|
||||||
|
(home-page "https://pcsc-perl.apdu.fr/")
|
||||||
|
(license license:gpl2+)))
|
||||||
|
|
||||||
(define-public perl-pod-constants
|
(define-public perl-pod-constants
|
||||||
(package
|
(package
|
||||||
(name "perl-pod-constants")
|
(name "perl-pod-constants")
|
||||||
|
|
Loading…
Reference in a new issue