2022-07-02 02:04:21 +02:00
|
|
|
{ lib, stdenvNoCC, fetchFromGitHub, gtk3, plasma5Packages, hicolor-icon-theme }:
|
2021-03-08 01:46:01 +01:00
|
|
|
|
2022-07-02 02:04:21 +02:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
2021-03-08 01:46:01 +01:00
|
|
|
pname = "oranchelo-icon-theme";
|
2022-07-25 11:05:15 +02:00
|
|
|
version = "0.9.0";
|
2021-03-08 01:46:01 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OrancheloTeam";
|
|
|
|
repo = pname;
|
2022-07-25 11:05:15 +02:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-IDsZj/X9rFSdDpa3bL6IPEPCRe5GustPteDxSbfz+SA=";
|
2021-03-08 01:46:01 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
gtk3
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
plasma5Packages.breeze-icons
|
|
|
|
hicolor-icon-theme
|
|
|
|
];
|
|
|
|
|
|
|
|
dontDropIconThemeCache = true;
|
|
|
|
|
2022-07-25 11:05:15 +02:00
|
|
|
makeFlags = [
|
|
|
|
"DESTDIR=$(out)"
|
|
|
|
"PREFIX="
|
|
|
|
];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
# space in icon name causes gtk-update-icon-cache to fail
|
|
|
|
mv "$out/share/icons/Oranchelo/apps/scalable/ grsync.svg" "$out/share/icons/Oranchelo/apps/scalable/grsync.svg"
|
|
|
|
|
|
|
|
for theme in $out/share/icons/*; do
|
|
|
|
gtk-update-icon-cache "$theme"
|
|
|
|
done
|
2021-03-08 01:46:01 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Oranchelo icon theme";
|
|
|
|
homepage = "https://github.com/OrancheloTeam/oranchelo-icon-theme";
|
|
|
|
license = licenses.gpl3Only;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ _414owen ];
|
|
|
|
};
|
|
|
|
}
|