diff options
author | bloomvdomino <0x@ytex.de> | 2021-01-05 00:33:46 +0100 |
---|---|---|
committer | bloomvdomino <0x@ytex.de> | 2021-01-05 00:33:46 +0100 |
commit | fbbd054d359a4c743f7b9a6681f0d3862976e162 (patch) | |
tree | 720e1f9ff9fa60a3acc2d8f261d123913fd9fb99 /pkgs/data/icons | |
parent | 641e7b681947e149b052deb04ad3bf00afd61aca (diff) |
kora-icon-theme: init at 1.3.4
Diffstat (limited to 'pkgs/data/icons')
-rw-r--r-- | pkgs/data/icons/kora-icon-theme/default.nix | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/data/icons/kora-icon-theme/default.nix b/pkgs/data/icons/kora-icon-theme/default.nix new file mode 100644 index 000000000000..cd5f9f758792 --- /dev/null +++ b/pkgs/data/icons/kora-icon-theme/default.nix @@ -0,0 +1,42 @@ +{ 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 ]; + }; +} |