Merge pull request #21027 from romildo/upd.flat-plat-gtk-theme

flat-plat-gtk-theme: eba3be5 -> 2016-12-03
This commit is contained in:
Joachim F 2016-12-10 08:36:16 +01:00 committed by GitHub
commit d6d092919d

View file

@ -1,29 +1,33 @@
{ stdenv, fetchFromGitHub }:
{ stdenv, fetchFromGitHub, gnome3, libxml2, gtk-engine-murrine }:
stdenv.mkDerivation rec {
name = "flat-plat-gtk-theme-eba3be5";
name = "flat-plat-gtk-theme-${version}";
version = "2016-12-03";
src = fetchFromGitHub {
owner = "nana-4";
repo = "Flat-Plat";
rev = "eba3be5eafd1140e1edb8b02411edb2f6c78b0ca";
sha256 = "0vfdnrxspdwg4jr025dwjmdcrqnblhlw666v5b7qhkxymibp5j7h";
rev = "49a5a51ec1a5835ff04ba2c62c9bccbd3f49bbe6";
sha256 = "1w4b16cp2yv5rpijcqywlzrs3xjkvg8ppp2rfls1kvxq12rz4jkb";
};
nativeBuildInputs = [ gnome3.gnome_shell libxml2 ];
buildInputs = [ gnome3.gnome_themes_standard gtk-engine-murrine ];
dontBuild = true;
installPhase = ''
mkdir -p $out/share/themes/Flat-Plat
rm .gitignore COPYING README.md
cp -r . $out/share/themes/Flat-Plat
substituteInPlace install.sh --replace /usr ""
destdir="$out" ./install.sh
rm $out/share/themes/*/COPYING
'';
meta = with stdenv.lib; {
description = "A Material Design-like flat theme for GTK3, GTK2, and GNOME Shell";
description = "A Material Design-like theme for GTK+ based desktop environments";
homepage = https://github.com/nana-4/Flat-Plat;
license = licenses.gpl2;
maintainers = [ maintainers.mounium ];
platforms = platforms.all;
maintainers = [ maintainers.mounium ];
};
}