From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KCQyCS9Dl2PlLAEAbAwnHQ (envelope-from ) for ; Mon, 12 Dec 2022 16:05:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id AOQhCS9Dl2OXUQEAauVa8A (envelope-from ) for ; Mon, 12 Dec 2022 16:05:19 +0100 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 86C8E3A948 for ; Mon, 12 Dec 2022 16:04:46 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4kLr-0007kR-BA; Mon, 12 Dec 2022 10:04:19 -0500 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 1p4kLb-0007d7-Jv for guix-patches@gnu.org; Mon, 12 Dec 2022 10:04:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p4kLa-0003Hc-TP for guix-patches@gnu.org; Mon, 12 Dec 2022 10:04:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p4kLa-0007yJ-Oi for guix-patches@gnu.org; Mon, 12 Dec 2022 10:04:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59974] My GNU Health package Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 12 Dec 2022 15:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59974 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: phodina , 59974@debbugs.gnu.org Received: via spool by 59974-submit@debbugs.gnu.org id=B59974.167085739530592 (code B ref 59974); Mon, 12 Dec 2022 15:04:02 +0000 Received: (at 59974) by debbugs.gnu.org; 12 Dec 2022 15:03:15 +0000 Received: from localhost ([127.0.0.1]:53510 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4kKo-0007xL-G1 for submit@debbugs.gnu.org; Mon, 12 Dec 2022 10:03:14 -0500 Received: from mail-wm1-f47.google.com ([209.85.128.47]:55879) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4kKm-0007wx-Mq for 59974@debbugs.gnu.org; Mon, 12 Dec 2022 10:03:13 -0500 Received: by mail-wm1-f47.google.com with SMTP id m19so5647281wms.5 for <59974@debbugs.gnu.org>; Mon, 12 Dec 2022 07:03:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :from:to:cc:subject:date:message-id:reply-to; bh=tlciib3KxS65bqCzhOSdaF74r9E+J38YJO72l0Y0KdI=; b=CbIIGF4SpgNBpu/iVx6ylipeO6fqYkN7AvxY/XhkI3WbyBoSOaGQzLGzHFoCHL8z9d J6bJkTvCa0+SxfG77avWs7cCzIuuC2QPjWSg0zQcyjs9d4tap7+LJNUhIVr3K0iCNnDx bEqLVLs1+3x7TcGq5XC9S8FEjVWoscX9EUKWxsKabx2AhpOuVqiy3iPJ3f8H9EC7eMXI SJmx028xftBiC3bho1FQhp+MAGEypBDpppzoH4So2FjBRkUyAxmK96Q5ZINdXAdmwVlP Y0zbxuI2vSkfi4MPEgrVrRKei0Thdb4Sj8wFtxHjZrZ3Oi4to4B48BsYlP/K9gC//n8o tanA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=tlciib3KxS65bqCzhOSdaF74r9E+J38YJO72l0Y0KdI=; b=5NwpzDWvm/pOqiamPxTCNj2wM8L+EffEC9ekPTWFKN9TXtEYjHkEti3AWU2W+rkixA eY1gmUtnRhPJO5jHtJqFZDKNhyOx47kdW14RwjD0lHhNFoRMYjtJI1U8hab1BDnDYahy DZsVY9e6d8xDwPLmJhgdtUAp53t8+2FgerFeB9WntcEaiCTTctY6Kqk4G6ZtxRvUJAdW n6FJGwPQCTImampQ1gkbsUQi9Yxz6h9LrJD14v3busBN3D//eQEhQAXcFt2+6GwB+Fmv DkDamO0O6ETPtjR3HRYn7V39SRF3tfy+++Z5pOcGS18qxu9IHgO13m7Ii1wx5KeBgOfD Elbg== X-Gm-Message-State: ANoB5pmodpfpOFHWdydp2lwp8Nnb+zuwUFiys2uvuy1+LFMyYTkwtPFY HrFDrMxMPGHixtW572Zu+C+9tYzB19g= X-Google-Smtp-Source: AA0mqf7XRmG4F//vLBp0QtwqJdtlYp7/4Jrv+kFkLBzJToqvVXWihX25XEyp8msmSU7EA4uWYN4d0w== X-Received: by 2002:a05:600c:538b:b0:3c6:e61e:b011 with SMTP id hg11-20020a05600c538b00b003c6e61eb011mr3203956wmb.2.1670857387000; Mon, 12 Dec 2022 07:03:07 -0800 (PST) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id p4-20020a1c5444000000b003d1e051f671sm9402221wmi.9.2022.12.12.07.03.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Dec 2022 07:03:06 -0800 (PST) From: zimoun In-Reply-To: References: Date: Mon, 12 Dec 2022 14:31:42 +0100 Message-ID: <877cywpx35.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670857486; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: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=tlciib3KxS65bqCzhOSdaF74r9E+J38YJO72l0Y0KdI=; b=fiC5Kmf17VzPzmIlhtU4vg1cYtsWIYQ7HRg8fXa6EyA7IyJbTbdY7KVysx6krQwcfNF7Lb 6ZAKgXolvMrf3pG6MHyojuTEn/sD7dcBoF2zV9hX6ap3vg/g6glU6Edy+aPeaxO8zqjYZR AFW5O1QK8sOHbmGkQZIg3rIPde9JuM2NfyJP0gJySDYxCt1KQ3HmcuuxlOrxlt9eDWFSMK vdP5FrhMT2VMcTUAwC7mZRmrjbFS8QtlmnHB0bDEirUCbpThcTX29UUTp1QssZiIWyuBEd kAUPaAlHUXCXdEKz2ohJT0ua19Id9clbKnLwKuYRnwtNX3jFZNXvebvdRy1bag== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=CbIIGF4S; 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=1670857486; a=rsa-sha256; cv=none; b=u4mYWZl988yYq+tdIEEYf3/M8jauD7GbDRuy3ihwJgM/2Y2zSZ+iuL646t9z/qO0/MmS4l ErIjFZAE0SsU3nFSEa236jBuWvMsXr73A77V8V27633t3Zi4lHgxIW0lFdJVLVcmiztqOt CPKagA33cw3dJ2cZMES5tYLYgvy/7JITgbRijBd9AvLVey/D8JCTulSTM7lJuKmm7cprC7 7wFZI7WIuEZbfygB4AfvCqBb1Yhen2vHN/Z/MNJQ9MYb8yBs9UkK6laW1OQYJgHvFjQbOh tpF/wmxi+NXGh5mf3NI/sQxrTHjXUkuFaoCoFXetP2sAh5qbbOY//VPb/tXQKA== X-Migadu-Spam-Score: -1.86 X-Spam-Score: -1.86 X-Migadu-Queue-Id: 86C8E3A948 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=CbIIGF4S; 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) X-TUID: 9P8L9N5oUpgQ Hi, On Sun, 11 Dec 2022 at 17:48, phodina via Guix-patches via wrote: > here's libre medical package to track personal health. I tested with: --8<---------------cut here---------------start------------->8--- guix time-machine --branch=issue-59974 \ --commit=749c8e6d07caeb46f7686a705e62726214558bb1 \ --url=https://git.guix-patches.cbaines.net/git/guix-patches \ --disable-authentication \ -- shell mygnuhealth \ -- mygnuhealth --8<---------------cut here---------------end--------------->8--- and it builds and seems to work. > + (arguments > + (list #:phases #~(modify-phases %standard-phases > + (add-after 'install 'wrap-executable > + (lambda* (#:key inputs outputs #:allow-other-keys) > + (let ((out (assoc-ref outputs "out")) > + (qml "/lib/qt5/qml")) > + (wrap-program (string-append #$output > + "/bin/mygnuhealth") > + `("QML2_IMPORT_PATH" ":" prefix > + (,(string-append out qml) > + ,@(map (lambda (i) > + (string-append > + (assoc-ref inputs i) qml)) > + '("kirigami" > + "qtdeclarative" > + "qtgraphicaleffects" > + "qtquickcontrols" > + "qtquickcontrols2")))))))) Here, I have another indentation. I do not have an opinion. > + (add-before 'check 'env-setup > + (lambda* _ -^ Why? Is lambda is not enough here? > + (mkdir-p "/tmp/mygh/") > + (setenv "HOME" "/tmp")))))) > + (native-inputs (list python-pyside-2)) > + (inputs (list qtbase-5 > + qtdeclarative-5 > + qtgraphicaleffects > + qtquickcontrols-5 > + qtquickcontrols2-5 > + kirigami)) > + (propagated-inputs (list python-bcrypt python-matplotlib python-requests > + python-tinydb)) > + (home-page "https://www.gnuhealth.org") > + (synopsis "The GNU Health Personal Health Record") > + (description > + "This package provides GNUHealth Personal Health Record > +application for desktop and mobile devices that integrates with the GNU > +Health Federation.") > + (license gpl3+))) LGTM. Cheers, simon