]> infiniteadaptability.org Git - packages/commitdiff
...
authoralex <[email protected]>
Sun, 11 Jun 2023 05:59:22 +0000 (22:59 -0700)
committeralex <[email protected]>
Sun, 11 Jun 2023 05:59:22 +0000 (22:59 -0700)
osu.scm [new file with mode: 0644]

diff --git a/osu.scm b/osu.scm
new file mode 100644 (file)
index 0000000..ad98b21
--- /dev/null
+++ b/osu.scm
@@ -0,0 +1,33 @@
+(define-module (infiniteadaptability packages osu)
+  #:use-module (guix download)
+  #:use-module (nonguix build-system binary)
+  #:use-module (guix licenses)
+  #:use-module (guix packages))
+
+(define-public osu
+  (let ((version "2023.610.0"))
+    (package
+      (name "osu")
+      (version version)
+      (source (origin
+                (method url-fetch)
+               (uri (string-append "https://github.com/ppy/osu/releases/download/"
+                                   version
+                                   "/osu.AppImage"))
+                (sha256
+                 (base32
+                  "0qjri6rjzlfxlphx0v7ydi19c7ai3bblyn9d22ij75glgm75n0a0"))))
+      (build-system binary-build-system)
+      (arguments
+       (list #:phases
+             #~(modify-phases %standard-phases
+                 (add-after 'install 'symlink-binary-file-and-cleanup
+                       (lambda _
+                         (delete-file (string-append #$output "/environment-variables"))
+                         (mkdir-p (string-append #$output "/bin")))))))
+      (home-page "https://osu.ppy.sh/home")
+      (synopsis "The bestest free-to-win rhythm game")
+      (description "osu!")
+      (license unlicense))))
+
+osu