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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

51 lines
974 B
Nix
Raw Normal View History

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