summaryrefslogtreecommitdiff
path: root/epistemia
diff options
context:
space:
mode:
authorVineet Kumar <git@vineetk.net>2026-01-24 12:55:46 -0500
committerVineet Kumar <git@vineetk.net>2026-01-24 12:55:46 -0500
commit52b8e3fff7d764c6c65d6327ec7780a5d0b099b9 (patch)
tree820feeea9a1e4eb80c4fe46eb8cbabb1cd17ab10 /epistemia
parentebe4cee5b1aeed80c927e06dbb70efac5b137143 (diff)
reindent
Diffstat (limited to 'epistemia')
-rw-r--r--epistemia/packages/minecraft.scm160
-rw-r--r--epistemia/packages/suckless.scm10
-rw-r--r--epistemia/services/zfs.scm40
3 files changed, 105 insertions, 105 deletions
diff --git a/epistemia/packages/minecraft.scm b/epistemia/packages/minecraft.scm
index b5e95cf..6ec9115 100644
--- a/epistemia/packages/minecraft.scm
+++ b/epistemia/packages/minecraft.scm
@@ -18,86 +18,86 @@
18 18
19(define-public prismlauncher 19(define-public prismlauncher
20 (package 20 (package
21 (name "prismlauncher") 21 (name "prismlauncher")
22 (version "9.4") 22 (version "9.4")
23 (source (origin 23 (source (origin
24 (method git-fetch) 24 (method git-fetch)
25 (uri (git-reference 25 (uri (git-reference
26 (url "https://github.com/PrismLauncher/PrismLauncher") 26 (url "https://github.com/PrismLauncher/PrismLauncher")
27 (recursive? #t) 27 (recursive? #t)
28 (commit version))) 28 (commit version)))
29 (file-name (git-file-name name version)) 29 (file-name (git-file-name name version))
30 (sha256 30 (sha256
31 (base32 31 (base32
32 "1xxgyx0z5r3hk3yk4gglbfwvq2qk1j9a0dkrv55j4vrlkni79nrm")))) 32 "1xxgyx0z5r3hk3yk4gglbfwvq2qk1j9a0dkrv55j4vrlkni79nrm"))))
33 (build-system cmake-build-system) 33 (build-system cmake-build-system)
34 (arguments 34 (arguments
35 `(#:phases 35 `(#:phases
36 (modify-phases %standard-phases 36 (modify-phases %standard-phases
37 (add-after 'install 'patch-paths 37 (add-after 'install 'patch-paths
38 (lambda* (#:key inputs outputs #:allow-other-keys) 38 (lambda* (#:key inputs outputs #:allow-other-keys)
39 (let* ((out (assoc-ref outputs "out")) 39 (let* ((out (assoc-ref outputs "out"))
40 (bin (string-append out "/bin/prismlauncher")) 40 (bin (string-append out "/bin/prismlauncher"))
41 (xrandr (assoc-ref inputs "xrandr")) 41 (xrandr (assoc-ref inputs "xrandr"))
42 (qtwayland (assoc-ref inputs "qtwayland")) 42 (qtwayland (assoc-ref inputs "qtwayland"))
43 (qtsvg (assoc-ref inputs "qtsvg")) 43 (qtsvg (assoc-ref inputs "qtsvg"))
44 (jdk17 (assoc-ref inputs "jdk17")) 44 (jdk17 (assoc-ref inputs "jdk17"))
45 (jdk25 (assoc-ref inputs "jdk25"))) 45 (jdk25 (assoc-ref inputs "jdk25")))
46 (wrap-program bin 46 (wrap-program bin
47 `("JAVA_HOME" = (,jdk25)) 47 `("JAVA_HOME" = (,jdk25))
48 `("PATH" ":" prefix (,(string-append xrandr "/bin") 48 `("PATH" ":" prefix (,(string-append xrandr "/bin")
49 ,(string-append jdk17 "/bin") 49 ,(string-append jdk17 "/bin")
50 ,(string-append jdk25 "/bin"))) 50 ,(string-append jdk25 "/bin")))
51 `("QT_PLUGIN_PATH" ":" prefix ,(map (lambda (package) 51 `("QT_PLUGIN_PATH" ":" prefix ,(map (lambda (package)
52 (string-append package "/lib/qt6/plugins")) 52 (string-append package "/lib/qt6/plugins"))
53 (list qtwayland qtsvg))) 53 (list qtwayland qtsvg)))
54 `("LD_LIBRARY_PATH" ":" prefix 54 `("LD_LIBRARY_PATH" ":" prefix
55 (,@(map (lambda (dep) 55 (,@(map (lambda (dep)
56 (string-append (assoc-ref inputs dep) 56 (string-append (assoc-ref inputs dep)
57 "/lib")) 57 "/lib"))
58 '("libx11" "libxext" "libxcursor" 58 '("libx11" "libxext" "libxcursor"
59 "libxrandr" "libxxf86vm" "mesa" 59 "libxrandr" "libxxf86vm" "mesa"
60 "glfw" "openal" "jemalloc" "alsa-lib"))))) 60 "glfw" "openal" "jemalloc" "alsa-lib")))))
61 #t)))))) 61 #t))))))
62 (native-inputs (list extra-cmake-modules)) 62 (native-inputs (list extra-cmake-modules))
63 (inputs 63 (inputs
64 `(("bash" ,bash-minimal) 64 `(("bash" ,bash-minimal)
65 ("zlib" ,zlib) 65 ("zlib" ,zlib)
66 ("qtbase" ,qtbase) 66 ("qtbase" ,qtbase)
67 ("qt5compat" ,qt5compat) 67 ("qt5compat" ,qt5compat)
68 ("qtnetworkauth" ,qtnetworkauth) 68 ("qtnetworkauth" ,qtnetworkauth)
69 ("qtwayland" ,qtwayland) 69 ("qtwayland" ,qtwayland)
70 ("qtsvg" ,qtsvg) 70 ("qtsvg" ,qtsvg)
71 ("xrandr" ,xrandr) 71 ("xrandr" ,xrandr)
72 ("libx11" ,libx11) 72 ("libx11" ,libx11)
73 ("libxext" ,libxext) 73 ("libxext" ,libxext)
74 ("libxcursor" ,libxcursor) 74 ("libxcursor" ,libxcursor)
75 ("libxrandr" ,libxrandr) 75 ("libxrandr" ,libxrandr)
76 ("libxxf86vm" ,libxxf86vm) 76 ("libxxf86vm" ,libxxf86vm)
77 ("mesa" ,mesa) 77 ("mesa" ,mesa)
78 ("glfw" ,glfw) 78 ("glfw" ,glfw)
79 ("openal" ,openal) 79 ("openal" ,openal)
80 ("alsa-lib" ,alsa-lib) 80 ("alsa-lib" ,alsa-lib)
81 ("jemalloc" ,jemalloc) 81 ("jemalloc" ,jemalloc)
82 ("jdk17" ,openjdk17 "jdk") 82 ("jdk17" ,openjdk17 "jdk")
83 ("jdk25" ,openjdk25 "jdk"))) 83 ("jdk25" ,openjdk25 "jdk")))
84 (home-page "https://prismlauncher.org/") 84 (home-page "https://prismlauncher.org/")
85 (synopsis "Free, open source launcher for Minecraft") 85 (synopsis "Free, open source launcher for Minecraft")
86 (description 86 (description
87 "Allows you to have multiple, separate instances of Minecraft (each with 87 "Allows you to have multiple, separate instances of Minecraft (each with
88their own mods, texture packs, saves, etc), and helps you manage them and 88their own mods, texture packs, saves, etc), and helps you manage them and
89their associated options with a simple interface.") 89their associated options with a simple interface.")
90 (license (list license:gpl3 ; PolyMC, launcher 90 (license (list license:gpl3 ; PolyMC, launcher
91 license:expat ; MinGW runtime, lionshead, tomlc99 91 license:expat ; MinGW runtime, lionshead, tomlc99
92 license:lgpl3 ; Qt 5/6 92 license:lgpl3 ; Qt 5/6
93 license:lgpl3+ ; libnbt++ 93 license:lgpl3+ ; libnbt++
94 license:lgpl2.1+ ; rainbow (KGuiAddons) 94 license:lgpl2.1+ ; rainbow (KGuiAddons)
95 license:isc ; Hoedown 95 license:isc ; Hoedown
96 license:silofl1.1 ; Material Design Icons 96 license:silofl1.1 ; Material Design Icons
97 license:lgpl2.1 ; Quazip 97 license:lgpl2.1 ; Quazip
98 license:public-domain ; xz-minidec, murmur2, xz-embedded 98 license:public-domain ; xz-minidec, murmur2, xz-embedded
99 license:bsd-3 ; ColumnResizer, O2 (Katabasis fork), 99 license:bsd-3 ; ColumnResizer, O2 (Katabasis fork),
100 ; gamemode, localpeer 100 ; gamemode, localpeer
101 license:asl2.0 ; classparser, systeminfo 101 license:asl2.0 ; classparser, systeminfo
102 ;; Batch icon set: 102 ;; Batch icon set:
103 (non-license:nonfree "file://COPYING.md"))))) 103 (non-license:nonfree "file://COPYING.md")))))
diff --git a/epistemia/packages/suckless.scm b/epistemia/packages/suckless.scm
index 957458d..45c7c03 100644
--- a/epistemia/packages/suckless.scm
+++ b/epistemia/packages/suckless.scm
@@ -36,11 +36,11 @@
36 (lambda _ 36 (lambda _
37 (substitute* "Makefile" (("\\$\\{CC\\}") "gcc")) 37 (substitute* "Makefile" (("\\$\\{CC\\}") "gcc"))
38 #t)) 38 #t))
39 (replace 'install 39 (replace 'install
40 (lambda* (#:key outputs #:allow-other-keys) 40 (lambda* (#:key outputs #:allow-other-keys)
41 (let ((out (assoc-ref outputs "out"))) 41 (let ((out (assoc-ref outputs "out")))
42 (invoke "make" "install" 42 (invoke "make" "install"
43 (string-append "DESTDIR=" out) "PREFIX="))))))) 43 (string-append "DESTDIR=" out) "PREFIX=")))))))
44 (inputs 44 (inputs
45 (list freetype libx11 libxft libxinerama)) 45 (list freetype libx11 libxft libxinerama))
46 (home-page "https://dwm.suckless.org/") 46 (home-page "https://dwm.suckless.org/")
diff --git a/epistemia/services/zfs.scm b/epistemia/services/zfs.scm
index bb5e13f..8cbc441 100644
--- a/epistemia/services/zfs.scm
+++ b/epistemia/services/zfs.scm
@@ -15,26 +15,26 @@
15 ,@%default-modules))) 15 ,@%default-modules)))
16 (define zfs-scan 16 (define zfs-scan
17 (shepherd-service 17 (shepherd-service
18 (provision '(zfs-scan)) 18 (provision '(zfs-scan))
19 (documentation "Scans for ZFS pools.") 19 (documentation "Scans for ZFS pools.")
20 (requirement '(kernel-module-loader udev)) 20 (requirement '(kernel-module-loader udev))
21 (modules scheme-modules) 21 (modules scheme-modules)
22 (start #~(lambda _ 22 (start #~(lambda _
23 (invoke/quiet #$zpool "import" "-a" "-N" "-d" "/dev/disk/by-id"))) 23 (invoke/quiet #$zpool "import" "-a" "-N" "-d" "/dev/disk/by-id")))
24 (stop #~(const #f)))) 24 (stop #~(const #f))))
25 (define zfs-automount 25 (define zfs-automount
26 (shepherd-service 26 (shepherd-service
27 (provision '(zfs-automount)) 27 (provision '(zfs-automount))
28 (documentation "Automounts ZFS data sets.") 28 (documentation "Automounts ZFS data sets.")
29 (requirement '(zfs-scan)) 29 (requirement '(zfs-scan))
30 (modules scheme-modules) 30 (modules scheme-modules)
31 (start #~(lambda _ 31 (start #~(lambda _
32 (with-output-to-port 32 (with-output-to-port
33 (current-error-port) 33 (current-error-port)
34 (lambda () 34 (lambda ()
35 (invoke #$zfs "mount" "-a" "-l"))))) 35 (invoke #$zfs "mount" "-a" "-l")))))
36 (stop #~(lambda _ 36 (stop #~(lambda _
37 (chdir "/") 37 (chdir "/")
38 (invoke/quiet #$zfs "unmount" "-a" "-f") 38 (invoke/quiet #$zfs "unmount" "-a" "-f")
39 #f)))) 39 #f))))
40 (list zfs-scan zfs-automount))) 40 (list zfs-scan zfs-automount)))