blob: 5be417f793344ab054435b035dee5c7a9bf9a616 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
|
(define-module (sakura packages gnome-xyz)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix gexp)
#:use-module (gnu packages)
#:use-module (gnu packages base)
#:use-module (gnu packages version-control)
#:use-module (gnu packages web)
#:use-module (gnu packages bash)
#:use-module (gnu packages compression)
#:use-module (gnu packages gnome-xyz)
#:use-module (guix packages)
#:use-module (guix git-download)
#:use-module (guix download)
#:use-module (guix build-system trivial)
#:use-module (guix utils))
(define-public lavanda-gtk-theme
(package
(name "lavanda-gtk-theme")
(version "2024-04-28")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/vinceliuice/Lavanda-gtk-theme")
(commit version)))
(sha256
(base32
"0mrgdvrybhihb2bmmgdng2py95dffk8b27nlazfxaj6709va3g6s"))
(file-name (git-file-name name version))))
(build-system trivial-build-system)
(inputs
`(("sassc" ,sassc)
("coreutils" ,coreutils)
("sed" ,sed)
("bash" ,bash)))
(arguments
'(#:modules ((guix build utils))
#:builder
(begin
(use-modules (guix build utils))
(let* ((out (assoc-ref %outputs "out"))
(bin (string-append out "/share/themes"))
(bash (string-append
(assoc-ref %build-inputs "bash")
"/bin/sh"))
(coreutils (string-append
(assoc-ref %build-inputs "coreutils")
"/bin"))
(sed (string-append
(assoc-ref %build-inputs "sed")
"/bin"))
(sassc (string-append
(assoc-ref %build-inputs "sassc")
"/bin"))
(source (assoc-ref %build-inputs "source")))
(copy-recursively source (getcwd))
(setenv "PATH" (string-append (getenv "PATH") ":" coreutils ":" sed ":" sassc))
(mkdir-p bin)
(invoke bash "build.sh")
(invoke bash "install.sh" "-d" bin)))))
(home-page "https://github.com/vinceliuice/Lavanda-gtk-theme")
(synopsis "Lavanda gtk theme for linux desktops")
(description "Lavanda gtk theme for linux desktops")
(license license:gpl3))))
(define-public mint-themes
(package
(name "mint-themes")
(version "2.2.1")
(source
(origin
(method url-fetch)
(uri (string-append "http://packages.linuxmint.com/pool/main/m/mint-themes/mint-themes_"
version "_all.deb"))
(sha256
(base32
"0zws6wsfgi8i85bxwgs4pysr960lldw0as2dsdfal01pzq0fib5q"))
(file-name "source.deb")))
(build-system trivial-build-system)
(native-inputs
(list binutils
tar
xz))
(arguments
'(#:modules ((guix build utils))
#:builder
(begin
(use-modules (guix build utils))
(let* ((source (assoc-ref %build-inputs "source"))
(bin (string-append
(assoc-ref %outputs "out")
"/share/themes"))
(cwd (getcwd))
(deb (string-append cwd
"/source.deb"))
(data (string-append cwd
"/data.tar.xz"))
(themes (string-append cwd
"/usr/share/themes"))
(ar (string-append
(assoc-ref %build-inputs "binutils")
"/bin/ar"))
(tar (string-append
(assoc-ref %build-inputs "tar")
"/bin/tar"))
(xz-bin (string-append
(assoc-ref %build-inputs "xz")
"/bin")))
(setenv "PATH" (string-append (getenv "PATH") ":" xz-bin))
(copy-file source deb)
(invoke ar "x" deb "--output" cwd)
(invoke tar "xf" data "-C" cwd)
(mkdir-p bin)
(copy-recursively themes bin)))))
(home-page "https://github.com/linuxmint/mint-themes")
(synopsis "A collection of Mint themes.")
(description "A collection of Mint themes.")
(license license:gpl3+)))
(define-public orchis-theme-2024
(package
(inherit orchis-theme)
(name "orchis-theme")
(version "2024-11-03")
(source
(origin
(method git-fetch)
(uri
(git-reference
(url "https://github.com/vinceliuice/Orchis-theme")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"1m1kml068pfnw0zl81khm8d0km5r56ynx29xddawh512a15n5h9b"))))
(arguments
(substitute-keyword-arguments (package-arguments orchis-theme)
((#:configure-flags flags ''())
#~(list "--dest" (string-append
(assoc-ref %outputs "out")
"/share/themes")
"--theme" "all"))))))
|