nixpkgs-suyu/pkgs/misc/themes/plano/default.nix

34 lines
880 B
Nix
Raw Normal View History

2018-01-12 15:51:30 +01:00
{ stdenv, fetchFromGitHub, gdk_pixbuf, gtk_engines, gtk-engine-murrine }:
stdenv.mkDerivation rec {
name = "plano-theme-${version}";
2018-05-09 21:44:28 +02:00
version = "3.28-1";
2018-01-12 15:51:30 +01:00
src = fetchFromGitHub {
owner = "lassekongo83";
repo = "plano-theme";
rev = "v${version}";
2018-05-09 21:44:28 +02:00
sha256 = "1862nx7c8786vfa0qdg4aqa13whsk3j5n93v9m91wpccv19n0ryn";
2018-01-12 15:51:30 +01: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/
rm $out/share/themes/Plano/{LICENSE,README.md}
'';
meta = {
description = "Flat theme for GNOME & Xfce4";
homepage = https://github.com/lassekongo83/plano-theme;
license = stdenv.lib.licenses.gpl3;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.romildo ];
};
}