From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: 54691@debbugs.gnu.org
Cc: "Ludovic Courtès" <ludo@gnu.org>,
"Tobias Geerinckx-Rice" <me@tobias.gr>,
"Maxime Devos" <maximedevos@telenet.be>
Subject: bug#54691: [PATCH v3 2/6] gnu: Add daikichi.
Date: Sat, 23 Jul 2022 17:06:02 +0200 [thread overview]
Message-ID: <1cf2a24b8f569722b0f1c9d84c15fc7c9cbac303.camel@gmail.com> (raw)
In-Reply-To: <3fc3794df2d837c16ce768594c3ea9086b5f0abf.camel@telenet.be>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 3390 bytes --]
* gnu/packages/toys.scm (daikichi): New variable.
---
gnu/packages/toys.scm | 45 ++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 44 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/toys.scm b/gnu/packages/toys.scm
index fb2f367490..051b4a885d 100644
--- a/gnu/packages/toys.scm
+++ b/gnu/packages/toys.scm
@@ -2,7 +2,7 @@
;;; Copyright © 2017, 2018, 2020–2022 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019 Jesse Gibbons <jgibbons2357+guix@gmail.com>
;;; Copyright © 2019, 2020, 2021 Timotej Lazar <timotej.lazar@araneo.si>
-;;; Copyright © 2019 Liliana Marie Prikler <liliana.prikler@gmail.com>
+;;; Copyright © 2019, 2022 Liliana Marie Prikler <liliana.prikler@gmail.com>
;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Leo Famulari <leo@famulari.name>
;;;
@@ -23,22 +23,65 @@
(define-module (gnu packages toys)
#:use-module (gnu packages)
+ #:use-module (gnu packages base)
+ #:use-module (gnu packages bash)
#:use-module (gnu packages bison)
#:use-module (gnu packages flex)
#:use-module (gnu packages gtk)
#:use-module (gnu packages man)
+ #:use-module (gnu packages multiprecision)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages perl)
+ #:use-module (gnu packages pretty-print)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages xml)
#:use-module (gnu packages xorg)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system meson)
#:use-module (guix download)
+ #:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix utils))
+(define-public daikichi
+ (package
+ (name "daikichi")
+ (version "0.3.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.com/lilyp/daikichi")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1y35f1qpxl743s0s83dg5ivkvprv19mqn0azm14k3y8pmp6cs52z"))))
+ (build-system meson-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'hard-code-test-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* (list "test-dat.in" "test-strings.in")
+ (("(basename|cmp|diff|mktemp|rm|sed|seq)" cmd)
+ (search-input-file inputs
+ (string-append "bin/" cmd)))))))))
+ (inputs (list bash-minimal coreutils sed
+ fmt gmp))
+ (native-inputs (list pkg-config))
+ (home-page "https://gitlab.com/lilyp/daikichi")
+ (synopsis "Display random fortunes")
+ (description "Daikichi is an alternative implementation of
+@command{fortune}, which displays random quotes from a database.
+This package provides just the utilities and no quotes.")
+ (license license:gpl3+)
+ (native-search-paths
+ (list (search-path-specification
+ (variable "DAIKICHI_FORTUNE_PATH")
+ (files '("share/fortunes")))))))
+
(define-public lolcat
(let ((commit "35dca3d0a381496d7195cd78f5b24aa7b62f2154")
(revision "0"))
--
2.37.0
next prev parent reply other threads:[~2022-08-13 9:43 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-03 13:09 bug#54691: fortune-mod propagates various non-nice things Maxime Devos
2022-04-03 17:26 ` Liliana Marie Prikler
2022-04-03 18:12 ` Maxime Devos
2022-04-03 18:41 ` Maxime Devos
2022-04-04 10:41 ` Maxime Devos
2022-07-19 19:20 ` Maxime Devos
2022-07-20 4:31 ` Liliana Marie Prikler
2022-07-20 8:45 ` Maxime Devos
2022-07-20 16:57 ` Liliana Marie Prikler
2022-07-20 18:50 ` Maxime Devos
2022-04-03 18:20 ` Maxime Devos
2022-07-14 1:30 ` Maxim Cournoyer
2022-07-14 13:00 ` Csepp
2022-07-14 14:55 ` Maxim Cournoyer
2022-07-19 18:54 ` Maxime Devos
2022-07-19 19:45 ` Maxime Devos
2022-07-23 15:06 ` bug#54691: [PATCH v2 1/5] gnu: Add daikichi Liliana Marie Prikler
2022-07-23 15:06 ` Liliana Marie Prikler [this message]
2022-07-23 15:06 ` bug#54691: [PATCH " Liliana Marie Prikler
2022-07-23 15:11 ` bug#54691: [PATCH 2/5] gnu: Add fortunes-jkirchartz Liliana Marie Prikler
2022-07-23 19:54 ` Maxime Devos
2022-07-23 20:43 ` Liliana Marie Prikler
2022-07-23 21:41 ` Maxime Devos
2022-07-23 21:52 ` Liliana Marie Prikler
2022-07-23 22:13 ` Maxime Devos
2022-07-23 19:56 ` Maxime Devos
2022-07-23 20:53 ` Liliana Marie Prikler
2022-07-23 22:01 ` Maxime Devos
2022-07-24 1:09 ` bokr
2022-07-23 15:11 ` bug#54691: [PATCH v3 3/6] " Liliana Marie Prikler
2022-07-23 15:11 ` bug#54691: [PATCH v2 2/5] " Liliana Marie Prikler
2022-07-23 15:13 ` bug#54691: [PATCH 3/5] gnu: Remove fortune-mod Liliana Marie Prikler
2022-07-23 19:58 ` Maxime Devos
2022-07-23 20:54 ` Liliana Marie Prikler
2022-07-23 15:13 ` bug#54691: [PATCH v2 " Liliana Marie Prikler
[not found] ` <87y1w5sarm.fsf_-_@gnu.org>
2022-08-03 17:09 ` bug#54691: fortune-mod propagates various non-nice things Liliana Marie Prikler
2022-08-04 12:23 ` Ludovic Courtès
2022-08-04 15:37 ` [bug#56599] " Tobias Geerinckx-Rice via Guix-patches via
2022-08-04 17:12 ` Liliana Marie Prikler
2022-08-04 19:58 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
[not found] ` <20220806230112.GA16948@LionPure>
2022-08-06 23:05 ` Maxime Devos
2022-07-23 15:13 ` bug#54691: [PATCH v3 4/6] gnu: Remove fortune-mod Liliana Marie Prikler
2022-07-23 15:16 ` bug#54691: [PATCH v2 4/5] gnu: Remove rinutils Liliana Marie Prikler
2022-07-24 10:33 ` paren--- via Bug reports for GNU Guix
2022-07-24 11:27 ` Liliana Marie Prikler
2022-07-23 15:16 ` bug#54691: [PATCH v3 5/6] " Liliana Marie Prikler
2022-07-23 15:16 ` bug#54691: [PATCH 4/5] " Liliana Marie Prikler
2022-07-23 15:17 ` bug#54691: [PATCH 5/5] gnu: Remove shlomif-cmake-modules Liliana Marie Prikler
2022-07-23 15:17 ` bug#54691: [PATCH v3 6/6] " Liliana Marie Prikler
2022-07-23 15:17 ` bug#54691: [PATCH v2 5/5] " Liliana Marie Prikler
2022-08-13 9:26 ` bug#54691: [PATCH v3 1/6] build-system: copy: Support #:tests? Liliana Marie Prikler
2022-08-28 22:16 ` Liliana Marie Prikler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1cf2a24b8f569722b0f1c9d84c15fc7c9cbac303.camel@gmail.com \
--to=liliana.prikler@gmail.com \
--cc=54691@debbugs.gnu.org \
--cc=ludo@gnu.org \
--cc=maximedevos@telenet.be \
--cc=me@tobias.gr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).