@@ -0,0 +1,56 @@
11+stdenv.mkDerivation rec {
12+ pname = "whitesur-gtk-theme";
13+ version = "2021-06-23";
15+ src = fetchFromGitHub {
16+ owner = "vinceliuice";
19+ sha256 = "075fw57mv6zadq4dryn8bg2b3vq8inmisq18s758cv53pprxh9hw";
22+ nativeBuildInputs = [
30+ gnome-themes-extra # adwaita engine for Gtk2
34+ find -name "*.sh" -print0 | while IFS= read -r -d ''' file; do patchShebangs "$file"; done
36+ # Do not provide `sudo`, as it is not needed in our use case of the install script
37+ substituteInPlace lib-core.sh --replace '$(which sudo)' false
44+ mkdir -p $out/share/themes
45+ ./install.sh --dest $out/share/themes --alt all --theme all
50+ description = "MacOS Big Sur like theme for Gnome desktops";
51+ homepage = "https://github.com/vinceliuice/WhiteSur-gtk-theme";
52+ license = licenses.mit;
53+ platforms = platforms.unix;
54+ maintainers = [ maintainers.romildo ];