5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
48 lines
956 B
Nix
48 lines
956 B
Nix
{ lib
|
|
, stdenvNoCC
|
|
, fetchFromGitHub
|
|
, nix-update-script
|
|
, gdk-pixbuf
|
|
, gtk-engine-murrine
|
|
, gtk_engines
|
|
, librsvg
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
|
pname = "marwaita-x";
|
|
version = "0.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "darkomarko42";
|
|
repo = "marwaita-x";
|
|
rev = finalAttrs.version;
|
|
sha256 = "sha256-yf/3ukb52rbCXMObeiHrMdD1cTRjY739p7Vg+DBFReo=";
|
|
};
|
|
|
|
buildInputs = [
|
|
gdk-pixbuf
|
|
gtk_engines
|
|
librsvg
|
|
];
|
|
|
|
propagatedUserEnvPkgs = [
|
|
gtk-engine-murrine
|
|
];
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
mkdir -p $out/share/themes
|
|
cp -a Marwaita* $out/share/themes
|
|
runHook postInstall
|
|
'';
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
description = "A new version for Marwaita GTK theme";
|
|
homepage = "https://www.pling.com/p/2044790/";
|
|
license = lib.licenses.gpl3Only;
|
|
platforms = lib.platforms.unix;
|
|
maintainers = with lib.maintainers; [ romildo ];
|
|
};
|
|
})
|