2019-05-22 12:03:39 +01:00
|
|
|
{ stdenv, fetchFromGitHub, gdk-pixbuf, gtk_engines, gtk-engine-murrine }:
|
2018-01-12 14:51:30 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-02-08 20:07:28 +00:00
|
|
|
pname = "plano-theme";
|
2019-03-17 22:23:06 +00:00
|
|
|
version = "3.32-1";
|
2018-01-12 14:51:30 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lassekongo83";
|
2019-02-08 20:07:28 +00:00
|
|
|
repo = pname;
|
2018-01-12 14:51:30 +00:00
|
|
|
rev = "v${version}";
|
2019-03-17 22:23:06 +00:00
|
|
|
sha256 = "0p9j4p32489jb6d67jhf9x26my0mddcc6a174x713drch8zvb96l";
|
2018-01-12 14:51:30 +00:00
|
|
|
};
|
|
|
|
|
2019-05-22 12:03:39 +01:00
|
|
|
buildInputs = [ gdk-pixbuf gtk_engines ];
|
2018-01-12 14:51:30 +00:00
|
|
|
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|