Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 39 lines 1.1 kB view raw
1{ lib, stdenv, fetchFromGitHub, gnome, glib, libxml2, gtk-engine-murrine, gdk-pixbuf, librsvg, bc }: 2 3stdenv.mkDerivation rec { 4 pname = "equilux-theme"; 5 version = "20181029"; 6 7 src = fetchFromGitHub { 8 owner = "ddnexus"; 9 repo = "equilux-theme"; 10 rev = "equilux-v${version}"; 11 sha256 = "0lv2yyxhnmnkwxp576wnb01id4fp734b5z5n0l67sg5z7vc2h8fc"; 12 }; 13 14 nativeBuildInputs = [ glib libxml2 bc ]; 15 16 buildInputs = [ gnome.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=${lib.versions.majorMinor gnome.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 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}