From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KJPIISYixF/oQQAA0tVLHw (envelope-from ) for ; Sun, 29 Nov 2020 22:35:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 4K6KHSYixF/WKQAAbx9fmQ (envelope-from ) for ; Sun, 29 Nov 2020 22:35:18 +0000 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 52E599401BC for ; Sun, 29 Nov 2020 22:35:18 +0000 (UTC) Received: from localhost ([::1]:36160 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjVHp-0000YC-2v for larch@yhetil.org; Sun, 29 Nov 2020 17:35:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44344) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjVGh-00004q-3f for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41332) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjVGg-0005dg-SU for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kjVGg-0002Vr-Pw for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44954] [PATCH 12/12] gnu: Add hledger-web. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Nov 2020 22:34:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44954 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44954@debbugs.gnu.org Cc: Giacomo Leidi Received: via spool by 44954-submit@debbugs.gnu.org id=B44954.16066892169543 (code B ref 44954); Sun, 29 Nov 2020 22:34:06 +0000 Received: (at 44954) by debbugs.gnu.org; 29 Nov 2020 22:33:36 +0000 Received: from localhost ([127.0.0.1]:52867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjVGC-0002Tm-6b for submit@debbugs.gnu.org; Sun, 29 Nov 2020 17:33:36 -0500 Received: from latitanza.investici.org ([82.94.249.234]:42843) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjVFz-0002R9-HN for 44954@debbugs.gnu.org; Sun, 29 Nov 2020 17:33:23 -0500 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4CkjnH2QtRz8sgp; Sun, 29 Nov 2020 22:33:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1606689203; bh=bcrfkfTNuWQ7cTxQUMOycFr6qtPulFSerd02KFnMibM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iQXOj6G6TY2UVEfBi9Oky3KK6BV8EiCpWgqdlAFIb+LVjpC5GGBdYOGsGCnKBqAnY meXaH+kBnBraSFWJ5ILiyOz9701numcbxrJKAvuozOJcP/fT9NqrNknJ+7uhyMZAy+ NqRAkubkmmZF/5wn/edVjA2+q69PH0Xp9S9/I93U= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4CkjnH0ZDjz8sgl; Sun, 29 Nov 2020 22:33:22 +0000 (UTC) From: Giacomo Leidi Date: Sun, 29 Nov 2020 23:33:01 +0100 Message-Id: <20201129223301.19210-12-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201129223301.19210-1-goodoldpaul@autistici.org> References: <20201129223301.19210-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) 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" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 3.72 X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=autistici.org header.s=stigmate header.b=iQXOj6G6; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-TUID: ZR/LtaGGgmfp * gnu/packages/finance.scm (hledger-web): New variable. --- gnu/packages/finance.scm | 61 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index b02d39fa78..4dee1b8746 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -1648,3 +1648,64 @@ generate a variety of reports from them, and provides a web interface.") (synopsis "Emacs mode for beancount") (description "Emacs-beancount is an Emacs mode for the Beancount accounting tool."))) + +(define-public hledger-web + (package + (name "hledger-web") + (version "1.19.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/hledger-web/hledger-web-" + version + ".tar.gz")) + (sha256 + (base32 + "03wak0dgxhf7y2mc2az4xcypgz1z1lf65vn6kj98z063pmlwp1b0")))) + (build-system haskell-build-system) + (inputs + `(("ghc-decimal" ,ghc-decimal) + ("ghc-aeson" ,ghc-aeson) + ("ghc-blaze-html" ,ghc-blaze-html) + ("ghc-blaze-markup" ,ghc-blaze-markup) + ("ghc-case-insensitive" ,ghc-case-insensitive) + ("ghc-clientsession" ,ghc-clientsession) + ("ghc-cmdargs" ,ghc-cmdargs) + ("ghc-conduit" ,ghc-conduit) + ("ghc-conduit-extra" ,ghc-conduit-extra) + ("ghc-data-default" ,ghc-data-default) + ("ghc-extra" ,ghc-extra) + ("ghc-hjsmin" ,ghc-hjsmin) + ("hledger" ,hledger) + ("ghc-hledger-lib" ,ghc-hledger-lib) + ("ghc-http-client" ,ghc-http-client) + ("ghc-http-conduit" ,ghc-http-conduit) + ("ghc-http-types" ,ghc-http-types) + ("ghc-megaparsec" ,ghc-megaparsec) + ("ghc-network" ,ghc-network) + ("ghc-shakespeare" ,ghc-shakespeare) + ("ghc-unix-compat" ,ghc-unix-compat) + ("ghc-unordered-containers" + ,ghc-unordered-containers) + ("ghc-utf8-string" ,ghc-utf8-string) + ("ghc-wai" ,ghc-wai) + ("ghc-wai-cors" ,ghc-wai-cors) + ("ghc-wai-extra" ,ghc-wai-extra) + ("ghc-wai-handler-launch" + ,ghc-wai-handler-launch) + ("ghc-warp" ,ghc-warp) + ("ghc-yaml" ,ghc-yaml) + ("ghc-yesod" ,ghc-yesod) + ("ghc-yesod-core" ,ghc-yesod-core) + ("ghc-yesod-form" ,ghc-yesod-form) + ("ghc-yesod-static" ,ghc-yesod-static))) + (home-page "https://hledger.org") + (synopsis + "Web-based user interface for the hledger accounting system") + (description + "This package provides a simple web-based user interface for +the hledger accounting system, providing a more modern UI than +the command-line or terminal interfaces. It can be used as a local +single-user UI, or as a multi-user UI for viewing/adding/editing on the web.") + (license license:gpl3))) -- 2.29.2