nixpkgs/pkgs/misc/themes/plano/default.nix
2018-05-09 16:44:28 -03:00

33 lines
880 B
Nix

{ stdenv, fetchFromGitHub, gdk_pixbuf, gtk_engines, gtk-engine-murrine }:
stdenv.mkDerivation rec {
name = "plano-theme-${version}";
version = "3.28-1";
src = fetchFromGitHub {
owner = "lassekongo83";
repo = "plano-theme";
rev = "v${version}";
sha256 = "1862nx7c8786vfa0qdg4aqa13whsk3j5n93v9m91wpccv19n0ryn";
};
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 ];
};
}