diff options
Diffstat (limited to 'nixpkgs/pkgs/data/icons')
21 files changed, 679 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/data/icons/arc-icon-theme/default.nix b/nixpkgs/pkgs/data/icons/arc-icon-theme/default.nix new file mode 100644 index 000000000000..6529e5c571c2 --- /dev/null +++ b/nixpkgs/pkgs/data/icons/arc-icon-theme/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchFromGitHub, autoreconfHook, gtk3, moka-icon-theme }: + +stdenv.mkDerivation rec { + name = "${package-name}-${version}"; + package-name = "arc-icon-theme"; + version = "2016-11-22"; + + src = fetchFromGitHub { + owner = "horst3180"; + repo = package-name; + rev = "55a575386a412544c3ed2b5617a61f842ee4ec15"; + sha256 = "1ch3hp08qri93510hypzz6m2x4xgg2h15wvnhjwh1x1s1b7jvxjd"; + }; + + nativeBuildInputs = [ autoreconfHook gtk3 moka-icon-theme ]; + + postFixup = "gtk-update-icon-cache $out/share/icons/Arc"; + + meta = with stdenv.lib; { + description = "Arc icon theme"; + homepage = https://github.com/horst3180/arc-icon-theme; + license = licenses.gpl3; + # moka-icon-theme dependency is restricted to linux + platforms = platforms.linux; + maintainers = with maintainers; [ romildo ]; + }; +} diff --git a/nixpkgs/pkgs/data/icons/bibata-cursors/default.nix b/nixpkgs/pkgs/data/icons/bibata-cursors/default.nix new file mode 100644 index 000000000000..ce7bb11522ba --- /dev/null +++ b/nixpkgs/pkgs/data/icons/bibata-cursors/default.nix @@ -0,0 +1,41 @@ +{ fetchFromGitHub, gnome-themes-extra, inkscape, stdenv, xcursorgen }: + +stdenv.mkDerivation rec { + name = "bibata-cursors-${version}"; + version = "0.4.1"; + + src = fetchFromGitHub { + owner = "KaizIqbal"; + repo = "Bibata_Cursor"; + rev = "v${version}"; + sha256 = "14gvpjp4gv0m59qr8wls7xs5yjx5llldyzack5kg5cg2mzk2nsml"; + }; + + postPatch = '' + patchShebangs . + substituteInPlace build.sh --replace "gksu " "" + ''; + + nativeBuildInputs = [ + gnome-themes-extra + inkscape + xcursorgen + ]; + + buildPhase = '' + HOME="$NIX_BUILD_ROOT" ./build.sh + ''; + + installPhase = '' + install -dm 0755 $out/share/icons + cp -pr Bibata_* $out/share/icons/ + ''; + + meta = with stdenv.lib; { + description = "Material Based Cursor"; + homepage = https://github.com/KaizIqbal/Bibata_Cursor; + license = licenses.gpl3; + platforms = platforms.linux; + maintainers = with maintainers; [ rawkode ]; + }; +} diff --git a/nixpkgs/pkgs/data/icons/capitaine-cursors/default.nix b/nixpkgs/pkgs/data/icons/capitaine-cursors/default.nix new file mode 100644 index 000000000000..46d6c1a731ec --- /dev/null +++ b/nixpkgs/pkgs/data/icons/capitaine-cursors/default.nix @@ -0,0 +1,46 @@ +{ stdenv, fetchFromGitHub +, inkscape, xcursorgen }: + +stdenv.mkDerivation rec { + pname = "capitaine-cursors"; + version = "3"; + + src = fetchFromGitHub { + owner = "keeferrourke"; + repo = pname; + rev = "r${version}"; + sha256 = "0pnfbmrn9nv8pryv6cbjcq5hl9366hzvz1kd8vsdkgb2nlfv5gdv"; + }; + + postPatch = '' + patchShebangs . + ''; + + buildInputs =[ + inkscape + xcursorgen + ]; + + buildPhase = '' + # https://github.com/NixOS/nixpkgs/blob/master/pkgs/data/fonts/emojione/default.nix#L16 + HOME="$NIX_BUILD_ROOT" ./build.sh + ''; + + installPhase = '' + install -dm 0755 $out/share/icons + cp -pr dist $out/share/icons/capitaine-cursors + cp -pr dist-white $out/share/icons/capitaine-cursors-white + ''; + + meta = with stdenv.lib; { + description = '' + An x-cursor theme inspired by macOS and based on KDE Breeze + ''; + homepage = https://github.com/keeferrourke/capitaine-cursors; + license = licenses.lgpl3; + platforms = platforms.linux; + maintainers = with maintainers; [ + eadwu + ]; + }; +} diff --git a/nixpkgs/pkgs/data/icons/elementary-xfce-icon-theme/default.nix b/nixpkgs/pkgs/data/icons/elementary-xfce-icon-theme/default.nix new file mode 100644 index 000000000000..4b42f0b6ee9f --- /dev/null +++ b/nixpkgs/pkgs/data/icons/elementary-xfce-icon-theme/default.nix @@ -0,0 +1,32 @@ +{ stdenv, fetchFromGitHub, pkgconfig, gdk-pixbuf, optipng, librsvg, gtk3, hicolor-icon-theme }: + +stdenv.mkDerivation rec { + name = "elementary-xfce-icon-theme-${version}"; + version = "0.13.1"; + + src = fetchFromGitHub { + owner = "shimmerproject"; + repo = "elementary-xfce"; + rev = "v${version}"; + sha256 = "16msdrazhbv80cvh5ffvgj13xmkpf87r7mq6xz071fza6nv7g0jn"; + }; + + nativeBuildInputs = [ pkgconfig gdk-pixbuf librsvg optipng gtk3 hicolor-icon-theme ]; + + postPatch = '' + substituteInPlace svgtopng/Makefile --replace "-O0" "-O" + ''; + + postInstall = '' + make icon-caches + ''; + + meta = with stdenv.lib; { + description = "Elementary icons for Xfce and other GTK+ desktops like GNOME"; + homepage = https://github.com/shimmerproject/elementary-xfce; + license = licenses.gpl2; + # darwin cannot deal with file names differing only in case + platforms = platforms.linux; + maintainers = with maintainers; [ davidak ]; + }; +} diff --git a/nixpkgs/pkgs/data/icons/faba-icon-theme/default.nix b/nixpkgs/pkgs/data/icons/faba-icon-theme/default.nix new file mode 100644 index 000000000000..c15e0f4e5510 --- /dev/null +++ b/nixpkgs/pkgs/data/icons/faba-icon-theme/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchFromGitHub, meson, ninja, python3, gtk3, pantheon }: + +stdenv.mkDerivation rec { + name = "${package-name}-${version}"; + package-name = "faba-icon-theme"; + version = "4.3"; + + src = fetchFromGitHub { + owner = "moka-project"; + repo = package-name; + rev = "v${version}"; + sha256 = "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n"; + }; + + nativeBuildInputs = [ meson ninja python3 gtk3 pantheon.elementary-icon-theme ]; + + postPatch = '' + patchShebangs meson/post_install.py + ''; + + meta = with stdenv.lib; { + description = "A sexy and modern icon theme with Tango influences"; + homepage = https://snwh.org/moka; + license = with licenses; [ cc-by-sa-40 gpl3 ]; + platforms = platforms.all; + maintainers = with maintainers; [ romildo ]; + }; +} diff --git a/nixpkgs/pkgs/data/icons/faba-mono-icons/default.nix b/nixpkgs/pkgs/data/icons/faba-mono-icons/default.nix new file mode 100644 index 000000000000..a4ffefe1f26d --- /dev/null +++ b/nixpkgs/pkgs/data/icons/faba-mono-icons/default.nix @@ -0,0 +1,31 @@ +{ stdenv, fetchFromGitHub, autoreconfHook, gtk3, moka-icon-theme }: + +stdenv.mkDerivation rec { + name = "${pname}-${version}"; + pname = "faba-mono-icons"; + version = "2016-04-30"; + + src = fetchFromGitHub { + owner = "snwh"; + repo = pname; + rev = "2006c5281eb988c799068734f289a85443800cda"; + sha256 = "0nisfl92y6hrbakp9qxi0ygayl6avkzrhwirg6854bwqjy2dvjv9"; + }; + + nativeBuildInputs = [ autoreconfHook gtk3 moka-icon-theme ]; + + postFixup = '' + for theme in $out/share/icons/*; do + gtk-update-icon-cache $theme + done + ''; + + meta = with stdenv.lib; { + description = "The full set of Faba monochrome panel icons"; + homepage = https://snwh.org/moka; + license = licenses.gpl3; + # moka-icon-theme dependency is restricted to linux + platforms = platforms.linux; + maintainers = with maintainers; [ romildo ]; + }; +} diff --git a/nixpkgs/pkgs/data/icons/hicolor-icon-theme/default.nix b/nixpkgs/pkgs/data/icons/hicolor-icon-theme/default.nix new file mode 100644 index 000000000000..2c0872188e02 --- /dev/null +++ b/nixpkgs/pkgs/data/icons/hicolor-icon-theme/default.nix @@ -0,0 +1,18 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + name = "hicolor-icon-theme-0.17"; + + src = fetchurl { + url = "https://icon-theme.freedesktop.org/releases/${name}.tar.xz"; + sha256 = "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"; + }; + + setupHook = ./setup-hook.sh; + + meta = with stdenv.lib; { + description = "Default fallback theme used by implementations of the icon theme specification"; + homepage = https://icon-theme.freedesktop.org/releases/; + platforms = platforms.unix; + }; +} diff --git a/nixpkgs/pkgs/data/icons/hicolor-icon-theme/setup-hook.sh b/nixpkgs/pkgs/data/icons/hicolor-icon-theme/setup-hook.sh new file mode 100644 index 000000000000..29306cb316af --- /dev/null +++ b/nixpkgs/pkgs/data/icons/hicolor-icon-theme/setup-hook.sh @@ -0,0 +1,21 @@ +# Populate XDG_ICON_DIRS +hicolorIconThemeHook() { + + # where to find icon themes + if [ -d "$1/share/icons" ]; then + addToSearchPath XDG_ICON_DIRS $1/share + fi + +} + +# I think this is meant to be a runtime dep +addEnvHooks "$hostOffset" hicolorIconThemeHook + +# Remove icon cache +hicolorPreFixupPhase() { + rm -f $out/share/icons/hicolor/icon-theme.cache + rm -f $out/share/icons/HighContrast/icon-theme.cache +} + +preFixupPhases="$preFixupPhases hicolorPreFixupPhase" + diff --git a/nixpkgs/pkgs/data/icons/iconpack-obsidian/default.nix b/nixpkgs/pkgs/data/icons/iconpack-obsidian/default.nix new file mode 100644 index 000000000000..ee45a186f290 --- /dev/null +++ b/nixpkgs/pkgs/data/icons/iconpack-obsidian/default.nix @@ -0,0 +1,35 @@ +{ stdenv, fetchFromGitHub, gtk3 }: + +stdenv.mkDerivation rec { + name = "iconpack-obsidian-${version}"; + version = "4.3"; + + src = fetchFromGitHub { + owner = "madmaxms"; + repo = "iconpack-obsidian"; + rev = "v${version}"; + sha256 = "0np2s4mbaykwwv516959r5d9gfdmqb5hadsx18x2if4751a9qz49"; + }; + + nativeBuildInputs = [ gtk3 ]; + + installPhase = '' + mkdir -p $out/share/icons + mv Obsidian* $out/share/icons + ''; + + postFixup = '' + for theme in $out/share/icons/*; do + gtk-update-icon-cache $theme + done + ''; + + meta = with stdenv.lib; { + description = "Gnome Icon Pack based upon Faenza"; + homepage = https://github.com/madmaxms/iconpack-obsidian; + license = licenses.lgpl3; + # darwin cannot deal with file names differing only in case + platforms = platforms.linux; + maintainers = [ maintainers.romildo ]; + }; +} diff --git a/nixpkgs/pkgs/data/icons/maia-icon-theme/default.nix b/nixpkgs/pkgs/data/icons/maia-icon-theme/default.nix new file mode 100644 index 000000000000..7b4ed7a66809 --- /dev/null +++ b/nixpkgs/pkgs/data/icons/maia-icon-theme/default.nix @@ -0,0 +1,41 @@ +{ stdenv, fetchFromGitLab, cmake, extra-cmake-modules, gtk3, kdeFrameworks, hicolor-icon-theme }: + +stdenv.mkDerivation rec { + name = "maia-icon-theme-${version}"; + version = "2018-02-24"; + + src = fetchFromGitLab { + domain = "gitlab.manjaro.org"; + group = "artwork"; + owner = "themes"; + repo = "maia"; + rev = "b61312cc80cb9d12b0d8a55b3e61668eb6b77d2d"; + sha256 = "1g98snlh96z4sqw9sfd7fxgamh45pcj3lh1kcmng7mirvrcn2pam"; + }; + + nativeBuildInputs = [ + cmake + extra-cmake-modules + gtk3 + kdeFrameworks.plasma-framework + kdeFrameworks.kwindowsystem + ]; + + buildInputs = [ + hicolor-icon-theme + ]; + + postFixup = '' + for theme in $out/share/icons/*; do + gtk-update-icon-cache $theme + done + ''; + + meta = with stdenv.lib; { + description = "Icons based on Breeze and Super Flat Remix"; + homepage = https://gitlab.manjaro.org/artwork/themes/maia; + license = licenses.lgpl3; + maintainers = with maintainers; [ mounium ]; + platforms = platforms.all; + }; +} diff --git a/nixpkgs/pkgs/data/icons/moka-icon-theme/default.nix b/nixpkgs/pkgs/data/icons/moka-icon-theme/default.nix new file mode 100644 index 000000000000..17892679a7ea --- /dev/null +++ b/nixpkgs/pkgs/data/icons/moka-icon-theme/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchFromGitHub, meson, ninja, gtk3, python3, faba-icon-theme }: + +stdenv.mkDerivation rec { + name = "${pname}-${version}"; + pname = "moka-icon-theme"; + version = "5.4.0"; + + src = fetchFromGitHub { + owner = "snwh"; + repo = pname; + rev = "v${version}"; + sha256 = "015l02im4mha5z91dbchxf6xkp66d346bg3xskwg0rh3lglhjsrd"; + }; + + nativeBuildInputs = [ meson ninja gtk3 python3 faba-icon-theme ]; + + postPatch = '' + patchShebangs meson/post_install.py + ''; + + meta = with stdenv.lib; { + description = "An icon theme designed with a minimal flat style using simple geometry and bright colours"; + homepage = https://snwh.org/moka; + license = with licenses; [ cc-by-sa-40 gpl3 ]; + # darwin cannot deal with file names differing only in case + platforms = platforms.linux; + maintainers = with maintainers; [ romildo ]; + }; +} diff --git a/nixpkgs/pkgs/data/icons/numix-cursor-theme/default.nix b/nixpkgs/pkgs/data/icons/numix-cursor-theme/default.nix new file mode 100644 index 000000000000..8e5a317082ea --- /dev/null +++ b/nixpkgs/pkgs/data/icons/numix-cursor-theme/default.nix @@ -0,0 +1,34 @@ +{ stdenv, fetchFromGitHub, inkscape, xcursorgen }: + +stdenv.mkDerivation rec { + version = "1.1"; + package-name = "numix-cursor-theme"; + name = "${package-name}-${version}"; + + src = fetchFromGitHub { + owner = "numixproject"; + repo = package-name; + rev = "v${version}"; + sha256 = "0p8h48wsy3z5dz9vdnp01fpn6q8ky0h74l5qgixlip557bsa1spi"; + }; + + nativeBuildInputs = [ inkscape xcursorgen ]; + + buildPhase = '' + patchShebangs . + HOME=$TMP ./build.sh + ''; + + installPhase = '' + install -dm 755 $out/share/icons + cp -dr --no-preserve='ownership' Numix-Cursor{,-Light} $out/share/icons/ + ''; + + meta = with stdenv.lib; { + description = "Numix cursor theme"; + homepage = https://numixproject.github.io; + license = licenses.gpl3; + platforms = platforms.all; + maintainers = with maintainers; [ offline ]; + }; +} diff --git a/nixpkgs/pkgs/data/icons/numix-icon-theme-circle/default.nix b/nixpkgs/pkgs/data/icons/numix-icon-theme-circle/default.nix new file mode 100644 index 000000000000..b545856f703f --- /dev/null +++ b/nixpkgs/pkgs/data/icons/numix-icon-theme-circle/default.nix @@ -0,0 +1,35 @@ +{ stdenv, fetchFromGitHub, gtk3, numix-icon-theme }: + +stdenv.mkDerivation rec { + pname = "numix-icon-theme-circle"; + version = "19.02.22"; + + src = fetchFromGitHub { + owner = "numixproject"; + repo = pname; + rev = version; + sha256 = "10jh633rllp9yjfkjjyf8455n84q7ppxw1kk9dp1rsg4dq327ks7"; + }; + + nativeBuildInputs = [ gtk3 numix-icon-theme ]; + + installPhase = '' + install -dm 755 $out/share/icons + cp -dr --no-preserve='ownership' Numix-Circle{,-Light} $out/share/icons/ + ''; + + postFixup = '' + for theme in $out/share/icons/*; do + gtk-update-icon-cache $theme + done + ''; + + meta = with stdenv.lib; { + description = "Numix icon theme (circle version)"; + homepage = https://numixproject.github.io; + license = licenses.gpl3; + # darwin cannot deal with file names differing only in case + platforms = platforms.linux; + maintainers = with maintainers; [ ]; + }; +} diff --git a/nixpkgs/pkgs/data/icons/numix-icon-theme-square/default.nix b/nixpkgs/pkgs/data/icons/numix-icon-theme-square/default.nix new file mode 100644 index 000000000000..ddec15e5f318 --- /dev/null +++ b/nixpkgs/pkgs/data/icons/numix-icon-theme-square/default.nix @@ -0,0 +1,35 @@ +{ stdenv, fetchFromGitHub, gtk3, numix-icon-theme }: + +stdenv.mkDerivation rec { + pname = "numix-icon-theme-square"; + version = "19.02.22"; + + src = fetchFromGitHub { + owner = "numixproject"; + repo = pname; + rev = version; + sha256 = "0qn0s7cd795pm0hbx85gxd1s272zxrzf3r9r6da54h149v3wkgzw"; + }; + + nativeBuildInputs = [ gtk3 numix-icon-theme ]; + + installPhase = '' + mkdir -p $out/share/icons + cp -a Numix-Square{,-Light} $out/share/icons/ + ''; + + postFixup = '' + for theme in $out/share/icons/*; do + gtk-update-icon-cache $theme + done + ''; + + meta = with stdenv.lib; { + description = "Numix icon theme (square version)"; + homepage = https://numixproject.github.io; + license = licenses.gpl3; + # darwin cannot deal with file names differing only in case + platforms = platforms.linux; + maintainers = with maintainers; [ romildo ]; + }; +} diff --git a/nixpkgs/pkgs/data/icons/numix-icon-theme/default.nix b/nixpkgs/pkgs/data/icons/numix-icon-theme/default.nix new file mode 100644 index 000000000000..1a2eb6504d9d --- /dev/null +++ b/nixpkgs/pkgs/data/icons/numix-icon-theme/default.nix @@ -0,0 +1,36 @@ +{ stdenv, fetchFromGitHub, gtk3, hicolor-icon-theme }: + +stdenv.mkDerivation rec { + name = "${pname}-${version}"; + pname = "numix-icon-theme"; + version = "18.07.17"; + + src = fetchFromGitHub { + owner = "numixproject"; + repo = pname; + rev = version; + sha256 = "0clh55kmhc52d33dfm2c6h3lg6ddfh8a088ir9lv1camn9kj55bd"; + }; + + nativeBuildInputs = [ gtk3 hicolor-icon-theme ]; + + installPhase = '' + mkdir -p $out/share/icons + mv Numix{,-Light} $out/share/icons + ''; + + postFixup = '' + for theme in $out/share/icons/*; do + gtk-update-icon-cache $theme + done + ''; + + meta = with stdenv.lib; { + description = "Numix icon theme"; + homepage = https://numixproject.github.io; + license = licenses.gpl3; + # darwin cannot deal with file names differing only in case + platforms = platforms.linux; + maintainers = with maintainers; [ romildo ]; + }; +} diff --git a/nixpkgs/pkgs/data/icons/paper-icon-theme/default.nix b/nixpkgs/pkgs/data/icons/paper-icon-theme/default.nix new file mode 100644 index 000000000000..de808e44ea6c --- /dev/null +++ b/nixpkgs/pkgs/data/icons/paper-icon-theme/default.nix @@ -0,0 +1,34 @@ +{ stdenv, fetchFromGitHub, meson, ninja, gtk3, python3 }: + +stdenv.mkDerivation rec { + name = "${pname}-${version}"; + pname = "paper-icon-theme"; + version = "2018-06-24"; + + src = fetchFromGitHub { + owner = "snwh"; + repo = pname; + rev = "c7cd013fba06dd8fd5cdff9f885520e2923266b8"; + sha256 = "0x45zkjnmbz904df63ph06npbm3phpgck4xwyymx8r8jgrfplk6v"; + }; + + nativeBuildInputs = [ meson ninja gtk3 python3 ]; + + postPatch = '' + patchShebangs meson/post_install.py + ''; + + postInstall = '' + # The cache for Paper-Mono-Dark is missing + gtk-update-icon-cache "$out"/share/icons/Paper-Mono-Dark; + ''; + + meta = with stdenv.lib; { + description = "Modern icon theme designed around bold colours and simple geometric shapes"; + homepage = https://snwh.org/paper; + license = with licenses; [ cc-by-sa-40 lgpl3 ]; + # darwin cannot deal with file names differing only in case + platforms = platforms.linux; + maintainers = with maintainers; [ romildo ]; + }; +} diff --git a/nixpkgs/pkgs/data/icons/papirus-icon-theme/default.nix b/nixpkgs/pkgs/data/icons/papirus-icon-theme/default.nix new file mode 100644 index 000000000000..3f9cff62ee4f --- /dev/null +++ b/nixpkgs/pkgs/data/icons/papirus-icon-theme/default.nix @@ -0,0 +1,35 @@ +{ stdenv, fetchFromGitHub, gtk3 }: + +stdenv.mkDerivation rec { + pname = "papirus-icon-theme"; + version = "20190802"; + + src = fetchFromGitHub { + owner = "PapirusDevelopmentTeam"; + repo = pname; + rev = version; + sha256 = "1i6nh1vy2cjqh4fw1mzq5v4ah613ghf018g8w0npxhj9qi3pyjm5"; + }; + + nativeBuildInputs = [ gtk3 ]; + + installPhase = '' + mkdir -p $out/share/icons + mv {,e}Papirus* $out/share/icons + ''; + + postFixup = '' + for theme in $out/share/icons/*; do + gtk-update-icon-cache $theme + done + ''; + + meta = with stdenv.lib; { + description = "Papirus icon theme"; + homepage = https://github.com/PapirusDevelopmentTeam/papirus-icon-theme; + license = licenses.lgpl3; + # darwin gives hash mismatch in source, probably because of file names differing only in case + platforms = platforms.linux; + maintainers = with maintainers; [ romildo ]; + }; +} diff --git a/nixpkgs/pkgs/data/icons/tango-icon-theme/default.nix b/nixpkgs/pkgs/data/icons/tango-icon-theme/default.nix new file mode 100644 index 000000000000..d38f6485f135 --- /dev/null +++ b/nixpkgs/pkgs/data/icons/tango-icon-theme/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchurl, intltool, pkgconfig, iconnamingutils, imagemagick, librsvg +, gtk/*any version*/ +}: + +stdenv.mkDerivation rec { + name = "tango-icon-theme-0.8.90"; + + src = fetchurl { + url = "http://tango.freedesktop.org/releases/${name}.tar.gz"; + sha256 = "13n8cpml71w6zfm2jz5fa7r1z18qlzk4gv07r6n1in2p5l1xi63f"; + }; + + patches = [ ./rsvg-convert.patch ]; + + nativeBuildInputs = [ pkgconfig ]; + buildInputs = [ intltool iconnamingutils imagemagick librsvg ]; + + configureFlags = [ "--enable-png-creation" ]; + + postInstall = '''${gtk.out}/bin/gtk-update-icon-cache' "$out/share/icons/Tango" ''; + + meta = { + description = "A basic set of icons"; + homepage = http://tango.freedesktop.org/Tango_Icon_Library; + platforms = stdenv.lib.platforms.linux; + }; +} diff --git a/nixpkgs/pkgs/data/icons/tango-icon-theme/rsvg-convert.patch b/nixpkgs/pkgs/data/icons/tango-icon-theme/rsvg-convert.patch new file mode 100644 index 000000000000..ee3d00ccf3ed --- /dev/null +++ b/nixpkgs/pkgs/data/icons/tango-icon-theme/rsvg-convert.patch @@ -0,0 +1,34 @@ +Based on https://build.opensuse.org/package/view_file?file=tango-icon-theme-rsvg-2_35_2.patch&package=tango-icon-theme&project=openSUSE%3A12.2&rev=faf71bf8278d5df6ec8a31726e5b8542 + +diff -ru -x '*~' tango-icon-theme-0.8.90/configure tango-icon-theme-0.8.90-new/configure +--- tango-icon-theme-0.8.90/configure 2009-02-26 04:08:00.000000000 +0100 ++++ tango-icon-theme-0.8.90-new/configure 2013-08-15 17:54:24.167065399 +0200 +@@ -6554,7 +6554,7 @@ + enable_large_bitmaps=no + fi + if test "x$enable_large_bitmaps" = "xyes"; then +- svgconvert_prog="rsvg" ++ svgconvert_prog="rsvg-convert" + else + svgconvert_prog="ksvgtopng" + fi +diff -ru -x '*~' tango-icon-theme-0.8.90/svg2png.sh.in tango-icon-theme-0.8.90-new/svg2png.sh.in +--- tango-icon-theme-0.8.90/svg2png.sh.in 2007-02-16 21:04:29.000000000 +0100 ++++ tango-icon-theme-0.8.90-new/svg2png.sh.in 2013-08-15 17:54:08.275084837 +0200 +@@ -9,12 +9,14 @@ + + ICONFILE=`basename ${3}` + ICONNAME=`echo ${ICONFILE} | sed -e "s/.svg//"` +-if test `basename $SVGCONVERT` = "rsvg"; then ++if test `basename $SVGCONVERT` = "rsvg-convert"; then + OPTIONS="-w ${1} -h ${1}" ++ OUTPUT="-o" + else + OPTIONS="${1} ${1}" ++ OUTPUT="" + fi + + echo "${SVGCONVERT} ${OPTIONS} ${3} ${2}/${ICONNAME}.png" +-${SVGCONVERT} ${OPTIONS} ${3} ${2}/${ICONNAME}.png ++${SVGCONVERT} ${OPTIONS} ${3} ${OUTPUT} ${2}/${ICONNAME}.png + diff --git a/nixpkgs/pkgs/data/icons/vanilla-dmz/default.nix b/nixpkgs/pkgs/data/icons/vanilla-dmz/default.nix new file mode 100644 index 000000000000..b6def37def6f --- /dev/null +++ b/nixpkgs/pkgs/data/icons/vanilla-dmz/default.nix @@ -0,0 +1,31 @@ +{ stdenv, lib, fetchzip, xorg }: + +stdenv.mkDerivation rec { + name = "vanilla-dmz-${version}"; + version = "0.4.4"; + src = fetchzip { + url = "http://ftp.de.debian.org/debian/pool/main/d/dmz-cursor-theme/dmz-cursor-theme_${version}.tar.gz"; + sha256 = "1l0c0svk7dy0d7icg7j2181wdn3fvks5gmyqnvjk749ppy5ks8mj"; + }; + buildInputs = [ xorg.xcursorgen ]; + buildPhase = '' + cd DMZ-White/pngs; ./make.sh; cd - + cd DMZ-Black/pngs; ./make.sh; cd - + ''; + installPhase = '' + install -d $out/share/icons/Vanilla-DMZ/cursors + cp -a DMZ-White/xcursors/* $out/share/icons/Vanilla-DMZ/cursors + install -Dm644 DMZ-White/index.theme $out/share/icons/Vanilla-DMZ/index.theme + + install -d $out/share/icons/Vanilla-DMZ-AA/cursors + cp -a DMZ-Black/xcursors/* $out/share/icons/Vanilla-DMZ-AA/cursors + install -Dm644 DMZ-Black/index.theme $out/share/icons/Vanilla-DMZ-AA/index.theme + ''; + meta = with lib; { + homepage = http://jimmac.musichall.cz; + description = "A style neutral scalable cursor theme"; + platforms = platforms.all; + license = licenses.cc-by-nc-sa-30; + maintainers = with maintainers; [ cstrahan ]; + }; +} diff --git a/nixpkgs/pkgs/data/icons/zafiro-icons/default.nix b/nixpkgs/pkgs/data/icons/zafiro-icons/default.nix new file mode 100644 index 000000000000..942f79ca6e45 --- /dev/null +++ b/nixpkgs/pkgs/data/icons/zafiro-icons/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchFromGitHub, gtk3 }: + +stdenv.mkDerivation rec { + pname = "zafiro-icons"; + version = "0.9"; + + src = fetchFromGitHub { + owner = "zayronxio"; + repo = pname; + rev = "v${version}"; + sha256 = "0zmnhih4gz8bidyzf1wimy85z7zx9i29mv1zirmykpqj819g7mx9"; + }; + + nativeBuildInputs = [ gtk3 ]; + + installPhase = '' + mkdir -p $out/share/icons/Zafiro-icons + cp -a * $out/share/icons/Zafiro-icons + gtk-update-icon-cache "$out"/share/icons/Zafiro-icons + ''; + + meta = with stdenv.lib; { + description = "Icon pack flat with light colors"; + homepage = https://github.com/zayronxio/Zafiro-icons; + license = with licenses; [ gpl3 ]; + platforms = platforms.linux; + maintainers = with maintainers; [ romildo ]; + }; +} |