mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
38 lines
848 B
Nix
38 lines
848 B
Nix
{ stdenv
|
|
, fetchFromGitHub
|
|
, lib
|
|
, gtk-engine-murrine
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "layan-gtk-theme";
|
|
version = "2023-05-23";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vinceliuice";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-R8QxDMOXzDIfioAvvescLAu6NjJQ9zhf/niQTXZr+yA=";
|
|
};
|
|
|
|
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
|
|
|
postPatch = ''
|
|
patchShebangs install.sh
|
|
'';
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
mkdir -p $out/share/themes
|
|
unset name && ./install.sh -d $out/share/themes
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Flat Material Design theme for GTK 3, GTK 2 and Gnome-Shell";
|
|
homepage = "https://github.com/vinceliuice/Layan-gtk-theme";
|
|
license = licenses.gpl3Only;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.vanilla ];
|
|
};
|
|
}
|