2021-08-27 14:25:00 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2020-09-25 04:45:31 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, gdk-pixbuf
|
|
|
|
, gtk-engine-murrine
|
|
|
|
, gtk_engines
|
|
|
|
, librsvg
|
2023-11-16 04:20:00 +00:00
|
|
|
, gitUpdater
|
2020-09-25 04:45:31 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2024-07-27 06:49:29 +00:00
|
|
|
pname = "marwaita-red";
|
2024-07-31 10:19:44 +00:00
|
|
|
version = "20.3.1";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "darkomarko42";
|
|
|
|
repo = pname;
|
2024-07-31 10:19:44 +00:00
|
|
|
rev = version;
|
|
|
|
hash = "sha256-cMZDd/WQFrfr6Zrq1/1It26OmML3cf7+ZU/I8IMjuX4=";
|
2020-09-25 04:45:31 +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
|
|
|
|
'';
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
passthru.updateScript = gitUpdater { };
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-09-25 04:45:31 +00:00
|
|
|
description = "Marwaita GTK theme with Peppermint Os Linux style";
|
|
|
|
homepage = "https://www.pling.com/p/1399569/";
|
2021-08-27 14:25:00 +00:00
|
|
|
license = licenses.gpl3Only;
|
2020-09-25 04:45:31 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|