2020-01-09 10:54:00 +01:00
|
|
|
{ stdenv, fetchFromGitHub, gdk-pixbuf, gtk_engines, gtk-engine-murrine, librsvg }:
|
2018-01-12 15:51:30 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-02-08 21:07:28 +01:00
|
|
|
pname = "plano-theme";
|
2020-01-09 10:54:00 +01:00
|
|
|
version = "3.34-2";
|
2018-01-12 15:51:30 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lassekongo83";
|
2019-02-08 21:07:28 +01:00
|
|
|
repo = pname;
|
2018-01-12 15:51:30 +01:00
|
|
|
rev = "v${version}";
|
2020-01-09 10:54:00 +01:00
|
|
|
sha256 = "0spbyvzb47vyfhcn3gr0z1gdb5xrprynm6442y1z32znai2bgpnd";
|
2018-01-12 15:51:30 +01:00
|
|
|
};
|
|
|
|
|
2020-01-09 10:54:00 +01:00
|
|
|
buildInputs = [ gdk-pixbuf gtk_engines librsvg ];
|
2018-01-12 15:51:30 +01:00
|
|
|
|
|
|
|
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
|
|
|
|
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -dm 755 $out/share/themes/Plano
|
|
|
|
cp -a * $out/share/themes/Plano/
|
2020-01-09 10:54:00 +01:00
|
|
|
rm $out/share/themes/Plano/{LICENSE,README.md}
|
2018-01-12 15:51:30 +01:00
|
|
|
'';
|
|
|
|
|
2018-09-19 16:02:33 +02:00
|
|
|
meta = with stdenv.lib; {
|
2019-10-10 16:02:57 +02:00
|
|
|
description = "Flat theme for GNOME and Xfce";
|
2020-01-09 10:54:00 +01:00
|
|
|
homepage = "https://github.com/lassekongo83/plano-theme";
|
2018-09-19 16:02:33 +02:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
2018-01-12 15:51:30 +01:00
|
|
|
};
|
|
|
|
}
|