2021-10-08 15:17:17 +00:00
|
|
|
{ lib, stdenvNoCC, fetchFromGitHub, gtk3, jdupes, hicolor-icon-theme }:
|
2021-05-03 20:48:10 +00:00
|
|
|
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "tela-icon-theme";
|
2022-09-09 14:08:57 +00:00
|
|
|
version = "2022-08-28";
|
2021-05-03 20:48:10 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vinceliuice";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-09-09 14:08:57 +00:00
|
|
|
sha256 = "sha256-SW4MNvtrHpJm6yiS9k11XzzzGSMXdZ71cnvASK1dzno=";
|
2021-05-03 20:48:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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
|
|
|
|
./install.sh -a -d $out/share/icons
|
|
|
|
jdupes -l -r $out/share/icons
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A flat colorful Design icon theme";
|
|
|
|
homepage = "https://github.com/vinceliuice/tela-icon-theme";
|
|
|
|
license = licenses.gpl3Only;
|
2021-12-06 16:07:01 +00:00
|
|
|
# darwin systems use case-insensitive filesystems that cause hash mismatches
|
|
|
|
platforms = subtractLists platforms.darwin platforms.unix;
|
2021-05-03 20:48:10 +00:00
|
|
|
maintainers = with maintainers; [ figsoda ];
|
|
|
|
};
|
|
|
|
}
|