vimix-gtk-themes: 2021-08-17 -> 2022-04-24

This commit is contained in:
José Romildo 2022-04-24 12:02:31 -03:00
parent 7c43c4cc0a
commit 57db91900e

View File

@ -4,21 +4,24 @@
, gnome-shell
, gtk-engine-murrine
, gtk_engines
, sassc
, gitUpdater
}:
stdenv.mkDerivation rec {
pname = "vimix-gtk-themes";
version = "2021-08-17";
version = "2022-04-24";
src = fetchFromGitHub {
owner = "vinceliuice";
repo = pname;
rev = version;
sha256 = "1pn737w99j4ij8qkgw0rrzhbcqzni73z5wnkfqgqqbhj38rafbpv";
sha256 = "0q0ahm060qvr7r9j3x9lxidjnwf032c2g1pcqw9mz93iy7vfn358";
};
nativeBuildInputs = [
gnome-shell # needed to determine the gnome-shell version
sassc
];
buildInputs = [
@ -29,15 +32,20 @@ stdenv.mkDerivation rec {
gtk-engine-murrine
];
postPatch = ''
patchShebangs install.sh
'';
installPhase = ''
runHook preInstall
patchShebangs .
mkdir -p $out/share/themes
name= ./install.sh --all --dest $out/share/themes
name= HOME="$TMPDIR" ./install.sh --all --dest $out/share/themes
rm $out/share/themes/*/{AUTHORS,LICENSE}
runHook postInstall
'';
passthru.updateScript = gitUpdater {inherit pname version; };
meta = with lib; {
description = "Flat Material Design theme for GTK based desktop environments";
homepage = "https://github.com/vinceliuice/vimix-gtk-themes";