chore: remove osu
authoralex <[email protected]>
Sun, 8 Sep 2024 03:23:30 +0000 (20:23 -0700)
committeralex <[email protected]>
Sun, 8 Sep 2024 03:23:30 +0000 (20:23 -0700)
infiniteadaptability/osu.scm [deleted file]

diff --git a/infiniteadaptability/osu.scm b/infiniteadaptability/osu.scm
deleted file mode 100644 (file)
index 546a02d..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-(define-module (infiniteadaptability osu)
-  #:use-module (gnu packages base)
-  #:use-module (gnu packages bootstrap)
-  #:use-module (gnu packages compression)
-  #:use-module (gnu packages elf)
-  #:use-module (gnu packages gcc)
-  #:use-module (gnu packages glib)
-  #:use-module (gnu packages linux)
-  #:use-module (guix download)
-  #:use-module (guix gexp)
-  #:use-module (nonguix build-system binary)
-  #:use-module ((guix licenses)
-                #:prefix license:)
-  #: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)
-      (inputs (list `(,gcc "lib")
-                   glibc
-                   zlib))
-      (native-inputs (list patchelf))
-      (arguments
-       (list 
-        #:patchelf-plan `(("osu.AppImage" ("gcc" "zlib")))
-        #:phases #~(modify-phases %standard-phases
-                          (delete 'strip)
-                          (delete 'validate-runpath)
-                          (delete 'make-dynamic-linker-cache)
-                         (add-before 'patchelf 'patchelf-writable
-                                     (lambda _
-                                         (make-file-writable "osu.AppImage")))
-                         (add-before 'install 'extract-appimage
-                                   (lambda _
-                                     (chmod "osu.AppImage" #o755)
-                                     (invoke "./osu.AppImage" "--appimage-extract")))
-                         (add-after 'extract-appimage 'patch-osu-executable
-                                    (lambda _
-                              (let ((ld-so (string-append #$(this-package-input
-                                                             "glibc")
-                                                          #$(glibc-dynamic-linker))))
-                                (invoke "patchelf" "--set-interpreter" ld-so "squashfs-root/usr/bin/osu!")))))))
-      (home-page "https://osu.ppy.sh/home")
-      (synopsis "The bestest free-to-win rhythm game")
-      (description "osu!")
-      (license license:unlicense))))
-
-osu