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

48 lines
890 B
Nix
Raw Normal View History

2021-05-16 00:19:06 +02:00
{ lib
, stdenv
2020-07-05 16:02:48 +02:00
, fetchFromGitHub
, gdk-pixbuf
, gtk-engine-murrine
, gtk_engines
, librsvg
}:
stdenv.mkDerivation rec {
pname = "marwaita";
2021-06-23 16:37:50 +02:00
version = "9.5";
2020-07-05 16:02:48 +02:00
src = fetchFromGitHub {
owner = "darkomarko42";
repo = pname;
2020-08-12 14:00:00 +02:00
rev = version;
2021-06-23 16:37:50 +02:00
sha256 = "0hhiwims4nxq06kakc0hc4rn4hvnlrpbx6ca929vd2qbi6wa2k9h";
2020-07-05 16:02:48 +02: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 lib; {
2020-09-03 15:11:55 +02:00
description = "GTK theme supporting Budgie, Pantheon, Mate, Xfce4 and GNOME desktops";
2020-07-05 16:02:48 +02:00
homepage = "https://www.pling.com/p/1239855/";
license = licenses.cc0;
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}