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 aAI+Lw+ZsV9IGwAA0tVLHw (envelope-from ) for ; Sun, 15 Nov 2020 21:09:35 +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 GLMYKw+ZsV9QUAAAbx9fmQ (envelope-from ) for ; Sun, 15 Nov 2020 21:09:35 +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 2CA6B940657 for ; Sun, 15 Nov 2020 21:09:35 +0000 (UTC) Received: from localhost ([::1]:55084 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kePHB-0008IJ-TU for larch@yhetil.org; Sun, 15 Nov 2020 16:09:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41228) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kePGg-0008Hp-S8 for guix-patches@gnu.org; Sun, 15 Nov 2020 16:09:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42796) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kePGg-0001fy-JZ for guix-patches@gnu.org; Sun, 15 Nov 2020 16:09:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kePGg-0005ql-Fm for guix-patches@gnu.org; Sun, 15 Nov 2020 16:09:02 -0500 Subject: bug#44658: Add new package Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Sun, 15 Nov 2020 21:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 44658 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: luhux Cc: 44658-done@debbugs.gnu.org Mail-Followup-To: 44658@debbugs.gnu.org, julien@lepiller.eu, luhux@outlook.com Received: via spool by 44658-done@debbugs.gnu.org id=D44658.160547452422454 (code D ref 44658); Sun, 15 Nov 2020 21:09:02 +0000 Received: (at 44658-done) by debbugs.gnu.org; 15 Nov 2020 21:08:44 +0000 Received: from localhost ([127.0.0.1]:54340 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kePGK-0005q2-9C for submit@debbugs.gnu.org; Sun, 15 Nov 2020 16:08:44 -0500 Received: from lepiller.eu ([89.234.186.109]:54176) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kePGI-0005ps-N1 for 44658-done@debbugs.gnu.org; Sun, 15 Nov 2020 16:08:39 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id afdbaa72; Sun, 15 Nov 2020 21:08:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type; s=dkim; bh=wEmVB3u+v3DCevEZ9q+brKePaMmsb4ovKAwcAe GrtrQ=; b=lmrzU9BwFAx1YlUWfL6ns0wu4iStESY1dpIyTBKL9kqnqAHHS2IBvw fhB6HPD+fyZeamYb3rekzXTtjNT2R/Dj+KqJABDvMgAZEPHWL8Yv0LkQCo4aRp2v jIZ4Tptk9orCSiisjbCNdpz0eS8yg5o3RTV0bRvKHWkG14emji3TAY0jq+eVq/LD Sh2WL9Y8dz42qDodnhTjGw45HtSIRPyP5tLGSKy0B/xIcc9grltsnCSSNyM+zljT Iyfl2CVmoPaz/1UITHegPzRC/i257rmM7RCAcpfyB9/m0Io6Dva4bcbVDF2ny5g0 oBVrfI23MDhFh/2wFpzxtitbjAIy4FbA== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 468e2046 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Sun, 15 Nov 2020 21:08:36 +0000 (UTC) Date: Sun, 15 Nov 2020 22:08:28 +0100 From: Julien Lepiller Message-ID: <20201115220756.2767f534@tachikoma.lepiller.eu> In-Reply-To: References: X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/..a2Ocd=BIaGQbP+8MYfC05" 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-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=lepiller.eu header.s=dkim header.b=lmrzU9Bw; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=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-Spam-Score: 0.09 X-TUID: IOBVZ80Ztp/R --MP_/..a2Ocd=BIaGQbP+8MYfC05 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Pushed as 15929beb5f1cd2bf96c53eef0f5da3e986c30530, thank you! I did some small changes to the package definition, so I attach the actual patch I pushed, so you can review it and hopefully learn from it :) When you don't need a phase, you can delete it, instead of replacing it with a procedure that does nothing. To pass arguments to the make command, you can use the #:make-flags argument. --MP_/..a2Ocd=BIaGQbP+8MYfC05 Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=0001-gnu-Add-curseofwar.patch =46rom 15929beb5f1cd2bf96c53eef0f5da3e986c30530 Mon Sep 17 00:00:00 2001 From: luhux Date: Sun, 15 Nov 2020 21:15:33 +0800 Subject: [PATCH] gnu: Add curseofwar Signed-off-by: Julien Lepiller --- gnu/packages/games.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 439e369fe4..4ab7436daf 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -54,6 +54,7 @@ ;;; Copyright =C2=A9 2020 Michael Rohleder ;;; Copyright =C2=A9 2020 Trevor Hass ;;; Copyright =C2=A9 2020 Leo Prikler +;;; Copyright =C2=A9 2020 Lu hux ;;; ;;; This file is part of GNU Guix. ;;; @@ -11942,3 +11943,32 @@ inside the Zenith Colony.") X11 that won't set your CPU on fire, drain your laptop battery, or lower v= ideo game FPS.") (license license:unlicense)))) + +(define-public curseofwar + (package + (name "curseofwar") + (version "1.3.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/a-nikolaev/curseofwar") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1wd71wdnj9izg5d95m81yx3684g4zdi7fsy0j5wwnbd9j34ilz1i")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f; no tests + #:make-flags + (list "CC=3Dgcc" "PREFIX=3D" + (string-append "DESTDIR=3D" (assoc-ref %outputs "out"))) + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (inputs `(("ncurses" ,ncurses))) + (home-page "https://a-nikolaev.github.io/curseofwar/") + (synopsis "Fast-paced action strategy game") + (description "Curse of War is a fast-paced action strategy game for +Linux originally implemented using ncurses user interface.") + (license license:gpl3))) --=20 2.29.2 --MP_/..a2Ocd=BIaGQbP+8MYfC05--