nixpkgs/pkgs/data/themes/vimix/default.nix

35 lines
910 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, gtk_engines, gtk-engine-murrine }:
2020-02-24 15:51:12 +00:00
stdenv.mkDerivation rec {
pname = "vimix-gtk-themes";
version = "2021-04-25";
2020-02-24 15:51:12 +00:00
src = fetchFromGitHub {
owner = "vinceliuice";
repo = pname;
rev = version;
sha256 = "0ak763vs27h5z2pgcqpz1g1hypn5gl0p0ylffawc9zdi1wp2mpxb";
2020-02-24 15:51:12 +00:00
};
buildInputs = [ gtk_engines ];
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
installPhase = ''
runHook preInstall
2020-02-24 15:51:12 +00:00
patchShebangs .
mkdir -p $out/share/themes
name= ./install.sh --all --dest $out/share/themes
2020-02-24 15:51:12 +00:00
rm $out/share/themes/*/{AUTHORS,LICENSE}
runHook postInstall
2020-02-24 15:51:12 +00:00
'';
meta = with lib; {
2020-02-24 15:51:12 +00:00
description = "Flat Material Design theme for GTK based desktop environments";
homepage = "https://github.com/vinceliuice/vimix-gtk-themes";
license = licenses.gpl3Only;
2020-02-24 15:51:12 +00:00
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}