From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id iG7bFN27LmaNBAAA62LTzQ:P1 (envelope-from ) for ; Sun, 28 Apr 2024 23:13:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id iG7bFN27LmaNBAAA62LTzQ (envelope-from ) for ; Sun, 28 Apr 2024 23:13:01 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=eauchat.org header.s=mail header.b=etwti3Zj; dmarc=fail reason="SPF not aligned (relaxed)" header.from=eauchat.org (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714338781; a=rsa-sha256; cv=none; b=CJg+ZvKLe1B7zoxicuJ1gV8Er4SKwqMZEclHgXXYTyu8T5sWzA1JFN8/x8stuf+Fy7NBO4 cuGer1Mxu40UvHUWKQpFpAMo66/u4uNXFSeZHRoDLxHGexbD8UOWfxue8l/OmV2Oj4D7KW eJjFBSCWqmwIFoNhfG7g1BpYz6La9otDVBYxOtnamPRYk91wg2P4ZuN2A+6fSs3RKgRL25 E6uVGU8AdaqoBfNPg2afFTJKub/ALEVOrZLpICMLM3mM2c3NEKpEsI2AKS8YeaxOvo4hHz KY/UFFzPE0vXI5itlTukOGFrayM66xAPFh0XwUx7nDQjh9ajWxLKm8PjnvAqQw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=eauchat.org header.s=mail header.b=etwti3Zj; dmarc=fail reason="SPF not aligned (relaxed)" header.from=eauchat.org (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714338781; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=BI+8zd1dC78GSoTil3f04LAmpWI7BwVhK96QUpjv3Zs=; b=X7Tgq4qdY4AsHC7yjYKWG/zXjxMvC1oOfqGJ4Cq1k8B3zH9jZYkaJPmhBKlnJguP9kY1hD yhaFfYdUltBkLUoeow0tJCZ6kS1WePzZekaEqLg+XZLv3Z9/fOrx2HVxrx6eS9Tl66B2hv /o2r7yxEbfuc3nwUFw0rLPekH37zSdcXcabkKwuk/RLujH/OihX9WRMwTQcAZUuUriis8B bYi/3TGYhUw8qoyHzFrObS3vXLlPUBEdqvN17C0/M6a9y6T5mIQahmiicRzYjDFS8ReAVG e4GvXs3oLbQrGEtRNX4q4n292rSnPOP1u7N5PAL1GOBMqR2ETZu0cb7QoQRH1A== 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 10F2F24ADF for ; Sun, 28 Apr 2024 23:13:00 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s1BpF-0006Qm-BF; Sun, 28 Apr 2024 17:12:45 -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 1s1BpE-0006QW-Ef for guix-patches@gnu.org; Sun, 28 Apr 2024 17:12:44 -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 1s1BpE-0003XX-5Q for guix-patches@gnu.org; Sun, 28 Apr 2024 17:12:44 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s1BpV-00029f-VC; Sun, 28 Apr 2024 17:13:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70635] [PATCH] gnu: Add hexahop. Resent-From: =?UTF-8?Q?S=C3=A9bastien?= Lerique Original-Sender: "Debbugs-submit" Resent-CC: adam.faiz@disroot.org, liliana.prikler@gmail.com, iyzsong@envs.net, guix-patches@gnu.org Resent-Date: Sun, 28 Apr 2024 21:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70635 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70635@debbugs.gnu.org Cc: =?UTF-8?Q?S=C3=A9bastien?= Lerique , Adam Faiz , Liliana Marie Prikler , =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Adam Faiz , Liliana Marie Prikler , =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Received: via spool by submit@debbugs.gnu.org id=B.17143387338267 (code B ref -1); Sun, 28 Apr 2024 21:13:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Apr 2024 21:12:13 +0000 Received: from localhost ([127.0.0.1]:52900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s1Boi-00029H-KP for submit@debbugs.gnu.org; Sun, 28 Apr 2024 17:12:12 -0400 Received: from lists.gnu.org ([2001:470:142::17]:56074) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s1Bog-00029B-MG for submit@debbugs.gnu.org; Sun, 28 Apr 2024 17:12:11 -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 1s1BoG-0006M4-Qn for guix-patches@gnu.org; Sun, 28 Apr 2024 17:11:44 -0400 Received: from elegua.eauchat.org ([91.224.149.118] helo=eauchat.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s1BoF-0003TD-1g for guix-patches@gnu.org; Sun, 28 Apr 2024 17:11:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eauchat.org; s=mail; t=1714338697; h=from:from: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; bh=BI+8zd1dC78GSoTil3f04LAmpWI7BwVhK96QUpjv3Zs=; b=etwti3Zjfc9LkX9X795PrZmRyIr0CfzDq47Mnj4ojXtxm7pVxEPcQMmYfX4lPBROVDhjVE NwRaBYJrWctdExzYpjycmI73mgcDERh0NgImc+HLBiIf3epTxe/wp/6enNOnycJ37k8He8 ElfMRCHvfxpK8bS5neGJn9IiDN5bWEM= From: =?UTF-8?Q?S=C3=A9bastien?= Lerique Date: Sun, 28 Apr 2024 23:10:36 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=91.224.149.118; envelope-from=sl@eauchat.org; helo=eauchat.org X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 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, URIBL_SBL_A=0.1 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-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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 10F2F24ADF X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: 5.11 X-Spam-Score: 5.11 X-TUID: CCLB4N0jHW2o * gnu/packages/games.scm (hexahop): New variable. Change-Id: Id7a998d18c391af8d9722d2e637988ca019db304 --- gnu/packages/games.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 57e6c23f41..8646b195f6 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -81,6 +81,7 @@ ;;; Copyright © 2023, 2024 gemmaro ;;; Copyright © 2023 Wilko Meyer ;;; Copyright © 2024 Vagrant Cascadian +;;; Copyright © 2024 Sébastien Lerique ;;; ;;; This file is part of GNU Guix. ;;; @@ -241,6 +242,41 @@ (define-module (gnu packages games) #:use-module ((srfi srfi-1) #:hide (zip)) #:use-module (srfi srfi-26)) +(define-public hexahop + (package + (name "hexahop") + (version "1.1.0") + (source + (origin + (method url-fetch) + ;; FIXME: the "mirror://" url leads to + ;; https://web.archive.org/web/.../https://sourceforge.net/create/ + ;; instead of .../hexahop/1.1.0/hex-a-hop-1.1.0.tar.gz or similar. + (uri (string-append "https://download.sourceforge.net/project/hexahop/" + version "/hex-a-hop-" version ".tar.gz")) + (sha256 + (base32 "1mm069wpwc8nrrzfn2f64vh550634xlfws64bfmhqhx86vcikgw0")))) + (build-system gnu-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'set-paths 'set-sdl'paths + (lambda* (#:key inputs #:allow-other-keys) + (setenv "CPATH" + (string-append + (search-input-directory inputs "/include/SDL") + ":" (or (getenv "CPATH") "")))))))) + (native-inputs + (list pkg-config)) + (inputs + (list (sdl-union (list sdl sdl-mixer sdl-ttf)))) + (home-page "https://sourceforge.net/projects/hexahop/") + (synopsis "Puzzle game navigating paths over hexagons") + (description + "Hex-a-hop is a puzzle game in which a girl has to destroy green hexagons +by stepping on them.") + (license license:gpl2+))) + (define-public abe (package (name "abe") base-commit: 4178eaf3b2eeea8f6c2e49b1d65cd60a1663c4a9 -- 2.41.0