e0d1b75f19
GitOrigin-RevId: fe01052444c1d66ed6ef76df2af798c9769e9e79
48 lines
1 KiB
Nix
48 lines
1 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, gnome-shell
|
|
, gtk-engine-murrine
|
|
, gtk_engines
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "vimix-gtk-themes";
|
|
version = "2021-08-09";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vinceliuice";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0j6sq7z4zqc9q4hqcq4y9vh4qpgl0v1i353l6rcd6bh1r594rwjm";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
gnome-shell # needed to determine the gnome-shell version
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk_engines
|
|
];
|
|
|
|
propagatedUserEnvPkgs = [
|
|
gtk-engine-murrine
|
|
];
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
patchShebangs .
|
|
mkdir -p $out/share/themes
|
|
name= ./install.sh --all --dest $out/share/themes
|
|
rm $out/share/themes/*/{AUTHORS,LICENSE}
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Flat Material Design theme for GTK based desktop environments";
|
|
homepage = "https://github.com/vinceliuice/vimix-gtk-themes";
|
|
license = licenses.gpl3Only;
|
|
platforms = platforms.unix;
|
|
maintainers = [ maintainers.romildo ];
|
|
};
|
|
}
|