diff options
author | José Romildo Malaquias <malaquias@gmail.com> | 2019-12-13 09:57:14 -0300 |
---|---|---|
committer | José Romildo Malaquias <malaquias@gmail.com> | 2019-12-13 15:33:37 -0300 |
commit | 455a66eaaec56d4c0252e7899b82a8532bc9c69f (patch) | |
tree | 5900074a20bb4f2cddda5dc03e169d70def32538 /pkgs/data/themes | |
parent | 0e88b669d0078e429ac4ed2115a6c0d82658ee06 (diff) |
mojave-gtk-theme: add wallpapers
Diffstat (limited to 'pkgs/data/themes')
-rw-r--r-- | pkgs/data/themes/mojave/default.nix | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/pkgs/data/themes/mojave/default.nix b/pkgs/data/themes/mojave/default.nix index 158083c392e9d..6c38e3aaba41e 100644 --- a/pkgs/data/themes/mojave/default.nix +++ b/pkgs/data/themes/mojave/default.nix @@ -1,15 +1,23 @@ -{ stdenv, fetchFromGitHub, gtk_engines, gtk-engine-murrine }: +{ stdenv, fetchFromGitHub, fetchurl, gtk_engines, gtk-engine-murrine }: stdenv.mkDerivation rec { pname = "mojave-gtk-theme"; version = "2019-12-12"; - src = fetchFromGitHub { - owner = "vinceliuice"; - repo = pname; - rev = version; - sha256 = "0d5m9gh97db01ygqlp2sv9v1m183d9fgid9n9wms9r5rrrw6bs8m"; - }; + 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"; buildInputs = [ gtk_engines ]; @@ -18,6 +26,7 @@ stdenv.mkDerivation rec { installPhase = '' patchShebangs . name= ./install.sh -d $out/share/themes + install -D -t $out/share/wallpapers ../"macOS Mojave Wallpapers"/* ''; meta = with stdenv.lib; { |