2021-05-02 20:18:48 +00:00
|
|
|
{ fetchFromGitHub, gtk3, hicolor-icon-theme, jdupes, lib, stdenvNoCC }:
|
2021-04-27 13:29:58 +00:00
|
|
|
|
2021-05-02 20:18:48 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
2021-04-27 13:29:58 +00:00
|
|
|
pname = "tela-icon-theme";
|
|
|
|
version = "2021-01-21";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vinceliuice";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0gphy4aq2qjcg79k6rc0q5901mn3q76qhckn5vxvmypn9n3lb9ph";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ gtk3 jdupes ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ hicolor-icon-theme ];
|
|
|
|
|
|
|
|
dontDropIconThemeCache = true;
|
|
|
|
|
2021-05-02 20:17:14 +00:00
|
|
|
# These fixup steps are slow and unnecessary.
|
|
|
|
dontPatchELF = true;
|
|
|
|
dontRewriteSymlinks = true;
|
|
|
|
|
2021-04-27 13:29:58 +00:00
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
2021-05-02 14:49:37 +00:00
|
|
|
|
2021-04-27 13:29:58 +00:00
|
|
|
patchShebangs install.sh
|
|
|
|
mkdir -p $out/share/icons
|
|
|
|
./install.sh -a -d $out/share/icons
|
|
|
|
jdupes -l -r $out/share/icons
|
2021-05-02 14:49:37 +00:00
|
|
|
|
2021-04-27 13:29:58 +00:00
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A flat colorful Design icon theme";
|
|
|
|
homepage = "https://github.com/vinceliuice/tela-icon-theme";
|
2021-05-02 20:17:59 +00:00
|
|
|
license = licenses.gpl3Only;
|
2021-04-27 13:29:58 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ figsoda ];
|
|
|
|
};
|
|
|
|
}
|