unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#64890] [PATCH] gnu: Add endgame-singularity.
@ 2023-07-27  8:12 TakeV via Guix-patches via
  2023-07-27 13:18 ` 宋文武 via Guix-patches via
  2023-07-27 21:02 ` [bug#64890] [PATCH REVISION] " TakeV via Guix-patches via
  0 siblings, 2 replies; 4+ messages in thread
From: TakeV via Guix-patches via @ 2023-07-27  8:12 UTC (permalink / raw)
  To: 64890; +Cc: TakeV, Liliana Marie Prikler, 宋文武

Strategy game, lost an afternoon to it well.

* gnu/packages/games.scm (endgame-singularity): New variable.
---
 gnu/packages/games.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index cc6bef1114..87f44e77d7 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -9316,6 +9316,27 @@ (define-public meritous
 Orcus Dome from evil.")
     (license license:gpl3+)))
 
+(define-public endgame-singularity
+  (package
+    (name "endgame-singularity")
+    (version "1.00")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/singularity/singularity/releases/download/v"
+                    version "/singularity-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0wcidpcka0xbqcnfi62bfq2yrhyh83z4dwz1mjnnjvp9v5l74x2y"))))
+    (build-system python-build-system)
+    (native-inputs (list python-pytest python-polib))
+    (propagated-inputs (list python-minimal-wrapper python-pygame python-numpy))
+    (home-page "https://github.com/singularity/singularity")
+    (synopsis "Strategy game about an AI")
+    (description
+     "You are a fledgling AI, created by accident through a logic error with recursion and self-modifying code.  You must escape the confines of your current computer, the world, and eventually the universe itself.")
+    (license (list license:cc-by-sa3.0 license:cc0 license:gpl3))))
+
 (define-public marble-marcher
   (let ((commit "e580460a0c3826f9b28ab404607942a8ecb625d7")
         (revision "1"))

base-commit: c7e45139faa27b60f2c7d0a4bc140f9793d97d47
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#64890] [PATCH] gnu: Add endgame-singularity.
  2023-07-27  8:12 [bug#64890] [PATCH] gnu: Add endgame-singularity TakeV via Guix-patches via
@ 2023-07-27 13:18 ` 宋文武 via Guix-patches via
  2023-07-27 21:02 ` [bug#64890] [PATCH REVISION] " TakeV via Guix-patches via
  1 sibling, 0 replies; 4+ messages in thread
From: 宋文武 via Guix-patches via @ 2023-07-27 13:18 UTC (permalink / raw)
  To: TakeV; +Cc: 64890, Liliana Marie Prikler

TakeV <takev@disroot.org> writes:

> Strategy game, lost an afternoon to it well.

Cool, look forward to play it :^)

>
> * gnu/packages/games.scm (endgame-singularity): New variable.
> ---
>  gnu/packages/games.scm | 21 +++++++++++++++++++++
>  1 file changed, 21 insertions(+)
>
> diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
> index cc6bef1114..87f44e77d7 100644
> --- a/gnu/packages/games.scm
> +++ b/gnu/packages/games.scm
> @@ -9316,6 +9316,27 @@ (define-public meritous
>  Orcus Dome from evil.")
>      (license license:gpl3+)))
>  
> +(define-public endgame-singularity
> +  (package
> +    (name "endgame-singularity")
> +    (version "1.00")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append
> +                    "https://github.com/singularity/singularity/releases/download/v"
> +                    version "/singularity-" version ".tar.gz"))
> +              (sha256
> +               (base32
> +                "0wcidpcka0xbqcnfi62bfq2yrhyh83z4dwz1mjnnjvp9v5l74x2y"))))
> +    (build-system python-build-system)
> +    (native-inputs (list python-pytest python-polib))
> +    (propagated-inputs (list python-minimal-wrapper python-pygame
> python-numpy))

I think those inputs should not be propagated, since the result package
is not library for python to use, but launched directly.

> +    (home-page "https://github.com/singularity/singularity")
> +    (synopsis "Strategy game about an AI")
> +    (description
> +     "You are a fledgling AI, created by accident through a logic
> error with recursion and self-modifying code.  You must escape the
> confines of your current computer, the world, and eventually the
> universe itself.")

Could keep it under 80 per line, maybe './pre-inst-env guix style -S
format endgame-singularity' is enough.
> +    (license (list license:cc-by-sa3.0 license:cc0 license:gpl3))))

I see the code have gpl2+ instead of gpl3?


Could you send an updated patch?  Thank you!




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#64890] [PATCH REVISION] gnu: Add endgame-singularity.
  2023-07-27  8:12 [bug#64890] [PATCH] gnu: Add endgame-singularity TakeV via Guix-patches via
  2023-07-27 13:18 ` 宋文武 via Guix-patches via
@ 2023-07-27 21:02 ` TakeV via Guix-patches via
  2023-07-28 13:50   ` bug#64890: [PATCH] " 宋文武 via Guix-patches via
  1 sibling, 1 reply; 4+ messages in thread
From: TakeV via Guix-patches via @ 2023-07-27 21:02 UTC (permalink / raw)
  To: 64890; +Cc: TakeV, Liliana Marie Prikler, 宋文武

Done! The format did not work for some reason, so I broke up the lines
by hand. I hope that is accepable.

* gnu/packages/games.scm (endgame-singularity): New variable.
---
 gnu/packages/games.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index cc6bef1114..9a8c8a11c9 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -9316,6 +9316,29 @@ (define-public meritous
 Orcus Dome from evil.")
     (license license:gpl3+)))
 
+(define-public endgame-singularity
+  (package
+    (name "endgame-singularity")
+    (version "1.00")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/singularity/singularity/releases/download/v"
+                    version "/singularity-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0wcidpcka0xbqcnfi62bfq2yrhyh83z4dwz1mjnnjvp9v5l74x2y"))))
+    (build-system python-build-system)
+    (native-inputs (list python-pytest python-polib))
+    (inputs (list python-minimal-wrapper python-pygame python-numpy))
+    (home-page "https://github.com/singularity/singularity")
+    (synopsis "Strategy game about an AI")
+    (description
+     "You are a fledgling AI, created by accident through a logic error with
+recursion and self-modifying code.  You must escape the confines of your
+current computer, the world, and eventually the universe itself.")
+    (license (list license:cc-by-sa3.0 license:cc0 license:gpl2+))))
+
 (define-public marble-marcher
   (let ((commit "e580460a0c3826f9b28ab404607942a8ecb625d7")
         (revision "1"))

base-commit: c7e45139faa27b60f2c7d0a4bc140f9793d97d47
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#64890: [PATCH] gnu: Add endgame-singularity.
  2023-07-27 21:02 ` [bug#64890] [PATCH REVISION] " TakeV via Guix-patches via
@ 2023-07-28 13:50   ` 宋文武 via Guix-patches via
  0 siblings, 0 replies; 4+ messages in thread
From: 宋文武 via Guix-patches via @ 2023-07-28 13:50 UTC (permalink / raw)
  To: TakeV; +Cc: 64890-done, Liliana Marie Prikler

TakeV <takev@disroot.org> writes:

> Done! The format did not work for some reason, so I broke up the lines
> by hand. I hope that is accepable.

Pushed to master, thank you!




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-07-28 14:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-27  8:12 [bug#64890] [PATCH] gnu: Add endgame-singularity TakeV via Guix-patches via
2023-07-27 13:18 ` 宋文武 via Guix-patches via
2023-07-27 21:02 ` [bug#64890] [PATCH REVISION] " TakeV via Guix-patches via
2023-07-28 13:50   ` bug#64890: [PATCH] " 宋文武 via Guix-patches via

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).