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

47 lines
889 B
Nix
Raw Normal View History

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