1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/data/themes/vimix/default.nix
José Romildo 9aedb717ec vimix-gtk-themes: 2020-11-28 -> 2021-04-25
- Update version
- FIx license
- Install all theme variants
- Add calls to run hooks in installPhase
2021-06-06 20:02:47 -03:00

35 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 ];
};
}