mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 12:23:02 +00:00
51 lines
951 B
Nix
51 lines
951 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, gdk-pixbuf
|
|
, gtk-engine-murrine
|
|
, gtk_engines
|
|
, librsvg
|
|
, gitUpdater
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "marwaita";
|
|
version = "16.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "darkomarko42";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-NYJ3cVxWd3vVkjr+Ni4kmhQzL9E+paexejrNA8pRfPE=";
|
|
};
|
|
|
|
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 = "GTK theme supporting Budgie, Pantheon, Mate, Xfce4 and GNOME desktops";
|
|
homepage = "https://www.pling.com/p/1239855/";
|
|
license = licenses.gpl3Only;
|
|
platforms = platforms.unix;
|
|
maintainers = [ maintainers.romildo ];
|
|
};
|
|
}
|