chicago95: init at 3.0.1
This commit is contained in:
committed by
John Titor
parent
4804f1233d
commit
315ea55a65
@@ -0,0 +1,51 @@
|
||||
{
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
fetchFromGitHub,
|
||||
gtk3,
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "chicago95";
|
||||
version = "3.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "grassmunk";
|
||||
repo = "Chicago95";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-EHcDIct2VeTsjbQWnKB2kwSFNb97dxuydAu+i/VquBA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ gtk3 ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/themes
|
||||
mv Theme/Chicago95 $out/share/themes
|
||||
|
||||
mkdir -p $out/share/icons
|
||||
mv Icons/Chicago95 $out/share/icons
|
||||
gtk-update-icon-cache $out/share/icons/Chicago95
|
||||
|
||||
mkdir -p $out/share/sddm/themes
|
||||
tar -xzf KDE/SDDM/Chicago95.tar.gz -C "$out/share/sddm/themes/"
|
||||
|
||||
mkdir -p $out/share/fonts
|
||||
cp Fonts/vga_font/* $out/share/fonts
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Windows 95 theme for GTK";
|
||||
homepage = "https://github.com/grassmunk/Chicago95";
|
||||
changelog = "https://github.com/grassmunk/Chicago95/releases/tag/v${finalAttrs.version}";
|
||||
license = with lib.licenses; [
|
||||
gpl3Plus
|
||||
mit
|
||||
];
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ GabrielMaguire ];
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user