46 lines
1 KiB
Nix
46 lines
1 KiB
Nix
{ lib
|
|
, stdenvNoCC
|
|
, fetchFromGitHub
|
|
, gtk3
|
|
, hicolor-icon-theme
|
|
, jdupes
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "qogir-icon-theme";
|
|
version = "2022-01-12";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vinceliuice";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "1daayxsqh7di3bvfnl39h1arsj1fypd3ba30mas6dl1d0qy17z1p";
|
|
};
|
|
|
|
nativeBuildInputs = [ gtk3 jdupes ];
|
|
|
|
propagatedBuildInputs = [ hicolor-icon-theme ];
|
|
|
|
dontDropIconThemeCache = true;
|
|
|
|
# These fixup steps are slow and unnecessary.
|
|
dontPatchELF = true;
|
|
dontRewriteSymlinks = true;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
patchShebangs install.sh
|
|
mkdir -p $out/share/icons
|
|
name= ./install.sh -d $out/share/icons
|
|
jdupes -L -r $out/share/icons
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Flat colorful design icon theme";
|
|
homepage = "https://github.com/vinceliuice/Qogir-icon-theme";
|
|
license = with licenses; [ gpl3Only ];
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ romildo ];
|
|
};
|
|
}
|