From patchwork Mon Mar 20 10:56:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Saku Laesvuori X-Patchwork-Id: 48212 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 C8E1516F28; Mon, 20 Mar 2023 13:17:36 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,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 C284316ECE for ; Mon, 20 Mar 2023 13:17:35 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1peFNY-00024W-50; Mon, 20 Mar 2023 09:16:48 -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 1peDCJ-0004D9-67 for guix-patches@gnu.org; Mon, 20 Mar 2023 06:57:03 -0400 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 1peDCI-0005Aj-QN for guix-patches@gnu.org; Mon, 20 Mar 2023 06:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1peDCI-0008JF-BK for guix-patches@gnu.org; Mon, 20 Mar 2023 06:57:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62292] [PATCH] gnu: Add kitsas Resent-From: Saku Laesvuori Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 20 Mar 2023 10:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62292 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62292@debbugs.gnu.org Cc: Saku Laesvuori X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167930977831880 (code B ref -1); Mon, 20 Mar 2023 10:57:02 +0000 Received: (at submit) by debbugs.gnu.org; 20 Mar 2023 10:56:18 +0000 Received: from localhost ([127.0.0.1]:53751 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peDBZ-0008I8-Vy for submit@debbugs.gnu.org; Mon, 20 Mar 2023 06:56:18 -0400 Received: from lists.gnu.org ([209.51.188.17]:60332) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peDBX-0008I0-TZ for submit@debbugs.gnu.org; Mon, 20 Mar 2023 06:56:16 -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 1peDBX-0002bC-MC for guix-patches@gnu.org; Mon, 20 Mar 2023 06:56:15 -0400 Received: from vmi571514.contaboserver.net ([75.119.130.101] helo=mail.laesvuori.fi) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1peDBV-00051g-Fe for guix-patches@gnu.org; Mon, 20 Mar 2023 06:56:15 -0400 Received: from X-kone.lan (88-113-24-127.elisa-laajakaista.fi [88.113.24.127]) by mail.laesvuori.fi (Postfix) with ESMTPSA id 7899634012E; Mon, 20 Mar 2023 11:56:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=laesvuori.fi; s=mail; t=1679309788; bh=BKbpW/6qxRft/owIge2+MjM4VgBxye71iW3K0ZJbbgM=; h=From:To:Cc:Subject:Date; b=vrfIq2AsE8gCevlGsF6GvMt9tR4msbPDe2xvxUsa2YZZ2JFk5j19oLJxJtskR0DDH qpymKfoS31MpSDXPazafd6UCy4oYk06zFbI11Cuk6QLVPGWAvv5mJCCi+1unT0QFkc S43itaRu+VHT4RKZkHtG0JhG6eWYUhJ+Aa9o7E8A= Date: Mon, 20 Mar 2023 12:56:02 +0200 Message-Id: <20230320105602.8040-1-saku@laesvuori.fi> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Received-SPF: pass client-ip=75.119.130.101; envelope-from=saku@laesvuori.fi; helo=mail.laesvuori.fi 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_PASS=-0.001, SPF_PASS=-0.001, T_PDS_PRO_TLD=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-Mailman-Approved-At: Mon, 20 Mar 2023 09:16:45 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Saku Laesvuori X-ACL-Warn: , Saku Laesvuori via Guix-patches X-Patchwork-Original-From: Saku Laesvuori via Guix-patches via From: Saku Laesvuori 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/finance.scm (kitsas): New variable. --- gnu/packages/finance.scm | 57 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) base-commit: 3a2200e1ad2049ad7e25295e6b4e013f74dd84e2 diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 3f3fc078f0..9c27df04ad 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -109,6 +109,7 @@ (define-module (gnu packages finance) #:use-module (gnu packages multiprecision) #:use-module (gnu packages ncurses) #:use-module (gnu packages networking) + #:use-module (gnu packages pdf) #:use-module (gnu packages pkg-config) #:use-module (gnu packages popt) #:use-module (gnu packages protobuf) @@ -1290,6 +1291,62 @@ (define-public keepkey-agent agent.") (license license:lgpl3))) +(define-public kitsas + (package + (name "kitsas") + (version "4.0.3") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/artoh/kitupiikki/archive/refs/tags/v" + version ".tar.gz")) + (sha256 + (base32 + "1a15axggskrvjb3r3yyr3kdxyzcygxjj756b6dzpwlca5g1l7x5w")))) + (build-system qt-build-system) + (inputs (list qtbase-5 libzip poppler-qt5 qtsvg-5)) + (arguments + '(#:test-target "check" + #:tests? #f + #:phases (modify-phases %standard-phases + (replace 'configure + (lambda* _ + (invoke "qmake" "kitsasproject.pro" "CONFIG+=release"))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (install-file "kitsas/kitsas" + (string-append out "/bin/")) + (install-file "kitsas.png" + (string-append out "/share/icons/")) + (install-file "kitsas.desktop" + (string-append out + "/share/applications/")))))))) + (home-page "https://kitsas.fi") + (synopsis "Finnish bookkeeping software for small organisations") + (description + "The software is in Finnish only. + + Finnish free software accounting program with the following goals and features: + + @itemize @bullet + @item + Ease of use + @item + Digital management of documents + @item + Creating a digital archive + @item + Built-in invoicing + @item + Creating reports + @end itemize") + (license license:gpl3))) + ; GPL3 with additional terms: + ; - Modified versions of this software should be clearly mentioned as modified + ; - Kitsas Oy will not support any modified version of this software + ; - The name Kitsas Oy should not be used in any modified version + (define-public python-stdnum (package (name "python-stdnum")