From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id CD2DCh0k92VDvgAAqHPOHw:P1 (envelope-from ) for ; Sun, 17 Mar 2024 18:10:53 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id CD2DCh0k92VDvgAAqHPOHw (envelope-from ) for ; Sun, 17 Mar 2024 18:10:53 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=LEIej266; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710695452; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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=olhHVh6JpsoF+1TsRL65+yAJOwHzeh6BRTRDmPjWWws=; b=OTQO7Ssa85bLWwDVgjrHghmbS0Dqx2POqPQPfet5g0QzCV2oZg+EQA3c0DHegAGs6loOO6 y6HKxEALnuUcgJ1HkkjBfpMateBIXS4cEU4L4DAu6HZK795Pd+EADgli2CT+JVwG6hphKb PYEXOorT8Uph9RdC0Frv2cEVcnQefgxkKtD8bgHz6FiiSXjGn+OpAaFVgtcsJZhWurPGQJ 7YOB8cDmHlzTIUyJPQp7F7WTxUyqrQ8wdGmMeP1vGzXJNqYfWF2OYJMRaZkxAE3YIjcQmk JVXKtBjuyVDUT/9or+vu3QmYoHuncOPG2c/puR5dGY/j+q/SEOzGLptenicoAQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710695452; a=rsa-sha256; cv=none; b=CajERYC4WY3+MRNkHxD4ry/G44MZ/A9tC4jOaaswwNFk4oSeilTUXC4TQr/nO0BRBXLWQR nTxR5sIcfezj1o5K9LEds44bmPvbDq8xPhQBwngbampPRrraw6s9EMa2jrY0/cB7aH8gOp L9dcdKSOWigzn0ZaHETKqEqSJT2YSc3qKikQ3+jfceE59xFaXT+hFI4mlIPJCYUtQmYvAe pvgvP6Cy6LpzX8VbCnscCY0/guYShwHZHHepba5axFvl23jIYE4MttJOm1F8loePnjTSoN VS3z6RgAsU1u4iHsFt80/yDBsZdLvVzYjCDz7vxOajAe3vTyoAVwN4fwHUAwsg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=LEIej266; 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 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 B44106DDF5 for ; Sun, 17 Mar 2024 18:10:52 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rlu1p-0000Yq-2E; Sun, 17 Mar 2024 13:10:33 -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 1rlu1j-0000Kf-1I for guix-patches@gnu.org; Sun, 17 Mar 2024 13:10:28 -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 1rlu1i-0001Lr-OZ for guix-patches@gnu.org; Sun, 17 Mar 2024 13:10:26 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rlu2K-0005i1-BT for guix-patches@gnu.org; Sun, 17 Mar 2024 13:11:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#60238] [PATCH v3 7/7] gnu: Add fava. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Mar 2024 17:11:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60238 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60238@debbugs.gnu.org Cc: Sharlatan Hellseher , dan Received: via spool by 60238-submit@debbugs.gnu.org id=B60238.171069541621830 (code B ref 60238); Sun, 17 Mar 2024 17:11:04 +0000 Received: (at 60238) by debbugs.gnu.org; 17 Mar 2024 17:10:16 +0000 Received: from localhost ([127.0.0.1]:58857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rlu1X-0005fy-UP for submit@debbugs.gnu.org; Sun, 17 Mar 2024 13:10:16 -0400 Received: from mail-wr1-f43.google.com ([209.85.221.43]:51273) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rlu1P-0005ea-AT for 60238@debbugs.gnu.org; Sun, 17 Mar 2024 13:10:08 -0400 Received: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-33e17342ea7so1759300f8f.2 for <60238@debbugs.gnu.org>; Sun, 17 Mar 2024 10:09:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710695304; x=1711300104; darn=debbugs.gnu.org; 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=olhHVh6JpsoF+1TsRL65+yAJOwHzeh6BRTRDmPjWWws=; b=LEIej266Fj75Z34zRHYpGc5+aGKnpOrAPPZC02u5k9RMilu0MFaLFYZFFffvFS29G5 2iDyGNREehIpUC5zMh7E1H5eR0IBR+Md9j6Of4baCOvO0Oso0rSngCGQc+siBhmrcvx4 Q/VBL8th8yi4RsOVOASneAmj1HCMvm52Y5ZPSKW0RtUmCKsoWbK98C6kbPLjLorkX5y7 QIr30It/YCA4vDfaG5LzgAo2l+oCZj/17yjbn7z8sXJqOHwsUXfsN9FmymoEiRyLIcUi iD+4IiYCVw342tUDPEqpOgYdXZxZs9mX5p4TYvnPXgtg131hkoB0iJG7R8fbIVBlluND Araw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710695304; x=1711300104; 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=olhHVh6JpsoF+1TsRL65+yAJOwHzeh6BRTRDmPjWWws=; b=voGECPnbMWknPcL6U3Pvp2cvhaHC5SuSRBIRIsuD4BKoQGZWc83JtDZ5qXEGDogolg v8NOC89w1Y2sBpgS+CNMMPsbl8FrBrbE/MW8IlLMcxT/0urssnhZ0GAcuB/8UVCJRudc wmr3AS2FU7n6pwQDt33jJ3umKNnz7kMMcVdH/lpU25VDQndYTqLJOntyjNOIas13Djry sapv8MqLMzBoK0PoDSnwwIcX44RNaqvE1qam07jPIoUJ1TUlRAu6DpgcA1pAFkad8NhC mpN1AjKfiR4vsdiPy7tyhMfhQZ2wXa3w6tyXwsawETf8KikclQkB64CFRlNBm5u0Imfv 4dMw== X-Gm-Message-State: AOJu0YyQESlc8FvEKhBgGZqSYhweD73blGvC1G2lhivXmzmszmfEvEd5 SyxbWPzQdV209gXIv7s8j61cxEvbRmzm6i1Ydd1lJYuKVXn+KV1QTxvIGVuTsn4= X-Google-Smtp-Source: AGHT+IEPgwFK6RtkLM/mLuGu0GcRZYtIGlE77Y5diFc4zW7wmarW+A2Lh53qmPU1fU0EBol3vL4WrQ== X-Received: by 2002:adf:e9c7:0:b0:33e:7056:35b6 with SMTP id l7-20020adfe9c7000000b0033e705635b6mr6399293wrn.25.1710695304060; Sun, 17 Mar 2024 10:08:24 -0700 (PDT) Received: from localhost.localdomain (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id p10-20020a5d638a000000b0033e206a0a7asm7817968wru.26.2024.03.17.10.08.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Mar 2024 10:08:23 -0700 (PDT) From: Sharlatan Hellseher Date: Sun, 17 Mar 2024 17:08:14 +0000 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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.20 X-Spam-Score: -4.20 X-Migadu-Queue-Id: B44106DDF5 X-Migadu-Scanner: mx11.migadu.com X-TUID: XSZbA05v+GMo From: dan * gnu/packages/finance.scm (fava): New variable. Signed-off-by: Sharlatan Hellseher --- gnu/packages/finance.scm | 50 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index c248f614ab..e2d4b95a5e 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -31,6 +31,7 @@ ;;; Copyright © 2022 Maxim Cournoyer ;;; Copyright © 2022 Philip McGrath ;;; Copyright © 2022 Collin J. Doering +;;; Copyright © 2023 dan ;;; Copyright © 2022 Justin Veilleux ;;; Copyright © 2023 Frank Pursel ;;; Copyright © 2023 Skylar Hill @@ -2026,6 +2027,55 @@ (define-public beancount generate a variety of reports from them, and provides a web interface.") (license license:gpl2))) +(define-public fava + (package + (name "fava") + ;; XXX: Newer version requires Flask > 2.2, which is not available in Guix + ;; yet. + (version "1.24.4") + (source + (origin + (method url-fetch) + (uri (pypi-uri "fava" version)) + (sha256 + (base32 "1iwha9vx223iiyjqbixpz1lp8q766ikhi7xcap3pscjhldxlym4j")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'relax-requirements + (lambda _ + (substitute* "setup.cfg" + ((">=8,<10") ">8")))) + ;; Tests write to $HOME. + ;; FileNotFoundError: [Errno 2] No such file or directory + (add-before 'check 'set-home + (lambda _ + (setenv "HOME" "/tmp")))))) + (propagated-inputs + (list beancount + python-babel + python-cheroot + python-click + python-flask + python-flask-babel + python-jinja2 + python-markdown2 + python-ply + python-simplejson + python-werkzeug)) + (native-inputs + (list python-pytest + python-chardet + python-dateutil + python-setuptools-scm)) + (home-page "https://beancount.github.io/fava/") + (synopsis "Web interface for the accounting tool Beancount") + (description "Fava is a web interface for the double-entry bookkeeping +software Beancount with a focus on features and usability.") + (license license:expat))) + (define-public emacs-beancount ;; Note that upstream has not made any release since this project moved ;; into its own repository (it was originally part of beancount itself) -- 2.41.0