diff options
| author | Cayetano Santos <csantosb@inventati.org> | 2025-10-05 19:23:02 +0200 |
|---|---|---|
| committer | Cayetano Santos <csantosb@inventati.org> | 2025-12-03 15:10:50 +0100 |
| commit | e2e9af0360e5a5f0cd10b45ccc9b5f56a9f3e16a (patch) | |
| tree | c6a3efa1ad88c0ed2480ebf662b387f2198d6029 /gnu/packages/security-token.scm | |
| parent | 8b001ff7facc7c2ef3676d3a83b72603301c5444 (diff) | |
gnu: pcsc-tools: Update to 1.7.3.
* gnu/packages/security-token.scm (pcsc-tools): Update to 1.7.3.
[arguments]<#:phases>: Remove patch-data-paths.
[native-inputs]: Add autoconf-archive and python-minimal-wrapper; remove
gettext-minimal.
Change-Id: Ifc09fda45ff816aa9f8c9408c101cd708f204bea
Diffstat (limited to 'gnu/packages/security-token.scm')
| -rw-r--r-- | gnu/packages/security-token.scm | 50 |
1 files changed, 20 insertions, 30 deletions
diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm index e63c381785d..d0748ebf521 100644 --- a/gnu/packages/security-token.scm +++ b/gnu/packages/security-token.scm | |||
| @@ -277,7 +277,7 @@ from a client application and provide access to the desired reader.") | |||
| 277 | (define-public pcsc-tools | 277 | (define-public pcsc-tools |
| 278 | (package | 278 | (package |
| 279 | (name "pcsc-tools") | 279 | (name "pcsc-tools") |
| 280 | (version "1.6.2") | 280 | (version "1.7.3") |
| 281 | (source (origin | 281 | (source (origin |
| 282 | (method git-fetch) | 282 | (method git-fetch) |
| 283 | (uri (git-reference | 283 | (uri (git-reference |
| @@ -286,37 +286,27 @@ from a client application and provide access to the desired reader.") | |||
| 286 | (file-name (git-file-name name version)) | 286 | (file-name (git-file-name name version)) |
| 287 | (sha256 | 287 | (sha256 |
| 288 | (base32 | 288 | (base32 |
| 289 | "16kvw8y5289fp6y3z8l5w61gfrk872kd500a27sgr5k5dpr9vfbk")))) | 289 | "04v6srhfcx80r4xwsccbmanbsl6i7ri1q21kpii46kqwf24w9m54")))) |
| 290 | (build-system gnu-build-system) | 290 | (build-system gnu-build-system) |
| 291 | (arguments | 291 | (arguments |
| 292 | (list #:phases | 292 | (list |
| 293 | #~(modify-phases %standard-phases | 293 | #:phases #~(modify-phases %standard-phases |
| 294 | (add-after 'unpack 'patch-data-paths | 294 | (add-after 'patch-shebangs 'wrap-programs |
| 295 | (lambda _ | 295 | (lambda _ |
| 296 | (substitute* "ATR_analysis" | 296 | (for-each |
| 297 | (((string-append | 297 | (lambda (prog) |
| 298 | "\"/usr/local/pcsc/smartcard_list.txt\", " | 298 | (wrap-program (string-append #$output "/bin/" prog) |
| 299 | "\"/usr/share/pcsc/smartcard_list.txt\", " | 299 | `("PERL5LIB" = (,(getenv "PERL5LIB"))))) |
| 300 | "\"/usr/local/share/pcsc/smartcard_list.txt\"")) | 300 | '("ATR_analysis" "gscriptor" "scriptor")) |
| 301 | (string-append "\"" #$output | 301 | (wrap-program (string-append #$output "/bin/gscriptor") |
| 302 | "/share/pcsc/smartcard_list.txt\""))) | 302 | `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))) |
| 303 | (substitute* "ATR_analysis.1p" | 303 | (native-inputs |
| 304 | (("^(\\.IR \\./) ,\n$" _ cwd) | 304 | (list autoconf |
| 305 | (string-append cwd "\n")) | 305 | autoconf-archive |
| 306 | (("^\\.I /usr/local/pcsc/\n$") | 306 | automake |
| 307 | "") | 307 | libtool |
| 308 | (("/usr/share/pcsc/\n$") | 308 | pkg-config |
| 309 | (string-append #$output "/share/pcsc/\n"))))) | 309 | python-minimal-wrapper)) |
| 310 | (add-after 'patch-shebangs 'wrap-programs | ||
| 311 | (lambda _ | ||
| 312 | (for-each | ||
| 313 | (lambda (prog) | ||
| 314 | (wrap-program (string-append #$output "/bin/" prog) | ||
| 315 | `("PERL5LIB" = (,(getenv "PERL5LIB"))))) | ||
| 316 | '("ATR_analysis" "gscriptor" "scriptor")) | ||
| 317 | (wrap-program (string-append #$output "/bin/gscriptor") | ||
| 318 | `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))) | ||
| 319 | (native-inputs (list autoconf automake libtool gettext-minimal pkg-config)) | ||
| 320 | (inputs (list bash-minimal ;for wrap-program | 310 | (inputs (list bash-minimal ;for wrap-program |
| 321 | perl | 311 | perl |
| 322 | perl-gtk3 | 312 | perl-gtk3 |
