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

48 lines
886 B
Nix
Raw Normal View History

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