diff options
Diffstat (limited to 'pkgs/by-name/ma/marwaita-red/package.nix')
-rw-r--r-- | pkgs/by-name/ma/marwaita-red/package.nix | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/pkgs/by-name/ma/marwaita-red/package.nix b/pkgs/by-name/ma/marwaita-red/package.nix new file mode 100644 index 0000000000000..bb647ae1977c7 --- /dev/null +++ b/pkgs/by-name/ma/marwaita-red/package.nix @@ -0,0 +1,50 @@ +{ lib +, stdenv +, fetchFromGitHub +, gdk-pixbuf +, gtk-engine-murrine +, gtk_engines +, librsvg +, gitUpdater +}: + +stdenv.mkDerivation rec { + pname = "marwaita-red"; + version = "20.3.1"; + + src = fetchFromGitHub { + owner = "darkomarko42"; + repo = pname; + rev = version; + hash = "sha256-cMZDd/WQFrfr6Zrq1/1It26OmML3cf7+ZU/I8IMjuX4="; + }; + + 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 + ''; + + passthru.updateScript = gitUpdater { }; + + meta = with lib; { + description = "Marwaita GTK theme with Peppermint Os Linux style"; + homepage = "https://www.pling.com/p/1399569/"; + license = licenses.gpl3Only; + platforms = platforms.unix; + maintainers = [ maintainers.romildo ]; + }; +} |