2021-05-20 23:08:51 +00:00
|
|
|
{ lib
|
2024-07-01 15:47:52 +00:00
|
|
|
, stdenvNoCC
|
2020-07-18 16:06:22 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, gdk-pixbuf
|
|
|
|
, gtk-engine-murrine
|
|
|
|
, gtk_engines
|
|
|
|
, librsvg
|
2022-03-05 16:20:37 +00:00
|
|
|
, gitUpdater
|
2020-07-18 16:06:22 +00:00
|
|
|
}:
|
|
|
|
|
2024-07-01 15:47:52 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
2020-07-18 16:06:22 +00:00
|
|
|
pname = "marwaita";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "20.3.1";
|
2020-07-18 16:06:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "darkomarko42";
|
|
|
|
repo = pname;
|
2020-08-20 17:08:02 +00:00
|
|
|
rev = version;
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-6siv6fve0i/6DrNKuwNEc7nWlD4GbMaH7y4Mgliq8iI=";
|
2020-07-18 16:06:22 +00: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
|
|
|
|
'';
|
|
|
|
|
2022-10-06 18:32:54 +00:00
|
|
|
passthru.updateScript = gitUpdater { };
|
2022-03-05 16:20:37 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-09-25 04:45:31 +00:00
|
|
|
description = "GTK theme supporting Budgie, Pantheon, Mate, Xfce4 and GNOME desktops";
|
2020-07-18 16:06:22 +00:00
|
|
|
homepage = "https://www.pling.com/p/1239855/";
|
2021-08-05 21:33:18 +00:00
|
|
|
license = licenses.gpl3Only;
|
2020-07-18 16:06:22 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|