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

48 lines
886 B
Nix
Raw Normal View History

2021-08-15 12:49:10 +00:00
{ lib
, stdenv
2020-08-30 13:03:06 +00:00
, fetchFromGitHub
, gdk-pixbuf
, gtk-engine-murrine
, gtk_engines
, librsvg
}:
stdenv.mkDerivation rec {
pname = "marwaita-manjaro";
2021-08-15 12:49:10 +00:00
version = "10.3";
2020-08-30 13:03:06 +00:00
src = fetchFromGitHub {
owner = "darkomarko42";
repo = pname;
2020-09-06 16:09:33 +00:00
rev = version;
2021-08-15 12:49:10 +00:00
sha256 = "0qihxipk7ya6n3p9kg20bk6plnb85pg3ahwd02qq4bqfiw6mx3gw";
2020-08-30 13:03:06 +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
'';
meta = with lib; {
2020-08-30 13:03:06 +00:00
description = "Manjaro Style (green version) of Marwaita GTK theme";
homepage = "https://www.pling.com/p/1351213/";
2021-01-04 19:37:22 +00:00
license = licenses.gpl3Only;
2020-08-30 13:03:06 +00:00
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}