From patchwork Tue Aug 8 04:14:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 52650 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 4DDE927BBE9; Tue, 8 Aug 2023 05:18:31 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS,T_PDS_PRO_TLD,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 44F4627BBE2 for ; Tue, 8 Aug 2023 05:18:29 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qTEAa-0005tg-Gt; Tue, 08 Aug 2023 00:18:08 -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 1qTEAZ-0005tU-6n for guix-patches@gnu.org; Tue, 08 Aug 2023 00:18:07 -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 1qTEAY-0006pQ-Sb for guix-patches@gnu.org; Tue, 08 Aug 2023 00:18:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qTEAT-0004aQ-Kc; Tue, 08 Aug 2023 00:18:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65139] [PATCH 1/3] gnu: Add pyotherside. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, maxim.cournoyer@gmail.com, iyzsong@envs.net, guix-patches@gnu.org Resent-Date: Tue, 08 Aug 2023 04:18:01 +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 , Andreas Enge , Maxim Cournoyer , =?utf-8?b?5a6L5paH5q2m?= X-Debbugs-Original-Xcc: Andreas Enge , Maxim Cournoyer , =?utf-8?b?5a6L5paH5q2m?= Received: via spool by 65139-submit@debbugs.gnu.org id=B65139.169146824317559 (code B ref 65139); Tue, 08 Aug 2023 04:18:01 +0000 Received: (at 65139) by debbugs.gnu.org; 8 Aug 2023 04:17:23 +0000 Received: from localhost ([127.0.0.1]:34715 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTE9q-0004Z8-PC for submit@debbugs.gnu.org; Tue, 08 Aug 2023 00:17:23 -0400 Received: from mail-qv1-xf34.google.com ([2607:f8b0:4864:20::f34]:60443) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTE9n-0004Yt-DS for 65139@debbugs.gnu.org; Tue, 08 Aug 2023 00:17:21 -0400 Received: by mail-qv1-xf34.google.com with SMTP id 6a1803df08f44-63c70dc7ed2so36529706d6.0 for <65139@debbugs.gnu.org>; Mon, 07 Aug 2023 21:17:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691468233; x=1692073033; 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=g4ZwOPecwN3FaJaYsomq4yREXyMLzBMgEMxp2d0Cssk=; b=G/gGdot1hcTaDgVkPZYZYUyuaE5T8c93Xs4eMNpFUrSgq2KsXyhiA6Y0HRR5eUMuOk Pd0T9G+YY5aJF2iEwJHTlvtTCpuEsZHZrbTDMuohdtgzZpDO1/KofDwOAuiBl3Qf3X7J T6IPQnb5ZTSOY0YW6AF0gLv+cquNacW8Kg9euL/AXmPtuudZY5JR/mT3qWL/TF1AA1sE o39ZC+H6IMsAlxsXmNOchBanwTT0S6vRxmIrrrT4PiANT60+cozMOFe1LxmVYtl0tC+m kDZBa3R+FFaTKjauvFbOBvfClCQvmIBGtoM4hNWBevjyNzaecRxz7JykAD/Kv65fIKIg dIXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691468233; x=1692073033; 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=g4ZwOPecwN3FaJaYsomq4yREXyMLzBMgEMxp2d0Cssk=; b=cX8YGebesNYgipBCT3eS0ahzmOB/DtOzMOj/BjpZnftP00EMAJsd28xN2ql4ArC2sX 8rMJ2ZsCkXKfuosTUMTANFhzToCJsFsdsY/IA/l2+E9fgAlreSPDI3Y3dK0a37eXajNH Mz3X3PHzRAjVaNZ42M/fbdi2cj0KsDm/IaQYH7tlaq0nOpXJ8OBXmvrwFAcbnl7YpbAO dW6GUa5qA7pPjx6NKtHzEJTIs320gKkvaE4WjAMEXamqfaFA4XcNqCE/3SfHb8S4ZkhL duKHgblHIiSwmDn6DIFoXIuw8/VsluE8sXhy9Lxcj/lcWKqoOIyGbJ1VfqEJpJgNGFFj 5WDw== X-Gm-Message-State: AOJu0YxNq8e22f/qW6FQhgr+4q6UBW7JXasvmW8AmXSJXk0g2NHI172B ARRYZPHVO7zZoAkZdC5dwpR0q/eVdhLsgCU5 X-Google-Smtp-Source: AGHT+IEjBxbA5is35OWNSqLt96WpNiUsZewcfqi84V6CePJUd21pOsUIueH1YIyhphGnfEMTWQR/mA== X-Received: by 2002:a0c:e38c:0:b0:636:e4f:6b89 with SMTP id a12-20020a0ce38c000000b006360e4f6b89mr11571777qvl.9.1691468233607; Mon, 07 Aug 2023 21:17:13 -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.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Aug 2023 21:17:12 -0700 (PDT) From: Maxim Cournoyer Date: Tue, 8 Aug 2023 00:14:04 -0400 Message-ID: <8b46df8977bee667a041d4b94e565d5ae76b02ab.1691468046.git.maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/qt.scm (pyotherside): New variable. --- gnu/packages/qt.scm | 49 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 5d7af0d0c8..581df38eaa 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -3215,6 +3215,55 @@ (define-public single-application-qt5 instances.") (license license:expat)))) +(define-public pyotherside + (package + (name "pyotherside") + (version "1.6.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/thp/pyotherside") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0vwl088p8zjkh2rwmzwpz5mkjs2rfyb80018dq4r571c9vpwp2r0")))) + (build-system qt-build-system) + (arguments + (list + #:qtbase qtbase + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-installation-prefix + (lambda _ + ;; The QT_INSTALL_QML property points to the qtbase + ;; installation prefix. + (substitute* "src/src.pro" + (("\\$\\$\\[QT_INSTALL_QML]") + (string-append #$output "/lib/qt" + #$(version-major (package-version qtbase)) + "/qml"))))) + (replace 'configure + (lambda _ + (invoke "qmake"))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "./tests/tests")))) + (replace 'install + ;; Specify a specific install target, otherwise the build fails + ;; attempting to install the qtquicktests target to the qtbase + ;; installation prefix. + (lambda _ + (invoke "make" "sub-src-install_subtargets")))))) + (inputs (list python qtdeclarative qtquickcontrols2 qtsvg)) + (home-page "https://thp.io/2011/pyotherside/") + (synopsis "Qt plugin providing access to a Python 3 interpreter from QML") + (description "Pyotherside is a Qt plugin providing access to a Python 3 +interpreter from QML for creating asynchronous mobile and desktop UIs with +Python.") + (license license:isc))) + (define-public python-sip (package (name "python-sip") From patchwork Tue Aug 8 04:14:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 52648 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 1C10F27BBEA; Tue, 8 Aug 2023 05:18:29 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS,T_PDS_PRO_TLD,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 06D5B27BBE2 for ; Tue, 8 Aug 2023 05:18:28 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qTEAZ-0005tS-0P; Tue, 08 Aug 2023 00:18:07 -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 1qTEAW-0005sp-7f for guix-patches@gnu.org; Tue, 08 Aug 2023 00:18:04 -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 1qTEAV-0006nx-VH for guix-patches@gnu.org; Tue, 08 Aug 2023 00:18:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qTEAU-0004aX-1N; Tue, 08 Aug 2023 00:18:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65139] [PATCH 2/3] gnu: Add pyotherside-for-qt5. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, maxim.cournoyer@gmail.com, iyzsong@envs.net, guix-patches@gnu.org Resent-Date: Tue, 08 Aug 2023 04:18:01 +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 , Andreas Enge , Maxim Cournoyer , =?utf-8?b?5a6L5paH5q2m?= X-Debbugs-Original-Xcc: Andreas Enge , Maxim Cournoyer , =?utf-8?b?5a6L5paH5q2m?= Received: via spool by 65139-submit@debbugs.gnu.org id=B65139.169146825217582 (code B ref 65139); Tue, 08 Aug 2023 04:18:01 +0000 Received: (at 65139) by debbugs.gnu.org; 8 Aug 2023 04:17:32 +0000 Received: from localhost ([127.0.0.1]:34718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTEA0-0004ZW-5f for submit@debbugs.gnu.org; Tue, 08 Aug 2023 00:17:32 -0400 Received: from mail-qv1-xf30.google.com ([2607:f8b0:4864:20::f30]:44226) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTE9y-0004ZH-24 for 65139@debbugs.gnu.org; Tue, 08 Aug 2023 00:17:30 -0400 Received: by mail-qv1-xf30.google.com with SMTP id 6a1803df08f44-63ce8bea776so29858566d6.0 for <65139@debbugs.gnu.org>; Mon, 07 Aug 2023 21:17:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691468244; x=1692073044; 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=7H359A7UKVmviY/AL9pIAEHX+ePtKTdZQjUvlMDLE/w=; b=O3eh/fRqYw4lBCg9h/qFcpasN6FitZ5tb7VG/YzTCSFfSeAZ1TCyFJ89xm6GzlXW4J zvjf7Crf2//TE8ZaIU6/WaBiIoF00LE+YxOm2v+ITL1aHxGvwwzaYFfaF1Jc+mFKu6fP YqKuTft1rbXobHOlBygYu5jyxxeWJHEnMMDcSDxez1AioDg7i6BFlhTfAiv0OJgSoXqP YjJmqv3xfl0miULbvdl28qIw5O0tGsYOqsRPT0CVPn+ilV7ltt99ZDcpXZQIEQzKVH6Z 29mzw0R08uj6pVn+tbSaBvpOf0Iw2KpPfOPToyjznpLo+xCYjJfqQwaggN61HQxyljbC D02w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691468244; x=1692073044; 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=7H359A7UKVmviY/AL9pIAEHX+ePtKTdZQjUvlMDLE/w=; b=YcGHAB3EVYT0e7HlB9Bg4cMs3Y/YyCe0jQiQKPXnbktchJHR7p0G8Qxv87cuPMNNRW zDoO2MkxNYBBGXfFJGxq/ND3Zsx1c/npI3VyiO+QrV7PkVq+xfdJOKvPNrTyF6bzxFzH MIpfUtC4GoeBmETSo15L3vOibVCkYxVGUSz4CLrd+U7vvAdnztFftcQsF5H9xmw9RTRT 2EwPEK5dZIb+gpR1psj+CghgSUL+Ou/ZhQFBmhH/WLDDjBI/UXKqBrFi8z5kwTbrcXhi gGPovj8ocvX9hTHgp7FeOqpZwzrMaT+U2iQYTgItvliPNOia76pPG0k0Z/owigUiU3tX e8Mw== X-Gm-Message-State: AOJu0Yz1T/KW+0anaZvcptHAPwp2l7FyvzFtJRIXOiEsbqPOuoZQbPkT yGtajM7GnxD8z34N+gDiscw9VFUy1LnP2mXC X-Google-Smtp-Source: AGHT+IGh07sHAWbYJrAyuVb2d/hJEcyhAPL7PFjztykglQC9VQ6p+pWNtGOLpKPEoEx3dXQIzjWLbQ== X-Received: by 2002:a0c:ed43:0:b0:636:1aae:1bcc with SMTP id v3-20020a0ced43000000b006361aae1bccmr10325069qvq.39.1691468244351; Mon, 07 Aug 2023 21:17:24 -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.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Aug 2023 21:17:23 -0700 (PDT) From: Maxim Cournoyer Date: Tue, 8 Aug 2023 00:14:05 -0400 Message-ID: <4db489d46ef60fcbf9bfe1ae580a99789e5f9c4d.1691468046.git.maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/qt.scm (pyotherside-for-qt5): New variable. --- gnu/packages/qt.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 581df38eaa..1184a85938 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -3264,6 +3264,29 @@ (define-public pyotherside Python.") (license license:isc))) +(define-public pyotherside-for-qt5 + (package/inherit pyotherside + (name "pyotherside-for-qt5") + (arguments + (substitute-keyword-arguments (package-arguments pyotherside) + ((#:qtbase _ #f) + qtbase-5) + ((#:phases phases '%standard-phases) + #~(modify-phases #$phases + (replace 'fix-installation-prefix + (lambda _ + ;; The QT_INSTALL_QML property points to the qtbase + ;; installation prefix. + (substitute* "src/src.pro" + (("\\$\\$\\[QT_INSTALL_QML]") + (string-append #$output "/lib/qt" + #$(version-major (package-version qtbase-5)) + "/qml"))))))))) + (inputs (modify-inputs (package-inputs pyotherside) + (replace "qtdeclarative" qtdeclarative-5) + (replace "qtquickcontrols2" qtquickcontrols-5) + (replace "qtsvg" qtsvg-5))))) + (define-public python-sip (package (name "python-sip") From patchwork Tue Aug 8 04:14:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 52649 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 05AAB27BBEA; Tue, 8 Aug 2023 05:18:31 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0840827BBE9 for ; Tue, 8 Aug 2023 05:18:28 +0100 (BST) 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 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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")