From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id IGojKhTC0WTmLQEASxT56A (envelope-from ) for ; Tue, 08 Aug 2023 06:18:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mFYjKhTC0WScEgEA9RJhRA (envelope-from ) for ; Tue, 08 Aug 2023 06:18:28 +0200 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 3316534E65 for ; Tue, 8 Aug 2023 06:18:28 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=PxE6SwBE; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691468308; a=rsa-sha256; cv=none; b=szstzQHW7XwB8fW6HTVc8XGjq664Y6HKrTu0VBiuqTYhNluT4S22D31z3WyzfqoGuswH7u 6UT+wPWCI8Qwts8obYiQVo6FVy4zPbMleK5nhWlsMGJgoU8pcmATznmISCmzuyPosqj/fz ZJSlfiQqt6MU1c7iyUekz8jDshGpBueqfaG+uu9N044+zWFtoaP4Hm042v5JkQJF387Ys6 crjUnKCdC5BJykIM9iEcmvRL1j0OqYpqJ1Hr+QLz610QFWwVXO90Z81awRMR8uxKvB+8HH cOf2rKGo8OnKc93hMeLGqqzCjgWhTbwv3hVIokJKMc3Yw8roDoeKMshsj7qXZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691468308; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=cWhXOt+SKzVw+rxpa+0ZvGrKWpluBi5WsJtPkAnz+xE=; b=b2HrTt73dkwAI5PXTTwu9RwkJRZ3D6sjl0Vwe2J4U621Ks42J9R/t/ROsQSQga50NbF34P G+37ZXDO8dH9CDDvC1ncGULQi5HvyvPlBSSKquKB+r0H5SaC6EC4gYW6S+m5MXiAeoNE0R lBvakVokbbqCTxcYictC8+G8++gXgUpeliGO69gxjYLwbKqUUUax4deQzpLdiwE4NLqLOT d3cerIjEAa+7poB8p6BEHV4PjKGSiL34k29rkSUhLrZNO9uTNXUBq2wwDqf2+69D79Zztz 0td4fXDwUpMqv9LL3mfZ/3laPJJchdvREVfIzZuphD9rNm8HNECPiouk4JYYXg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=PxE6SwBE; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qTEAW-0005t4-U0; Tue, 08 Aug 2023 00:18:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qTEAV-0005sf-Ll for guix-patches@gnu.org; Tue, 08 Aug 2023 00:18:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qTEAU-0006mq-S2 for guix-patches@gnu.org; Tue, 08 Aug 2023 00:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qTEAU-0004ad-Fp for guix-patches@gnu.org; Tue, 08 Aug 2023 00:18:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65139] [PATCH 3/3] gnu: Add yubikey-manager-qt. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 08 Aug 2023 04:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65139 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65139@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 65139-submit@debbugs.gnu.org id=B65139.169146826017604 (code B ref 65139); Tue, 08 Aug 2023 04:18:02 +0000 Received: (at 65139) by debbugs.gnu.org; 8 Aug 2023 04:17:40 +0000 Received: from localhost ([127.0.0.1]:34721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTEA7-0004Zq-Hj for submit@debbugs.gnu.org; Tue, 08 Aug 2023 00:17:39 -0400 Received: from mail-qv1-xf29.google.com ([2607:f8b0:4864:20::f29]:59518) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTEA5-0004ZV-8e for 65139@debbugs.gnu.org; Tue, 08 Aug 2023 00:17:37 -0400 Received: by mail-qv1-xf29.google.com with SMTP id 6a1803df08f44-63d03d3cac6so25855236d6.2 for <65139@debbugs.gnu.org>; Mon, 07 Aug 2023 21:17:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691468251; x=1692073051; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=cWhXOt+SKzVw+rxpa+0ZvGrKWpluBi5WsJtPkAnz+xE=; b=PxE6SwBEtEEhoGfU4FI2PjMc3QQUiHsB/n/OKb2Wm8CShVuGO4ZJHLd+scVuVWFkWD bU6K8pRhereC1IHHiI3D7011srrklJJmAjenWNS6ZCtEApkTGFDH21QUPGBKkJIRinT3 pux7LlPOmpYcYp0be3fBh4+ZfQ2z9izghAeV8k0B2ToVPdIyxF7Eo0BUANSPYGTmCyFK L04mJRpHBnuBst5Yngulv5INbFi7hN6u75neFWqJ5wzbISqa10ZQi7JQS3nIwdUvbdqI fmSIEFtiuYaxWUn3Dqkrt6YcytEV22DeKcFtm+Hs01DdZjb0Z2sprOZn4dnMRXWp9Ptu rHzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691468251; x=1692073051; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cWhXOt+SKzVw+rxpa+0ZvGrKWpluBi5WsJtPkAnz+xE=; b=S6JMIwhOPNM8DoHhfSGbhHt/zji8Q5O40KjI91a2WCzh/fNYaois7MlogVGKQUMIqM HDPaV21QgaoPDuFlStp3E1Vqw6VWNWrHtpKOxblMdPMU/OrfWPshPpKw6ftr+vu4tMzO EMlyvyRN4hTtT2yJM1GjEmUpLjeQJEZ8kPg+Gj3giEj5MCMJaZ70v6Q6k4sPsAvyoZOt ahdrm0tcBLi8m+AMMlh9m01p6KmimWN35wEn07V9UXrtJuVATNlCmSQnoUbM5/ipMDjh 2zqmM/Y9hHoDZ3dXVOA8UqwGqw4huI0KppDLv/TaxoO9a8Ebjj4spJz/0wo3365X5lur FGCg== X-Gm-Message-State: AOJu0Ywq6LmL8OIFje92scsBahOHIibuL2L0kepskoFijAk/D2dCSQn5 IA5vJDYv5oFdkDb2cr21dX1WQoXrfpqLQ0kA X-Google-Smtp-Source: AGHT+IE7CinIUkFvLujC/C+1IMucZthKXDZVNfqV0P27VY2F30MxsIcg0/Nw0Ek91pShRHzObgKt7g== X-Received: by 2002:a05:6214:588b:b0:626:290f:3e80 with SMTP id md11-20020a056214588b00b00626290f3e80mr9643658qvb.50.1691468251566; Mon, 07 Aug 2023 21:17:31 -0700 (PDT) Received: from localhost.localdomain (dsl-205-236-230-170.b2b2c.ca. [205.236.230.170]) by smtp.gmail.com with ESMTPSA id a10-20020a0ce38a000000b00636291d04adsm3374039qvl.47.2023.08.07.21.17.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Aug 2023 21:17:30 -0700 (PDT) From: Maxim Cournoyer Date: Tue, 8 Aug 2023 00:14:06 -0400 Message-ID: <4a7768c184069c62d884904e2cc42ba31088d429.1691468046.git.maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.56 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Queue-Id: 3316534E65 X-Spam-Score: -4.56 X-TUID: gl04eRtTK4NR * gnu/packages/security-token.scm (yubikey-manager-qt): New variable. --- gnu/packages/security-token.scm | 58 +++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm index 6d7f5c9ab2..3a0ed245ad 100644 --- a/gnu/packages/security-token.scm +++ b/gnu/packages/security-token.scm @@ -51,6 +51,7 @@ (define-module (gnu packages security-token) #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system pyproject) #:use-module (guix build-system python) + #:use-module (guix build-system qt) #:use-module (gnu packages autotools) #:use-module (gnu packages base) #:use-module (gnu packages bash) @@ -772,6 +773,63 @@ (define-public python-yubikey-manager an unprivileged user.") (license license:bsd-2))) +(define-public yubikey-manager-qt + (package + (name "yubikey-manager-qt") + (version "1.2.5") + (source (origin + (method url-fetch) + (uri (string-append "https://developers.yubico.com/" name + "/Releases/" name "-" version ".tar.gz")) + (sha256 + (base32 + "1qjp9p7i6957lf6ycwwz0178nmjgdyydb2f235bkin0pfm3rxcp9")))) + (build-system qt-build-system) + (arguments + (list + #:tests? #f ;no test suite + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-paths + (lambda _ + (substitute* "ykman-gui/deployment.pri" + (("/usr/bin") + (string-append #$output "/bin"))))) + (replace 'configure + (lambda _ + (invoke "qmake"))) + (add-after 'install 'install-desktop-resources + (lambda _ + (let ((datadir (string-append #$output "/share"))) + (with-directory-excursion "resources" + (install-file "icons/ykman.png" + (string-append datadir "/pixmaps")) + (install-file "com.yubico.yubikey_manager.metainfo.xml" + (string-append datadir "/metainfo")) + (install-file "ykman-gui.desktop" + (string-append datadir "/applications")))))) + (add-after 'qt-wrap 'wrap-more + (lambda _ + (wrap-program (string-append #$output "/bin/ykman-gui") + ;; Wrap PYTHONPATH so that pyotherside can find the + ;; yubikey-manager library. + `("GUIX_PYTHONPATH" prefix + (,(getenv "GUIX_PYTHONPATH"))))))))) + (native-inputs (list python-wrapper)) + (inputs (list pyotherside-for-qt5 + python-yubikey-manager + qtdeclarative-5 + qtgraphicaleffects + qtquickcontrols-5 + qtquickcontrols2-5 + qtsvg-5)) + (home-page "https://developers.yubico.com/yubikey-manager-qt/") + (synopsis "GUI for configuring any YubiKey over all USB interfaces") + (description "YubiKey Manager (Qt) is a graphical application for +configuring any YubiKey over all USB interfaces. For a CLI alternative, refer +to the @code{python-yubikey-manager} package.") + (license license:bsd-2))) + (define-public libnitrokey (package (name "libnitrokey") -- 2.41.0