From patchwork Tue Sep 13 21:45:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jacob Hrbek X-Patchwork-Id: 42615 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 6C36227BBEA; Tue, 13 Sep 2022 22:46:59 +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_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,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 B193B27BBE9 for ; Tue, 13 Sep 2022 22:46:58 +0100 (BST) Received: from localhost ([::1]:43442 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYDk9-0000Xf-OO for patchwork@mira.cbaines.net; Tue, 13 Sep 2022 17:46:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34778) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYDjH-0000X4-Th for guix-patches@gnu.org; Tue, 13 Sep 2022 17:46:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36149) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oYDjH-00060w-Ld for guix-patches@gnu.org; Tue, 13 Sep 2022 17:46:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oYDjH-0003kd-Bu for guix-patches@gnu.org; Tue, 13 Sep 2022 17:46:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57784] [PATCH] python-mygnuhealth: New package Resent-From: Jacob Hrbek Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 13 Sep 2022 21:46:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57784 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57784@debbugs.gnu.org Cc: Jacob Hrbek X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166310553014345 (code B ref -1); Tue, 13 Sep 2022 21:46:03 +0000 Received: (at submit) by debbugs.gnu.org; 13 Sep 2022 21:45:30 +0000 Received: from localhost ([127.0.0.1]:53079 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYDik-0003jI-CC for submit@debbugs.gnu.org; Tue, 13 Sep 2022 17:45:30 -0400 Received: from lists.gnu.org ([209.51.188.17]:48734) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYDii-0003jA-7A for submit@debbugs.gnu.org; Tue, 13 Sep 2022 17:45:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40686) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYDii-0000UU-2H for guix-patches@gnu.org; Tue, 13 Sep 2022 17:45:28 -0400 Received: from mail-40136.proton.ch ([185.70.40.136]:16713) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYDif-0005wJ-Nz for guix-patches@gnu.org; Tue, 13 Sep 2022 17:45:27 -0400 Date: Tue, 13 Sep 2022 21:45:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rixotstudio.cz; s=protonmail; t=1663105522; x=1663364722; bh=afwH55JlB8zxrXiWkcvwS1Z/I0VQjZ1o3DU8MwCXzWQ=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=Lcsidax+hSaxkEH4/HUzeWumiHO8ZQt+TI0z0lwxlOyYbWGs1yHg0AK+mQSCFse+z 62jN28mRqHvxzZbA26ZbLYRJN0ahBJyhM2RVRA3SqovHeAeAqD4R4jokTn0vmmfLQP wtxUFwmMwRjB2+IDEzLVxRj0yvysi5Dsl3NAZ8UGYP9q684jKrrvQ+0Fy9//hAb126 H25yPKmJqBi8W4iKlAu5kT3C/8IA5IcgYHUwhH38i/hsLk3SmmW+ush+MomQM8ASG3 iSOIEJa77ebwvMLanglb/HpLMwLiSr3LASLmrlDbfxQbFW2755dMUbBq3GEqkxa9GF FEee/2ISJkdpg== From: Jacob Hrbek Message-ID: <20220913214448.1976-2-kreyren@rixotstudio.cz> In-Reply-To: <20220913214448.1976-1-kreyren@rixotstudio.cz> References: <20220913214448.1976-1-kreyren@rixotstudio.cz> Feedback-ID: 30491181:user:proton MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.40.136; envelope-from=kreyren@rixotstudio.cz; helo=mail-40136.proton.ch 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches --- gnu/packages/mygnuhealth.scm | 61 ++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 gnu/packages/mygnuhealth.scm --- 2.37.1 diff --git a/gnu/packages/mygnuhealth.scm b/gnu/packages/mygnuhealth.scm new file mode 100644 index 0000000000..9d30419d8a --- /dev/null +++ b/gnu/packages/mygnuhealth.scm @@ -0,0 +1,61 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2022 Jacob Hrbek +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages mygnuhealth) + #:use-module (gnu packages python-crypto) + #:use-module (gnu packages python-xyz) + #:use-module (gnu packages python-web) + #:use-module (gnu packages databases) + #:use-module (gnu packages qt) + #:use-module (gnu packages kde-frameworks) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system python) + #:use-module (guix utils) + #:use-module ((guix licenses) #:prefix license:)) + +;;; Commentary: +;;; +;;; File defining recipe for building mygnuhealth on GNU Guix +;;; +;;; Code: + +(define-public python-mygnuhealth + (package + (name "python-mygnuhealth") + (version "1.0.5") + (source (origin + (method url-fetch) + (uri (pypi-uri "MyGNUHealth" version)) + (sha256 + (base32 + "1jcrriccqzb4jx7zayhiqmpvi3cvfy3bbf9zr3m83878f94yww8j")))) + (build-system python-build-system) + (native-inputs + (list python-bcrypt python-matplotlib python-requests python-tinydb)) + (propagated-inputs + (list python-pyside-2 kirigami qtbase-5 qtquickcontrols2-5)) + ;; FIXME-TEST(Krey): Tests are broken, don't know how to fix them + (arguments + `(#:tests? #f)) + (home-page "https://www.gnuhealth.org") + (synopsis "The GNU Health Personal Health Record") + (description "Personal health tracker written in python that integrates with the GNU Health Federation. It's user interface is using Kirigami and QtQuick with tinydb database") + (license license:gpl3))) + +;;; gnuhealth.scm ends here