2019-12-13 12:57:14 +00:00
|
|
|
{ stdenv, fetchFromGitHub, fetchurl, gtk_engines, gtk-engine-murrine }:
|
2019-01-02 22:23:49 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mojave-gtk-theme";
|
2019-12-13 12:54:44 +00:00
|
|
|
version = "2019-12-12";
|
2019-01-02 22:23:49 +00:00
|
|
|
|
2019-12-13 12:57:14 +00:00
|
|
|
srcs = [
|
|
|
|
(fetchFromGitHub {
|
|
|
|
owner = "vinceliuice";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0d5m9gh97db01ygqlp2sv9v1m183d9fgid9n9wms9r5rrrw6bs8m";
|
|
|
|
})
|
|
|
|
(fetchurl {
|
|
|
|
url = "https://github.com/vinceliuice/Mojave-gtk-theme/raw/11741a99d96953daf9c27e44c94ae50a7247c0ed/macOS_Mojave_Wallpapers.tar.xz";
|
|
|
|
sha256 = "18zzkwm1kqzsdaj8swf0xby1n65gxnyslpw4lnxcx1rphip0rwf7";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
sourceRoot = "source";
|
2019-01-02 22:23:49 +00:00
|
|
|
|
|
|
|
buildInputs = [ gtk_engines ];
|
|
|
|
|
|
|
|
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
patchShebangs .
|
|
|
|
name= ./install.sh -d $out/share/themes
|
2019-12-13 12:57:14 +00:00
|
|
|
install -D -t $out/share/wallpapers ../"macOS Mojave Wallpapers"/*
|
2019-01-02 22:23:49 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Mac OSX Mojave like theme for GTK based desktop environments";
|
|
|
|
homepage = https://github.com/vinceliuice/Mojave-gtk-theme;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|