From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UB+cMG6xxWC+TwAAgWs5BA (envelope-from ) for ; Sun, 13 Jun 2021 09:19:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id h7LSK26xxWBnUQAAbx9fmQ (envelope-from ) for ; Sun, 13 Jun 2021 07:19:10 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2E0ABF1EA for ; Sun, 13 Jun 2021 09:19:09 +0200 (CEST) Received: from localhost ([::1]:37400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lsKOh-0005Xu-Tr for larch@yhetil.org; Sun, 13 Jun 2021 03:19:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47788) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsKOd-0005Xl-Ej for guix-patches@gnu.org; Sun, 13 Jun 2021 03:19:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59193) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lsKOc-0000jB-5k for guix-patches@gnu.org; Sun, 13 Jun 2021 03:19:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lsKOc-0005ye-3B for guix-patches@gnu.org; Sun, 13 Jun 2021 03:19:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48997] [PATCH] gnu: Add ausweisapp2. Resent-From: Sergey Trofimov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 13 Jun 2021 07:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48997 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48997@debbugs.gnu.org Cc: Sergey Trofimov X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162356870722931 (code B ref -1); Sun, 13 Jun 2021 07:19:01 +0000 Received: (at submit) by debbugs.gnu.org; 13 Jun 2021 07:18:27 +0000 Received: from localhost ([127.0.0.1]:42506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsKO3-0005xn-Ad for submit@debbugs.gnu.org; Sun, 13 Jun 2021 03:18:27 -0400 Received: from lists.gnu.org ([209.51.188.17]:52172) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsKO0-0005xf-JP for submit@debbugs.gnu.org; Sun, 13 Jun 2021 03:18:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47750) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsKO0-0004sz-CP for guix-patches@gnu.org; Sun, 13 Jun 2021 03:18:24 -0400 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:38728) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lsKNx-00008M-Lw for guix-patches@gnu.org; Sun, 13 Jun 2021 03:18:24 -0400 Received: by mail-wr1-x42c.google.com with SMTP id c9so10677077wrt.5 for ; Sun, 13 Jun 2021 00:18:19 -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=jsygW801Uwy4TN3KhsePcpi3OiHF4C3eXZaiU5vbqKg=; b=dv6yk5O08zrsaGcOy9Wvu5ICi8Wsyrow/jSzU76MEICL8+qaKqlEBxjuRGa2ZJVHZd DxwSpKpnPyqxY0DSkvLhLQ7DjFyPj7jARjhhCL5IX9VPqV+/iR6oxKDoLhibKIClMwUX p+6jq4tASMTjg8/oGcAgSkyoMAn2hP41eOq40= 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=jsygW801Uwy4TN3KhsePcpi3OiHF4C3eXZaiU5vbqKg=; b=lLbj7d7xvd1MQ+4XVIJrQaMi/Ll0Y0eUeEHc/1K+iflpkdUVT3TR4LMUyuwK/n4B2M 9SXBXlJ68w5IwnFUQkRG4jU9a9A1u1VUXtmxtwLbiS9cXkAJ3Kquy+qraGBOUyJsfRxQ nZObn8Pjam3wZgrfn1iZjPRqW5QIIH+5jbB22pEEXXgGQSsVdmGIPfIqOiJmrhNdVoED D3PpwU6f6AWjglWqSSwZ61q0l68riPV/ueIYADyff037eeoIi7ZkJcNjpoeuSHyHpE3z 9mi25ToP2Z+DduVdSg10Pt+O8ZJAbJR6eaMcXTn7y8wizF3PGjqfyPK2bD7jSizvtunz KkQg== X-Gm-Message-State: AOAM532qabaQQ4SvthIWZxF4KII6u0TSTiY7UBBt36jRMLKI4twQ/o26 ou45nsMtiBVF+fHPeSAZaOs5cHA81YRzLw== X-Google-Smtp-Source: ABdhPJyi0US44BQ5rEa7v9JDoALyD7uPNF37pveU/q+jWv7A7FbzECmuDFHaa0fHkwmHQFG0NoChHg== X-Received: by 2002:a5d:6acf:: with SMTP id u15mr12682040wrw.262.1623568698103; Sun, 13 Jun 2021 00:18:18 -0700 (PDT) Received: from localhost ([92.206.237.187]) by smtp.gmail.com with ESMTPSA id b135sm17289751wmb.5.2021.06.13.00.18.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Jun 2021 00:18:17 -0700 (PDT) From: Sergey Trofimov Date: Sun, 13 Jun 2021 09:18:37 +0200 Message-Id: <20210613071837.12152-1-sarg@sarg.org.ru> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=2a00:1450:4864:20::42c; envelope-from=sarg@sarg.org.ru; helo=mail-wr1-x42c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623568750; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=jsygW801Uwy4TN3KhsePcpi3OiHF4C3eXZaiU5vbqKg=; b=t79UvvRw32iM48LSqO8ro+MEbuiKM4CD+8996hUuCRBpjyYJxxmK4v53SBHfuhO/64l+w9 NTh1ZFsP2DCRZrHHBU580GRNEz2pss32T8u1rp/ed8x7VoScEXCrwgDwmqywJHQLsOLMvo tLOydn+yPLlS3B4M8r+D9F6jChy7cBfx5TgmXngHlF8zV0/bnlN8PdgPQHqF6t1Z5Aq2WL e05kBdFAU691iL7k6lBZxREVQVWt5g8JvLDgDL1PLLiEVcbpzm3YJRLZA4trQ1LZSoyqyU 4xTG2Kt0AbIfLqooBnF9Wrr8/xPpWfDztFcXVK9BGyBi6XMSezFwak7xYfUcbg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623568750; a=rsa-sha256; cv=none; b=CeRLCV8tlADfwIGsHAKhfeJuPr/LRWkYQvZ2Ru+dbfRHef/iwrYb45JyltialA1YkL8wOC Kw54RMCjiA43FNRa4Fg6HnPkv8uI7qydsXC7Pzi3lHdlMxJiyoaBp08mZXl31JgE4qmy21 l9TZIpxCdWNp5BjgexSuVV+aIs8ZsZ6L5B2Q0i1+c/RyaUM0ebNRjVHCIr+HmSdPwpYnjF kZsRltD+iqMQbZ4x4C0WaHaTuqsP/UulDmq2BoPHFs3ufjcib/S4sEusQ6JHAuDTPcP7Dz gdAfj5kzaKiWU5CV32Oj1CGU1Tdnor13bAct4WBu6P6irwRrlPhRFaGLNyIt2Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=sarg.org.ru header.s=google header.b=dv6yk5O0; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 5.08 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=sarg.org.ru header.s=google header.b=dv6yk5O0; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 2E0ABF1EA X-Spam-Score: 5.08 X-Migadu-Scanner: scn0.migadu.com X-TUID: ldMhoCQv4XwD --- gnu/packages/security-token.scm | 55 +++++++++++++++++++++++++++++++++ guix/licenses.scm | 6 ++++ 2 files changed, 61 insertions(+) diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm index 89783de965..da1334f1bf 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,56 @@ 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 + `(#:phases + (modify-phases %standard-phases + (add-after 'install 'wrap-executable + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (wrap-program (string-append out "/bin/AusweisApp2") + `("QT_PLUGIN_PATH" ":" prefix + ,(map (lambda (label) + (string-append (assoc-ref inputs label) + "/lib/qt5/plugins")) + '("qtbase" "qtdeclarative" + "qtsvg" "qtwebsockets"))) + `("QML2_IMPORT_PATH" ":" prefix + ,(map (lambda (label) + (string-append (assoc-ref inputs label) + "/lib/qt5/qml")) + '("qtdeclarative" "qtgraphicaleffects" + "qtquickcontrols2" "qtsvg")))) + #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" -- 2.32.0