From patchwork Tue Jun 15 15:37:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Trofimov X-Patchwork-Id: 30305 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5551327BC81; Tue, 15 Jun 2021 16:41:16 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C62CF27BC78 for ; Tue, 15 Jun 2021 16:41:15 +0100 (BST) Received: from localhost ([::1]:37800 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ltBBi-0002zy-OW for patchwork@mira.cbaines.net; Tue, 15 Jun 2021 11:41:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35386) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ltB7e-0003Yr-3B for guix-patches@gnu.org; Tue, 15 Jun 2021 11:37:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38988) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ltB7d-0005Ug-LB for guix-patches@gnu.org; Tue, 15 Jun 2021 11:37:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ltB7d-0005YK-J1 for guix-patches@gnu.org; Tue, 15 Jun 2021 11:37:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48997] [PATCH] gnu: Add ausweisapp2. References: <20210613071837.12152-1-sarg@sarg.org.ru> In-Reply-To: <20210613071837.12152-1-sarg@sarg.org.ru> Resent-From: Sergey Trofimov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Jun 2021 15:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48997 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48997@debbugs.gnu.org Cc: Sergey Trofimov Received: via spool by 48997-submit@debbugs.gnu.org id=B48997.162377141121328 (code B ref 48997); Tue, 15 Jun 2021 15:37:01 +0000 Received: (at 48997) by debbugs.gnu.org; 15 Jun 2021 15:36:51 +0000 Received: from localhost ([127.0.0.1]:50534 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ltB7T-0005Xw-4f for submit@debbugs.gnu.org; Tue, 15 Jun 2021 11:36:51 -0400 Received: from mail-wr1-f48.google.com ([209.85.221.48]:46984) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ltB7Q-0005Xe-Dg for 48997@debbugs.gnu.org; Tue, 15 Jun 2021 11:36:49 -0400 Received: by mail-wr1-f48.google.com with SMTP id a11so18826602wrt.13 for <48997@debbugs.gnu.org>; Tue, 15 Jun 2021 08:36:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sarg.org.ru; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=lnwyvQyewcztQ5m79CT7spYcNQtcdJRtK/T8qQe9i8U=; b=dy+go20zWljq6Xr/WAdLgYH/LlVRwtH6e4OitK12pPmqElDKTKYGwBnBJXyCISjZah t4E8hXxM0dsBq53sIXKMthty9xLRehDc71HXtDskP1QgijYM1l9xvEldcHWke+R3IKdy F4yVtoqPVPgvVaSmJjzlSbDsGRd5YYA7Syp0c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=lnwyvQyewcztQ5m79CT7spYcNQtcdJRtK/T8qQe9i8U=; b=lCZ028LS6UqO7IUKzxHvd5P8iI6wpbW3VR3IjatrEXRFYPSixDBV5erkoXhxY/wkP7 xCqGvudZX0T9nvLFcbe0Co8Z3IzQ/XT/d656YZGvM+wZ3xePNYEYrknFTBX4QnCPvix1 qhRADpVF3spTEqoQNUmzTM5ryB/PJhOQ1o5chHlnmHAxrAb5cWoeVC4WWj9SsaDhKsLK d59DWjBV0eB8BM2NVk/F36unfXwKoileYwNrTWOHndHs/1M1ViLa3JQmMul4KN4HffBA n8N2HYbNRb/W98AGMHb6UM+5yMTbI6Yqmo58p5q9QJ1hWyDDHNkwLI/IkvpzqzcvkIFY u1aQ== X-Gm-Message-State: AOAM533/ET1dckLy8hQcNR1LXBgQ6YfojO2h45rAL6j0gLi0hHEQ+Hy8 BaEhu8dYOwuYuJUCr8mES+UiI6qeTzrmm1fv X-Google-Smtp-Source: ABdhPJz2OvztAW9UTbNfVVAxrNn3gUDxubK4JlUJEoS2VxmwpewV7ke8+0GnQwpUr+XpRGn9hwxv0A== X-Received: by 2002:adf:f990:: with SMTP id f16mr26573010wrr.340.1623771402076; Tue, 15 Jun 2021 08:36:42 -0700 (PDT) Received: from localhost ([92.206.237.187]) by smtp.gmail.com with ESMTPSA id l3sm16112494wmh.2.2021.06.15.08.36.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Jun 2021 08:36:41 -0700 (PDT) From: Sergey Trofimov Date: Tue, 15 Jun 2021 17:37:21 +0200 Message-Id: <20210615153721.4608-1-sarg@sarg.org.ru> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/security-token.scm (ausweisapp2): New variable. * guix/licenses.scm (eupl1.2): New variable. --- gnu/packages/security-token.scm | 47 +++++++++++++++++++++++++++++++++ guix/licenses.scm | 6 +++++ 2 files changed, 53 insertions(+) diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm index 89783de965..555b8216a2 100644 --- a/gnu/packages/security-token.scm +++ b/gnu/packages/security-token.scm @@ -34,6 +34,7 @@ #:use-module (guix gexp) #:use-module (guix git-download) #:use-module (guix build-system cargo) + #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system python) @@ -56,6 +57,7 @@ #:use-module (gnu packages cyrus-sasl) #:use-module (gnu packages popt) #:use-module (gnu packages readline) + #:use-module (gnu packages qt) #:use-module (gnu packages tls) #:use-module (gnu packages tex) #:use-module (gnu packages perl) @@ -720,3 +722,48 @@ an unprivileged user.") for interaction with Nitrokey Pro, Nitrokey Storage, and Librem Key devices.") (license license:gpl3+))) + +(define-public ausweisapp2 + (package + (name "ausweisapp2") + (version "1.22.2") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/Governikus/AusweisApp2/releases" + "/download/" version "/AusweisApp2-" version ".tar.gz")) + (sha256 + (base32 + "1qh1m057va7njs3yk0s31kwsvv44fjlsdac6lhiw5npcwssgjn8l")))) + + (build-system cmake-build-system) + (native-inputs + `(("pkg-config" ,pkg-config) + ("qttools" ,qttools))) + (inputs `(("qtbase" ,qtbase) + ("qtsvg" ,qtsvg) + ("qtdeclarative" ,qtdeclarative) + ("qtwebsockets" ,qtwebsockets) + ("qtgraphicaleffects" ,qtgraphicaleffects) + ("qtquickcontrols2" ,qtquickcontrols2) + ("pcsc-lite" ,pcsc-lite) + ("openssl" ,openssl))) + (arguments + `(#:modules ((guix build cmake-build-system) + (guix build qt-utils) + (guix build utils)) + #:imported-modules (,@%cmake-build-system-modules + (guix build qt-utils)) + #:phases + (modify-phases %standard-phases + (add-after 'install 'wrap-qt + (lambda* (#:key outputs #:allow-other-keys) + (wrap-qt-program (assoc-ref outputs "out") "AusweisApp2") + #t))))) + (home-page "https://github.com/Governikus/AusweisApp2") + (synopsis + "Official authentication app for German ID cards and residence permits") + (description + "This app is developed and issued by the German government to be used for online +authentication with electronic German ID cards and residence titles. To use this app, +a supported RFID card reader or NFC-enabled smart phone is required.") + (license license:eupl1.2))) diff --git a/guix/licenses.scm b/guix/licenses.scm index e7457799ce..c455cc8c39 100644 --- a/guix/licenses.scm +++ b/guix/licenses.scm @@ -56,6 +56,7 @@ edl1.0 epl1.0 epl2.0 + eupl1.2 expat freetype freebsd-doc @@ -307,6 +308,11 @@ at URI, which may be a file:// URI pointing the package's tree." "https://www.eclipse.org/legal/epl-2.0/" "https://www.gnu.org/licenses/license-list#EPL2")) +(define eupl1.2 + (license "EUPL 1.2" + "https://directory.fsf.org/wiki/License:EUPL-1.2" + "https://www.gnu.org/licenses/license-list#EPL2")) + (define expat (license "Expat" "http://directory.fsf.org/wiki/License:Expat"