2018-01-12 14:51:30 +00:00
|
|
|
{ stdenv, fetchFromGitHub, gdk_pixbuf, gtk_engines, gtk-engine-murrine }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "plano-theme-${version}";
|
2018-12-19 18:39:11 +00:00
|
|
|
version = "3.30-2";
|
2018-01-12 14:51:30 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lassekongo83";
|
|
|
|
repo = "plano-theme";
|
|
|
|
rev = "v${version}";
|
2018-12-19 18:39:11 +00:00
|
|
|
sha256 = "06yagpb0dpb8nzh3lvs607rzg6y5l6skl4mjcmbxayapsqka45hj";
|
2018-01-12 14:51:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ gdk_pixbuf gtk_engines ];
|
|
|
|
|
|
|
|
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
|
|
|
|
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -dm 755 $out/share/themes/Plano
|
|
|
|
cp -a * $out/share/themes/Plano/
|
2018-07-29 20:15:14 +01:00
|
|
|
rm $out/share/themes/Plano/LICENSE
|
2018-01-12 14:51:30 +00:00
|
|
|
'';
|
|
|
|
|
2018-09-19 15:02:33 +01:00
|
|
|
meta = with stdenv.lib; {
|
2018-01-12 14:51:30 +00:00
|
|
|
description = "Flat theme for GNOME & Xfce4";
|
|
|
|
homepage = https://github.com/lassekongo83/plano-theme;
|
2018-09-19 15:02:33 +01:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
2018-01-12 14:51:30 +00:00
|
|
|
};
|
|
|
|
}
|