2021-03-23 19:22:30 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub , gtk3, adwaita-icon-theme, breeze-icons, hicolor-icon-theme }:
|
2021-01-09 10:05:03 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "kora-icon-theme";
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "1.4.7";
|
2021-01-09 10:05:03 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bikass";
|
|
|
|
repo = "kora";
|
|
|
|
rev = "v${version}";
|
2021-12-06 16:07:01 +00:00
|
|
|
sha256 = "sha256-Ol4DrQJmQT/LIU5qWJJEm6od7e29h7g913YTFQjudBQ=";
|
2021-01-09 10:05:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
gtk3
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2021-03-23 19:22:30 +00:00
|
|
|
adwaita-icon-theme
|
2021-01-09 10:05:03 +00:00
|
|
|
breeze-icons
|
|
|
|
hicolor-icon-theme
|
|
|
|
];
|
|
|
|
|
|
|
|
dontDropIconThemeCache = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
2021-03-23 19:22:30 +00:00
|
|
|
runHook preInstall
|
|
|
|
|
2021-01-09 10:05:03 +00:00
|
|
|
mkdir -p $out/share/icons
|
|
|
|
mv kora* $out/share/icons/
|
|
|
|
|
|
|
|
for theme in $out/share/icons/*; do
|
2021-03-23 19:22:30 +00:00
|
|
|
gtk-update-icon-cache -f $theme
|
2021-01-09 10:05:03 +00:00
|
|
|
done
|
2021-03-23 19:22:30 +00:00
|
|
|
|
|
|
|
runHook postInstall
|
2021-01-09 10:05:03 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2021-01-09 10:05:03 +00:00
|
|
|
description = "An SVG icon theme in four variants";
|
|
|
|
homepage = "https://github.com/bikass/kora";
|
|
|
|
license = with licenses; [ gpl3Only ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ bloomvdomino ];
|
|
|
|
};
|
|
|
|
}
|