3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #170525 from romildo/upd.vimix-gtk-themes

This commit is contained in:
Sandro 2022-05-02 14:10:03 +02:00 committed by GitHub
commit 40607ded49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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";