nixpkgs/pkgs/data/themes/marwaita/default.nix

47 lines
889 B
Nix
Raw Normal View History

{ lib, stdenv
2020-07-05 15:02:48 +01:00
, fetchFromGitHub
, gdk-pixbuf
, gtk-engine-murrine
, gtk_engines
, librsvg
}:
stdenv.mkDerivation rec {
pname = "marwaita";
2021-01-02 14:21:16 +00:00
version = "8.0";
2020-07-05 15:02:48 +01:00
src = fetchFromGitHub {
owner = "darkomarko42";
repo = pname;
2020-08-12 13:00:00 +01:00
rev = version;
2021-01-02 14:21:16 +00:00
sha256 = "0ljigm5z13r0idfkjgy5ysq9pzdj66ql269p5phhp47aagmjcv3s";
2020-07-05 15:02:48 +01: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
'';
meta = with lib; {
2020-09-03 14:11:55 +01:00
description = "GTK theme supporting Budgie, Pantheon, Mate, Xfce4 and GNOME desktops";
2020-07-05 15:02:48 +01:00
homepage = "https://www.pling.com/p/1239855/";
license = licenses.cc0;
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}