From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kPBJKzZy92KQGgEAbAwnHQ (envelope-from ) for ; Sat, 13 Aug 2022 11:43:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 4AZYKjZy92Lm4wAAG6o9tA (envelope-from ) for ; Sat, 13 Aug 2022 11:43:18 +0200 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 6DD9C29F56 for ; Sat, 13 Aug 2022 11:43:18 +0200 (CEST) Received: from localhost ([::1]:58722 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oMnfp-0006hQ-BV for larch@yhetil.org; Sat, 13 Aug 2022 05:43:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33912) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMnfa-0006ew-VP for bug-guix@gnu.org; Sat, 13 Aug 2022 05:43:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41745) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oMnfa-0003MF-My for bug-guix@gnu.org; Sat, 13 Aug 2022 05:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oMnfa-0002hk-Jh for bug-guix@gnu.org; Sat, 13 Aug 2022 05:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#54691: [PATCH v3 2/6] gnu: Add daikichi. References: <3fc3794df2d837c16ce768594c3ea9086b5f0abf.camel@telenet.be> In-Reply-To: <3fc3794df2d837c16ce768594c3ea9086b5f0abf.camel@telenet.be> Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 13 Aug 2022 09:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54691 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 54691@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Tobias Geerinckx-Rice , Maxime Devos Received: via spool by 54691-submit@debbugs.gnu.org id=B54691.166038374510315 (code B ref 54691); Sat, 13 Aug 2022 09:43:02 +0000 Received: (at 54691) by debbugs.gnu.org; 13 Aug 2022 09:42:25 +0000 Received: from localhost ([127.0.0.1]:59718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMnez-0002gI-7B for submit@debbugs.gnu.org; Sat, 13 Aug 2022 05:42:25 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:40618) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMnes-0002fP-Vw for 54691@debbugs.gnu.org; Sat, 13 Aug 2022 05:42:20 -0400 Received: by mail-ed1-f67.google.com with SMTP id f22so3930020edc.7 for <54691@debbugs.gnu.org>; Sat, 13 Aug 2022 02:42:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:content-transfer-encoding:cc:to:subject :date:from:from:to:cc; bh=nHzw/aGoz15/+SJoZ3x3f0SnzUDpoEBJH/7ZdOkRq5s=; b=XH+lhisH8yKa84/G6/jS9rrnLHUezBOnnzuaci6GJWfv9V3EuamrezOUrYQUtzdPTn 9i7Eu02vM2HFoaNiO2bp8fScwg3lNry9WruN9lsb2PhcQPxH5Oj7vcxRg+YX1xohXe5f GfiWB7Az73wyU+LpuHh6w/0weZsyWJf7myqgnSrVh9XlUiMlMPaeQvEztXfyusUon5KA fDwhCicm7eiDvkzShL0Py4PHFffIalfXXwvWdg90Cso8MgMCOBUr1yNwf27guybcSq5w CgU9e7gfXo+kCqUuRpXJN6MjZATBAcU2pkjlJdOiMeCfwYwhOvhQzFHcO5L2kdAD0Rvu lt0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:content-transfer-encoding:cc:to:subject :date:from:x-gm-message-state:from:to:cc; bh=nHzw/aGoz15/+SJoZ3x3f0SnzUDpoEBJH/7ZdOkRq5s=; b=MA4YRDT/JWKUWE11AYJjv+m8Zh8rFHM8f6SMzhPbnhUrRJNXrM9YCOuapaJCE1Qzga AmUTiFOFe4INTTo4SknNn4SwdzdDLhc6K5xycH5zj9x+47CMzmJYo0FyDBdjoSLcZB7o 79pJe/SpclBerVr3d6uJmiXH5tQ9N8KVtsnzGoaF2V+nB7sStJdYIS5HgYT5p2VA1mBU qWTgk/QsQZHjACvDFpr4K1Bp5+sjLBlqys9Tu4knkTwu2IGjNmyNayzgAnXVKu2hk2sL h6FVO6jJtiQwDHb9aUVCowtZdOPCfHBCIDmzOY34rKzKknkQUOKz+7jIqVZazoGt677J 5dkg== X-Gm-Message-State: ACgBeo2kKaFjLpG2ykmJ3X3UiHvufFM9ymTABXpixKu9BsETPlyc7RE9 5rHuGhxJddqoO3YY9kqYdhOmbG3BVaY= X-Google-Smtp-Source: AA6agR4WynjQ7BqDLfpZ/wDYeIM4FE0QjoxYb/wOxWdcmBfcqzGIjNmILRsOkXnVRKkdbi7izGG6XA== X-Received: by 2002:a05:6402:2549:b0:440:5af7:f117 with SMTP id l9-20020a056402254900b004405af7f117mr7026280edb.259.1660383733279; Sat, 13 Aug 2022 02:42:13 -0700 (PDT) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id w25-20020a17090633d900b0072b1bc9b37fsm1689097eja.22.2022.08.13.02.42.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Aug 2022 02:42:12 -0700 (PDT) From: Liliana Marie Prikler Date: Sat, 23 Jul 2022 17:06:02 +0200 Content-Transfer-Encoding: 8bit Message-ID: <1cf2a24b8f569722b0f1c9d84c15fc7c9cbac303.camel@gmail.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1660383798; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=nHzw/aGoz15/+SJoZ3x3f0SnzUDpoEBJH/7ZdOkRq5s=; b=q7HpG1qJssZjtmMjNslohGcCHKVFGeJs9z8K2+vFNfSezT1KeQ9rc7rwrLJ2IR5dMBrN4m bdMmx5ItlAWni6CF0heK70w3JSCO3e2kuGrvSl65An7pXm5rQRxRT8sSCdQEkKMXO3NQwH bGKn7DrTUiC76c/ywOrciVkMtW121EFEq7PFrs7GPnwYg6A4UZfbPUcSFiv+KIeGdjpmBG k68hGZNsvnZRRs/YI6wduuOfsPJ1K15hPpJBMoj7rJNQSFNHS5NhEsYP9kFy1gOUoT85JW JpuHSKTib9KCR94/gLy6DRjKBB86gUPsVFLus6oKvX8tffESXJ4eqc16uDTuhw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660383798; a=rsa-sha256; cv=none; b=sbcAVmmvhMbDPCzjxqFvmyxLQMigcxD/tubaSHt7CoPE+L07k9Yzkp4DBrThpeqMkK4Fk3 QDlgs9LAY/1TeqMWYrmkuGDF4/t/j1McyMJ4vTooWO/CiYKZ4T+sQ+v5MM0Y+sP+IlWspW UA/cU66aFRcNm65Q5M5yu95/x/kTNipWuRJxKFJeGkgc+rYF3vOBkjMYVzIyLoagqs8p4E N2QraQtSFr79HXnDsY+7xoRjL9obvGga2v7zX8Ad3KDNYi8I0NhRvzbrIipXIHawaDI/t1 OAfQnuPwhuAlIlqRPgLRW4edeib2qAl7v3UtGe+GS0EvY+FYWfHxPlOOi5oGMw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=XH+lhisH; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 10.64 X-Spam: Yes Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=XH+lhisH; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 6DD9C29F56 X-Spam-Score: 10.64 X-Migadu-Spam: Yes X-Migadu-Scanner: scn0.migadu.com X-TUID: +2vLUEuSlNWW * 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 ;;; Copyright © 2019 Jesse Gibbons ;;; Copyright © 2019, 2020, 2021 Timotej Lazar -;;; Copyright © 2019 Liliana Marie Prikler +;;; Copyright © 2019, 2022 Liliana Marie Prikler ;;; Copyright © 2020 Efraim Flashner ;;; Copyright © 2021 Leo Famulari ;;; @@ -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