From 55a9ad5f6433f57b862495147fda7b24c1d9fc4b Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 10 Jun 2023 22:59:22 -0700 Subject: [PATCH] ... --- osu.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 osu.scm diff --git a/osu.scm b/osu.scm new file mode 100644 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 -- 2.39.5