nixpkgs/pkgs/data/themes/plano/default.nix

34 lines
834 B
Nix
Raw Normal View History

2018-01-12 06:51:30 -08:00
{ stdenv, fetchFromGitHub, gdk_pixbuf, gtk_engines, gtk-engine-murrine }:
stdenv.mkDerivation rec {
2019-02-08 12:07:28 -08:00
pname = "plano-theme";
version = "3.30-3";
2018-01-12 06:51:30 -08:00
src = fetchFromGitHub {
owner = "lassekongo83";
2019-02-08 12:07:28 -08:00
repo = pname;
2018-01-12 06:51:30 -08:00
rev = "v${version}";
2019-02-08 12:07:28 -08:00
sha256 = "1rb9whr5r2pj6fmwa9g0vdrfki3dqldnx85mpyq07jvxkipcdq6g";
2018-01-12 06:51:30 -08: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 12:15:14 -07:00
rm $out/share/themes/Plano/LICENSE
2018-01-12 06:51:30 -08:00
'';
2018-09-19 07:02:33 -07:00
meta = with stdenv.lib; {
2018-01-12 06:51:30 -08:00
description = "Flat theme for GNOME & Xfce4";
homepage = https://github.com/lassekongo83/plano-theme;
2018-09-19 07:02:33 -07:00
license = licenses.gpl3;
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
2018-01-12 06:51:30 -08:00
};
}