aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarthak Shah <shahsarthakw@gmail.com>2024-02-17 17:12:18 +0000
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2024-02-22 16:12:21 +0100
commit7fb77a5b7235611f0d832600064b55104116603e (patch)
tree82f476794f42273fd65ddb70663fe5131e0ba421
parent58233e6c21307be41e0636de61960e9376d3d82e (diff)
downloadguix-7fb77a5b7235611f0d832600064b55104116603e.tar.gz
guix-7fb77a5b7235611f0d832600064b55104116603e.zip
gnu: Add xpenguins.
* gnu/packages/toys.scm (xpenguins): New variable. Reviewed-by: Greg Hogan <code@greghogan.com> Reviewed-by: Steve George <steve@futurile.net> Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr> Change-Id: I6262092da4d51abaca1d6f01ec2e3f27baca7a01
-rw-r--r--gnu/packages/toys.scm35
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/toys.scm b/gnu/packages/toys.scm
index c058e70dac..5dcbfc4d23 100644
--- a/gnu/packages/toys.scm
+++ b/gnu/packages/toys.scm
@@ -6,6 +6,7 @@
;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Leo Famulari <leo@famulari.name>
;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
+;;; Copyright © 2023 Sarthak Shah <shahsarthakw@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -399,6 +400,40 @@ the desktop background. Additional customizable effects include wind, stars
and various scenery elements.")
(license license:gpl3+)))
+(define-public xpenguins
+ (package
+ (name "xpenguins")
+ (version "3.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://ratrabbit.nl/downloads/xpenguins/xpenguins-"
+ version ".tar.gz"))
+ (sha256
+ (base32 "03qwc7gf21d2ixkrxxwwgayj6f5fv1kg4b7ggx90j5269il63adm"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'configure 'fix-install-path
+ (lambda _
+ ;; Install program to bin/ instead of games/.
+ (substitute* "src/Makefile.in"
+ (("(gamesdir = \\$\\(exec_prefix\\)/)games" _ prefix)
+ (string-append prefix "bin"))))))))
+ (inputs
+ (list gtk+ libx11 libxml2 libxpm libxt))
+ (native-inputs
+ (list pkg-config))
+ (home-page
+ "https://www.ratrabbit.nl/ratrabbit/software/xpenguins/index.html")
+ (synopsis "Let penguins take over your desktop!")
+ (description "Xpenguins is a vintage application showing penguins running,
+flying and falling on the desktop, using windows as run paths.")
+ (license license:gpl2+)))
+
(define-public nyancat
(package
(name "nyancat")