mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 21:57:02 +03:00
47 lines
1000 B
Nix
47 lines
1000 B
Nix
{ lib, stdenv, fetchFromGitHub , gtk3, adwaita-icon-theme, breeze-icons, hicolor-icon-theme }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "kora-icon-theme";
|
|
version = "1.4.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bikass";
|
|
repo = "kora";
|
|
rev = "v${version}";
|
|
sha256 = "1qnqz0h2c5kilch3308l8nfshgsrkllyysvqn0mxy70iziw895rv";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
gtk3
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
adwaita-icon-theme
|
|
breeze-icons
|
|
hicolor-icon-theme
|
|
];
|
|
|
|
dontDropIconThemeCache = true;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/share/icons
|
|
mv kora* $out/share/icons/
|
|
|
|
for theme in $out/share/icons/*; do
|
|
gtk-update-icon-cache -f $theme
|
|
done
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with 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 ];
|
|
};
|
|
}
|