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

47 lines
886 B
Nix
Raw Normal View History

2020-07-05 15:02:48 +01:00
{ stdenv
, fetchFromGitHub
, gdk-pixbuf
, gtk-engine-murrine
, gtk_engines
, librsvg
}:
stdenv.mkDerivation rec {
pname = "marwaita";
2020-08-30 13:00:39 +01:00
version = "7.5.1";
2020-07-05 15:02:48 +01:00
src = fetchFromGitHub {
owner = "darkomarko42";
repo = pname;
2020-08-12 13:00:00 +01:00
rev = version;
2020-08-30 13:00:39 +01:00
sha256 = "0ig5wc6dkbly6yrvd13h4lyr8x0y7k3d9iv4rhg0pnjgcpna83mw";
2020-07-05 15:02:48 +01:00
};
buildInputs = [
gdk-pixbuf
gtk_engines
librsvg
];
propagatedUserEnvPkgs = [
gtk-engine-murrine
];
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir -p $out/share/themes
cp -a Marwaita* $out/share/themes
runHook postInstall
'';
meta = with stdenv.lib; {
description = "GTK theme supporting Budgie, Pantheon, Mate and Xfce4 desktops";
homepage = "https://www.pling.com/p/1239855/";
license = licenses.cc0;
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}