nixpkgs-suyu/pkgs/data/themes/marwaita-manjaro/default.nix

47 lines
882 B
Nix
Raw Normal View History

2020-08-30 15:03:06 +02:00
{ stdenv
, fetchFromGitHub
, gdk-pixbuf
, gtk-engine-murrine
, gtk_engines
, librsvg
}:
stdenv.mkDerivation rec {
pname = "marwaita-manjaro";
2020-09-06 18:09:33 +02:00
version = "1.5";
2020-08-30 15:03:06 +02:00
src = fetchFromGitHub {
owner = "darkomarko42";
repo = pname;
2020-09-06 18:09:33 +02:00
rev = version;
sha256 = "0gd6dk7bfhnzmdsmdafc6f0kspnvzpvcmlb8h6q36ifvv0yg3jw4";
2020-08-30 15:03:06 +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 stdenv.lib; {
description = "Manjaro Style (green version) of Marwaita GTK theme";
homepage = "https://www.pling.com/p/1351213/";
license = licenses.gpl3;
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}