blob: cbaf538c18f89033fd92571e1b046cc842875760 (
plain) (
blame)
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
|
{
lib,
stdenvNoCC,
fetchFromGitHub,
unzip,
unstableGitUpdater,
}:
stdenvNoCC.mkDerivation {
pname = "cyberpunk-neon";
version = "0-unstable-2024-09-15";
src = fetchFromGitHub {
owner = "Roboron3042";
repo = "Cyberpunk-Neon";
rev = "18febaab8aa808889fb08c368e37be4ca79e0cdd";
hash = "sha256-YR8au1ukggYsPGecZMkLIf901dbRJSrXVMs2CzaIMBo=";
};
outputs = [
"out"
"gtk"
"kde"
"konsole"
"tilix"
];
nativeBuildInputs = [ unzip ];
installPhase = ''
runHook preInstall
install -Dt $out/share/doc/cyberpunk-neon/ README.md
mkdir -p $gtk/share/themes
unzip gtk/materia-cyberpunk-neon.zip -d $gtk/share/themes/
unzip gtk/oomox-cyberpunk-neon.zip -d $gtk/share/themes/
install -Dt $kde/share/color-schemes kde/cyberpunk-neon.colors
install -Dt $konsole/share/konsole terminal/konsole/cyberpunk-neon.colorscheme
install -Dt $tilix/share/tilix/schemes terminal/tilix/cyberpunk-neon.json
runHook postInstall
'';
strictDeps = true;
passthru = {
updateScript = unstableGitUpdater { hardcodeZeroVersion = true; };
};
meta = {
homepage = "https://github.com/Roboron3042/Cyberpunk-Neon";
description = "Neon themes for many programs";
license = lib.licenses.cc-by-sa-40;
maintainers = with lib.maintainers; [ AndersonTorres ];
platforms = lib.platforms.all;
};
}
|