2021-03-03 16:45:10 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub , gtk3, adwaita-icon-theme, breeze-icons, hicolor-icon-theme }:
|
2021-01-04 23:33:46 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "kora-icon-theme";
|
2021-06-09 10:00:07 +01:00
|
|
|
version = "1.4.3";
|
2021-01-04 23:33:46 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bikass";
|
|
|
|
repo = "kora";
|
|
|
|
rev = "v${version}";
|
2021-06-09 10:00:07 +01:00
|
|
|
sha256 = "sha256-tSkTwhhugvDTzzcxIln1xq3ZY6boHJR0LRGy20ONO5U=";
|
2021-01-04 23:33:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
gtk3
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2021-03-03 16:45:10 +00:00
|
|
|
adwaita-icon-theme
|
2021-01-04 23:33:46 +00:00
|
|
|
breeze-icons
|
|
|
|
hicolor-icon-theme
|
|
|
|
];
|
|
|
|
|
|
|
|
dontDropIconThemeCache = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
2021-03-03 16:45:10 +00:00
|
|
|
runHook preInstall
|
|
|
|
|
2021-01-04 23:33:46 +00:00
|
|
|
mkdir -p $out/share/icons
|
|
|
|
mv kora* $out/share/icons/
|
|
|
|
|
|
|
|
for theme in $out/share/icons/*; do
|
2021-03-03 16:45:10 +00:00
|
|
|
gtk-update-icon-cache -f $theme
|
2021-01-04 23:33:46 +00:00
|
|
|
done
|
2021-03-03 16:45:10 +00:00
|
|
|
|
|
|
|
runHook postInstall
|
2021-01-04 23:33:46 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2021-01-04 23:33:46 +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 ];
|
|
|
|
};
|
|
|
|
}
|