commit 52b8e3fff7d764c6c65d6327ec7780a5d0b099b9
parent ebe4cee5b1aeed80c927e06dbb70efac5b137143
Author: Vineet Kumar <git@vineetk.net>
Date: Sat, 24 Jan 2026 12:55:46 -0500
reindent
Diffstat:
3 files changed, 105 insertions(+), 105 deletions(-)
diff --git a/epistemia/packages/minecraft.scm b/epistemia/packages/minecraft.scm
@@ -18,86 +18,86 @@
(define-public prismlauncher
(package
- (name "prismlauncher")
- (version "9.4")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/PrismLauncher/PrismLauncher")
- (recursive? #t)
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1xxgyx0z5r3hk3yk4gglbfwvq2qk1j9a0dkrv55j4vrlkni79nrm"))))
- (build-system cmake-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'install 'patch-paths
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (bin (string-append out "/bin/prismlauncher"))
- (xrandr (assoc-ref inputs "xrandr"))
- (qtwayland (assoc-ref inputs "qtwayland"))
- (qtsvg (assoc-ref inputs "qtsvg"))
- (jdk17 (assoc-ref inputs "jdk17"))
- (jdk25 (assoc-ref inputs "jdk25")))
- (wrap-program bin
- `("JAVA_HOME" = (,jdk25))
- `("PATH" ":" prefix (,(string-append xrandr "/bin")
- ,(string-append jdk17 "/bin")
- ,(string-append jdk25 "/bin")))
- `("QT_PLUGIN_PATH" ":" prefix ,(map (lambda (package)
- (string-append package "/lib/qt6/plugins"))
- (list qtwayland qtsvg)))
- `("LD_LIBRARY_PATH" ":" prefix
- (,@(map (lambda (dep)
- (string-append (assoc-ref inputs dep)
- "/lib"))
- '("libx11" "libxext" "libxcursor"
- "libxrandr" "libxxf86vm" "mesa"
- "glfw" "openal" "jemalloc" "alsa-lib")))))
- #t))))))
- (native-inputs (list extra-cmake-modules))
- (inputs
- `(("bash" ,bash-minimal)
- ("zlib" ,zlib)
- ("qtbase" ,qtbase)
- ("qt5compat" ,qt5compat)
- ("qtnetworkauth" ,qtnetworkauth)
- ("qtwayland" ,qtwayland)
- ("qtsvg" ,qtsvg)
- ("xrandr" ,xrandr)
- ("libx11" ,libx11)
- ("libxext" ,libxext)
- ("libxcursor" ,libxcursor)
- ("libxrandr" ,libxrandr)
- ("libxxf86vm" ,libxxf86vm)
- ("mesa" ,mesa)
- ("glfw" ,glfw)
- ("openal" ,openal)
- ("alsa-lib" ,alsa-lib)
- ("jemalloc" ,jemalloc)
- ("jdk17" ,openjdk17 "jdk")
- ("jdk25" ,openjdk25 "jdk")))
- (home-page "https://prismlauncher.org/")
- (synopsis "Free, open source launcher for Minecraft")
- (description
- "Allows you to have multiple, separate instances of Minecraft (each with
+ (name "prismlauncher")
+ (version "9.4")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/PrismLauncher/PrismLauncher")
+ (recursive? #t)
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1xxgyx0z5r3hk3yk4gglbfwvq2qk1j9a0dkrv55j4vrlkni79nrm"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'patch-paths
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin/prismlauncher"))
+ (xrandr (assoc-ref inputs "xrandr"))
+ (qtwayland (assoc-ref inputs "qtwayland"))
+ (qtsvg (assoc-ref inputs "qtsvg"))
+ (jdk17 (assoc-ref inputs "jdk17"))
+ (jdk25 (assoc-ref inputs "jdk25")))
+ (wrap-program bin
+ `("JAVA_HOME" = (,jdk25))
+ `("PATH" ":" prefix (,(string-append xrandr "/bin")
+ ,(string-append jdk17 "/bin")
+ ,(string-append jdk25 "/bin")))
+ `("QT_PLUGIN_PATH" ":" prefix ,(map (lambda (package)
+ (string-append package "/lib/qt6/plugins"))
+ (list qtwayland qtsvg)))
+ `("LD_LIBRARY_PATH" ":" prefix
+ (,@(map (lambda (dep)
+ (string-append (assoc-ref inputs dep)
+ "/lib"))
+ '("libx11" "libxext" "libxcursor"
+ "libxrandr" "libxxf86vm" "mesa"
+ "glfw" "openal" "jemalloc" "alsa-lib")))))
+ #t))))))
+ (native-inputs (list extra-cmake-modules))
+ (inputs
+ `(("bash" ,bash-minimal)
+ ("zlib" ,zlib)
+ ("qtbase" ,qtbase)
+ ("qt5compat" ,qt5compat)
+ ("qtnetworkauth" ,qtnetworkauth)
+ ("qtwayland" ,qtwayland)
+ ("qtsvg" ,qtsvg)
+ ("xrandr" ,xrandr)
+ ("libx11" ,libx11)
+ ("libxext" ,libxext)
+ ("libxcursor" ,libxcursor)
+ ("libxrandr" ,libxrandr)
+ ("libxxf86vm" ,libxxf86vm)
+ ("mesa" ,mesa)
+ ("glfw" ,glfw)
+ ("openal" ,openal)
+ ("alsa-lib" ,alsa-lib)
+ ("jemalloc" ,jemalloc)
+ ("jdk17" ,openjdk17 "jdk")
+ ("jdk25" ,openjdk25 "jdk")))
+ (home-page "https://prismlauncher.org/")
+ (synopsis "Free, open source launcher for Minecraft")
+ (description
+ "Allows you to have multiple, separate instances of Minecraft (each with
their own mods, texture packs, saves, etc), and helps you manage them and
their associated options with a simple interface.")
- (license (list license:gpl3 ; PolyMC, launcher
- license:expat ; MinGW runtime, lionshead, tomlc99
- license:lgpl3 ; Qt 5/6
- license:lgpl3+ ; libnbt++
- license:lgpl2.1+ ; rainbow (KGuiAddons)
- license:isc ; Hoedown
- license:silofl1.1 ; Material Design Icons
- license:lgpl2.1 ; Quazip
- license:public-domain ; xz-minidec, murmur2, xz-embedded
- license:bsd-3 ; ColumnResizer, O2 (Katabasis fork),
+ (license (list license:gpl3 ; PolyMC, launcher
+ license:expat ; MinGW runtime, lionshead, tomlc99
+ license:lgpl3 ; Qt 5/6
+ license:lgpl3+ ; libnbt++
+ license:lgpl2.1+ ; rainbow (KGuiAddons)
+ license:isc ; Hoedown
+ license:silofl1.1 ; Material Design Icons
+ license:lgpl2.1 ; Quazip
+ license:public-domain ; xz-minidec, murmur2, xz-embedded
+ license:bsd-3 ; ColumnResizer, O2 (Katabasis fork),
; gamemode, localpeer
- license:asl2.0 ; classparser, systeminfo
- ;; Batch icon set:
- (non-license:nonfree "file://COPYING.md")))))
+ license:asl2.0 ; classparser, systeminfo
+ ;; Batch icon set:
+ (non-license:nonfree "file://COPYING.md")))))
diff --git a/epistemia/packages/suckless.scm b/epistemia/packages/suckless.scm
@@ -36,11 +36,11 @@
(lambda _
(substitute* "Makefile" (("\\$\\{CC\\}") "gcc"))
#t))
- (replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (invoke "make" "install"
- (string-append "DESTDIR=" out) "PREFIX=")))))))
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (invoke "make" "install"
+ (string-append "DESTDIR=" out) "PREFIX=")))))))
(inputs
(list freetype libx11 libxft libxinerama))
(home-page "https://dwm.suckless.org/")
diff --git a/epistemia/services/zfs.scm b/epistemia/services/zfs.scm
@@ -15,26 +15,26 @@
,@%default-modules)))
(define zfs-scan
(shepherd-service
- (provision '(zfs-scan))
- (documentation "Scans for ZFS pools.")
- (requirement '(kernel-module-loader udev))
- (modules scheme-modules)
- (start #~(lambda _
- (invoke/quiet #$zpool "import" "-a" "-N" "-d" "/dev/disk/by-id")))
- (stop #~(const #f))))
+ (provision '(zfs-scan))
+ (documentation "Scans for ZFS pools.")
+ (requirement '(kernel-module-loader udev))
+ (modules scheme-modules)
+ (start #~(lambda _
+ (invoke/quiet #$zpool "import" "-a" "-N" "-d" "/dev/disk/by-id")))
+ (stop #~(const #f))))
(define zfs-automount
(shepherd-service
- (provision '(zfs-automount))
- (documentation "Automounts ZFS data sets.")
- (requirement '(zfs-scan))
- (modules scheme-modules)
- (start #~(lambda _
- (with-output-to-port
- (current-error-port)
- (lambda ()
- (invoke #$zfs "mount" "-a" "-l")))))
- (stop #~(lambda _
- (chdir "/")
- (invoke/quiet #$zfs "unmount" "-a" "-f")
- #f))))
+ (provision '(zfs-automount))
+ (documentation "Automounts ZFS data sets.")
+ (requirement '(zfs-scan))
+ (modules scheme-modules)
+ (start #~(lambda _
+ (with-output-to-port
+ (current-error-port)
+ (lambda ()
+ (invoke #$zfs "mount" "-a" "-l")))))
+ (stop #~(lambda _
+ (chdir "/")
+ (invoke/quiet #$zfs "unmount" "-a" "-f")
+ #f))))
(list zfs-scan zfs-automount)))