3
0
Fork 0
forked from mirrors/nixpkgs

layan-gtk-theme: init at 2021-06-30 (#130064)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Vanilla 2021-07-14 09:42:01 +08:00 committed by GitHub
parent cbdfe4eb8a
commit b7a7969c1a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,38 @@
{ stdenv
, fetchFromGitHub
, lib
, gtk-engine-murrine
}:
stdenv.mkDerivation rec {
pname = "layan-gtk-theme";
version = "2021-06-30";
src = fetchFromGitHub {
owner = "vinceliuice";
repo = pname;
rev = version;
sha256 = "sha256-FI8+AJlcPHGOzxN6HUKLtPGLe8JTfTQ9Az9NsvVUK7g=";
};
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 = "A 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 ];
};
}

View file

@ -22310,6 +22310,8 @@ in
kreative-square-fonts = callPackage ../data/fonts/kreative-square-fonts { };
layan-gtk-theme = callPackage ../data/themes/layan-gtk-theme { };
lato = callPackage ../data/fonts/lato {};
league-of-moveable-type = callPackage ../data/fonts/league-of-moveable-type {};