git.iko.soy/typeable/nixpkgs
on master help sign in
equilux-theme: init at 20180927
commit6892cbce0905fed4f67904425478e5fb35d05582 authorFranz Pletz <fpletz@fnordicwalking.de> dateThu 11 Oct 2018, 02:07 (8 years ago) parentc04e6e0
2 files changed+41
pkgs/misc/themes/equilux-theme/default.nix+39 pkgs/top-level/all-packages.nix+2
pkgs/misc/themes/equilux-theme/default.nixnew file+39
@@ -0,0 +1,39 @@
1+{ stdenv, fetchFromGitHub, gnome3, libxml2, gtk-engine-murrine, gdk_pixbuf, librsvg, bc }:
2+
3+stdenv.mkDerivation rec {
4+ name = "equilux-theme-${version}";
5+ version = "20180927";
6+
7+ src = fetchFromGitHub {
8+ owner = "ddnexus";
9+ repo = "equilux-theme";
10+ rev = "equilux-v${version}";
11+ sha256 = "1j7ykygmwv3dmzqdc9byir86sjz6ykhv9bv1pll1bjvvnaalyzgk";
12+ };
13+
14+ nativeBuildInputs = [ gnome3.glib libxml2 bc ];
15+
16+ buildInputs = [ gnome3.gnome-themes-extra gdk_pixbuf librsvg ];
17+
18+ propagatedUserEnvPkgs = [ gtk-engine-murrine ];
19+
20+ dontBuild = true;
21+
22+ installPhase = ''
23+ patchShebangs install.sh
24+ sed -i install.sh \
25+ -e "s|if .*which gnome-shell.*;|if true;|" \
26+ -e "s|CURRENT_GS_VERSION=.*$|CURRENT_GS_VERSION=${stdenv.lib.versions.majorMinor gnome3.gnome-shell.version}|"
27+ mkdir -p $out/share/themes
28+ ./install.sh --dest $out/share/themes
29+ rm $out/share/themes/*/COPYING
30+ '';
31+
32+ meta = with stdenv.lib; {
33+ inherit (src.meta) homepage;
34+ description = "A Material Design theme for GNOME/GTK+ based desktop environments";
35+ license = licenses.gpl2;
36+ platforms = platforms.all;
37+ maintainers = [ maintainers.fpletz ];
38+ };
39+}
pkgs/top-level/all-packages.nix+2
@@ -21724,6 +21724,8 @@ with pkgs;
2172421724
2172521725 electricsheep = callPackage ../misc/screensavers/electricsheep { };
2172621726
21727+ equilux-theme = callPackage ../misc/themes/equilux-theme { };
21728+
2172721729 flam3 = callPackage ../tools/graphics/flam3 { };
2172821730
2172921731 glee = callPackage ../tools/graphics/glee { };