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

48 lines
876 B
Nix
Raw Normal View History

2021-08-19 22:39:02 +02:00
{ lib
, stdenv
2020-10-01 17:51:34 +02:00
, fetchFromGitHub
, gdk-pixbuf
, gtk-engine-murrine
, gtk_engines
, librsvg
}:
stdenv.mkDerivation rec {
pname = "marwaita-pop_os";
2021-08-19 22:39:02 +02:00
version = "10.3";
2020-10-01 17:51:34 +02:00
src = fetchFromGitHub {
owner = "darkomarko42";
repo = pname;
rev = version;
2021-08-19 22:39:02 +02:00
sha256 = "1j6d91kx6iw8sy35rhhjvwb3qz60bvf7a7g7q2i0sznzdicrwsq6";
2020-10-01 17:51:34 +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-10-01 17:51:34 +02:00
description = "Marwaita GTK theme with Pop_os Linux style";
homepage = "https://www.pling.com/p/1377894/";
license = licenses.gpl3Only;
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}