From bcede0421446928d90f88902e0975b5324f1675d Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 7 Sep 2024 20:23:30 -0700 Subject: [PATCH] chore: remove osu --- infiniteadaptability/osu.scm | 59 ------------------------------------ 1 file changed, 59 deletions(-) delete mode 100644 infiniteadaptability/osu.scm diff --git a/infiniteadaptability/osu.scm b/infiniteadaptability/osu.scm deleted file mode 100644 index 546a02d..0000000 --- a/infiniteadaptability/osu.scm +++ /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 -- 2.30.2