depot/third_party/nixpkgs/pkgs/by-name/ma/marwaita-yellow/package.nix

51 lines
949 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
gdk-pixbuf,
gtk-engine-murrine,
gtk_engines,
librsvg,
gitUpdater,
}:
stdenv.mkDerivation rec {
pname = "marwaita-yellow";
version = "23";
src = fetchFromGitHub {
owner = "darkomarko42";
repo = "marwaita-yellow";
rev = version;
hash = "sha256-1nGQvN6xacMoRyT7WkNC2lKX/QnXA7pCBz1kIo0aOwA=";
};
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 Pop_os Linux style";
homepage = "https://www.pling.com/p/1377894/";
license = licenses.gpl3Only;
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}