43 lines
946 B
Nix
43 lines
946 B
Nix
|
{ stdenv, fetchFromGitHub , gtk3, breeze-icons, gnome-icon-theme, hicolor-icon-theme }:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
pname = "kora-icon-theme";
|
||
|
version = "1.3.4";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "bikass";
|
||
|
repo = "kora";
|
||
|
rev = "v${version}";
|
||
|
sha256 = "01s7zhwwbdqgksjvfvn7kqijxzzc7734f707yk8y7anshq0518x3";
|
||
|
};
|
||
|
|
||
|
nativeBuildInputs = [
|
||
|
gtk3
|
||
|
];
|
||
|
|
||
|
propagatedBuildInputs = [
|
||
|
breeze-icons
|
||
|
gnome-icon-theme
|
||
|
hicolor-icon-theme
|
||
|
];
|
||
|
|
||
|
dontDropIconThemeCache = true;
|
||
|
|
||
|
installPhase = ''
|
||
|
mkdir -p $out/share/icons
|
||
|
mv kora* $out/share/icons/
|
||
|
|
||
|
for theme in $out/share/icons/*; do
|
||
|
gtk-update-icon-cache $theme
|
||
|
done
|
||
|
'';
|
||
|
|
||
|
meta = with stdenv.lib; {
|
||
|
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 ];
|
||
|
};
|
||
|
}
|