nixpkgs/pkgs/by-name/ma/marwaita-mint/package.nix
2024-09-10 08:19:25 +00:00

49 lines
973 B
Nix

{ lib
, stdenvNoCC
, fetchFromGitHub
, gitUpdater
, gdk-pixbuf
, gtk-engine-murrine
, gtk_engines
, librsvg
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "marwaita-mint";
version = "21";
src = fetchFromGitHub {
owner = "darkomarko42";
repo = "marwaita-mint";
rev = finalAttrs.version;
hash = "sha256-RzQmBD4nlnzZN1BCS6EOqbuSxmjHPAgf/uv99xgAUYU=";
};
buildInputs = [
gdk-pixbuf
gtk_engines
librsvg
];
propagatedUserEnvPkgs = [
gtk-engine-murrine
];
installPhase = ''
runHook preInstall
mkdir -p $out/share/themes
cp -a Marwaita* $out/share/themes
runHook postInstall
'';
passthru.updateScript = gitUpdater { };
meta = {
description = "Variation for marwaita GTK theme based on linux mint color scheme";
homepage = "https://www.pling.com/p/1674243";
license = lib.licenses.gpl3Only;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ romildo ];
};
})