me
/
guix
Archived
1
0
Fork 0

gnu: ausweisapp: Update to 2.1.0.

* gnu/packages/security-token.scm (ausweisapp2): Deprecate and rename to...
(ausweisapp): ... this. Update to 2.1.0.
[build-system]: Switch to qt-build-system.
[inputs]: Update dependencies to Qt6.
[native-inputs]: Replace qttools-5 with qttools.
master
Sergey Trofimov 2024-03-10 08:26:17 +01:00 committed by Maxim Cournoyer
parent 2c55353c79
commit 9e89b22768
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 26 additions and 23 deletions

View File

@ -41,6 +41,7 @@
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module ((guix licenses) #:prefix license:) #:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix deprecation)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix gexp) #:use-module (guix gexp)
#:use-module (guix utils) #:use-module (guix utils)
@ -950,43 +951,42 @@ for interaction with Nitrokey Pro, Nitrokey Storage, and Librem Key
devices.") devices.")
(license license:gpl3+))) (license license:gpl3+)))
(define-public ausweisapp2 (define-public ausweisapp
(package (package
(name "ausweisapp2") (name "ausweisapp")
(version "1.22.2") (version "2.1.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/Governikus/AusweisApp2/releases" (uri (string-append "https://github.com/Governikus/AusweisApp/releases"
"/download/" version "/AusweisApp2-" version ".tar.gz")) "/download/" version "/AusweisApp-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1qh1m057va7njs3yk0s31kwsvv44fjlsdac6lhiw5npcwssgjn8l")))) "1jzxfybjrc3byw42bqjvn1nsn7vbgcl8y94sywjy6vaj3a58hy36"))))
(build-system cmake-build-system) (build-system qt-build-system)
(native-inputs (native-inputs
(list pkg-config qttools-5)) (list pkg-config qttools))
(inputs (inputs
(list qtbase-5 (list qtbase
qtsvg-5 qtsvg
qtdeclarative-5 qtscxml
qtwebsockets-5 qtdeclarative
qtshadertools
qtwebsockets
qtgraphicaleffects qtgraphicaleffects
qtquickcontrols2-5
pcsc-lite pcsc-lite
openssl)) openssl))
(arguments (arguments
`(#:modules ((guix build cmake-build-system) `(#:qtbase ,qtbase
(guix build qt-utils)
(guix build utils))
#:imported-modules (,@%cmake-build-system-modules
(guix build qt-utils))
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'install 'wrap-qt (replace 'check
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key tests? parallel-tests? #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))) (when tests? (invoke "ctest" "--output-on-failure" "-j"
(wrap-qt-program "AusweisApp2" #:output out #:inputs inputs))))))) (if parallel-tests?
(home-page "https://github.com/Governikus/AusweisApp2") (number->string (parallel-job-count))
"1"))))))))
(home-page "https://github.com/Governikus/AusweisApp")
(synopsis (synopsis
"Authentication program for German ID cards and residence permits") "Authentication program for German ID cards and residence permits")
(description (description
@ -996,6 +996,9 @@ titles. To use this app, a supported RFID card reader or NFC-enabled smart
phone is required.") phone is required.")
(license license:eupl1.2))) (license license:eupl1.2)))
(define-deprecated/public ausweisapp2 ausweisapp
(deprecated-package "ausweisapp2" ausweisapp))
(define-public libfido2 (define-public libfido2
(package (package
(name "libfido2") (name "libfido2")