tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
mojave-gtk-theme: 2022-06-07 -> 2022-10-21
José Romildo
3 years ago
f86d8fc2
202ea673
+6
-6
1 changed file
expand all
collapse all
unified
split
pkgs
data
themes
mojave
default.nix
+6
-6
pkgs/data/themes/mojave/default.nix
···
1
{ lib
2
-
, stdenv
3
, fetchFromGitHub
4
, fetchurl
5
, glib
···
29
lib.checkListOfEnum "${pname}: opacity variants" [ "standard" "solid" ] opacityVariants
30
lib.checkListOfEnum "${pname}: theme variants" [ "default" "blue" "purple" "pink" "red" "orange" "yellow" "green" "grey" "all" ] themeVariants
31
32
-
stdenv.mkDerivation rec {
33
inherit pname;
34
-
version = "2022-06-07";
35
36
srcs = [
37
(fetchFromGitHub {
38
owner = "vinceliuice";
39
repo = pname;
40
rev = version;
41
-
sha256 = "sha256-OEqB2PSZ5KoxXAUhlyT1PRUzckVz+jTCIoAqP8gVqTk=";
42
})
43
]
44
++
···
114
install -D -t $out/share/wallpapers ../"macOS Mojave Wallpapers"/*
115
''}
116
117
-
# Replace duplicate files with hardlinks to the first file in each
118
# set of duplicates, reducing the installed size in about 53%
119
-
jdupes -L -r $out/share
120
121
runHook postInstall
122
'';
···
1
{ lib
2
+
, stdenvNoCC
3
, fetchFromGitHub
4
, fetchurl
5
, glib
···
29
lib.checkListOfEnum "${pname}: opacity variants" [ "standard" "solid" ] opacityVariants
30
lib.checkListOfEnum "${pname}: theme variants" [ "default" "blue" "purple" "pink" "red" "orange" "yellow" "green" "grey" "all" ] themeVariants
31
32
+
stdenvNoCC.mkDerivation rec {
33
inherit pname;
34
+
version = "2022-10-21";
35
36
srcs = [
37
(fetchFromGitHub {
38
owner = "vinceliuice";
39
repo = pname;
40
rev = version;
41
+
sha256 = "sha256-0OqQXyv/fcbKTzvQUVIbUw5Y27hU1bzwx/0DelMEZIs=";
42
})
43
]
44
++
···
114
install -D -t $out/share/wallpapers ../"macOS Mojave Wallpapers"/*
115
''}
116
117
+
# Replace duplicate files with soft links to the first file in each
118
# set of duplicates, reducing the installed size in about 53%
119
+
jdupes --quiet --link-soft --recurse $out/share
120
121
runHook postInstall
122
'';