diff --git a/pkgs/misc/themes/vertex/default.nix b/pkgs/misc/themes/vertex/default.nix new file mode 100644 index 000000000000..d1c81e0af483 --- /dev/null +++ b/pkgs/misc/themes/vertex/default.nix @@ -0,0 +1,33 @@ +{ stdenv, fetchFromGitHub, autoreconfHook, gtk3, pkgconfig }: + +stdenv.mkDerivation rec { + name = "theme-vertex-${version}"; + version = "20150718"; + + src = fetchFromGitHub { + owner = "horst3180"; + repo = "Vertex-theme"; + rev = version; + sha256 = "19mmybfkx3mrbm9vr78c7xiyazmyzji1n6669466svjr3jy87546"; + }; + + buildInputs = [ autoreconfHook gtk3 pkgconfig ]; + + configureFlags = "--disable-unity"; + + postInstall = '' + mkdir -p $out/share/doc/theme-vertex + cp AUTHORS COPYING README.md $out/share/doc/theme-vertex/ + + mkdir -p $out/share/doc/theme-vertex/extra + cp -r extra/{Chrome,Firefox} $out/share/doc/theme-vertex/extra + ''; + + meta = with stdenv.lib; { + inherit (src.meta) homepage; + description = "Theme for GTK 3, GTK 2, Gnome-Shell, and Cinnamon"; + license = licenses.gpl3; + maintainer = [ maintainers.rycee ]; + platforms = platforms.unix; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6d4af1c6a015..85c4685f3009 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14110,6 +14110,8 @@ let kde5 = kf5_stable // plasma5_stable // kdeApps_stable; + theme-vertex = callPackage ../misc/themes/vertex { }; + xfce = xfce4-12; xfce4-12 = recurseIntoAttrs (import ../desktops/xfce { inherit config pkgs newScope; });