841d9c7fc1
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
34 lines
910 B
Nix
34 lines
910 B
Nix
{ lib, stdenv, fetchFromGitHub, gtk_engines, gtk-engine-murrine }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "vimix-gtk-themes";
|
|
version = "2021-04-25";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vinceliuice";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0ak763vs27h5z2pgcqpz1g1hypn5gl0p0ylffawc9zdi1wp2mpxb";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|