@@ -1,14 +1,16 @@
1−{ stdenv, fetchFromGitHub, cmake, extra-cmake-modules, gtk3, kdeFrameworks }:
1+{ stdenv, fetchFromGitLab, cmake, extra-cmake-modules, gtk3, kdeFrameworks, hicolor-icon-theme }:
22
33stdenv.mkDerivation rec {
44 name = "maia-icon-theme-${version}";
5− version = "2016-09-16";
5+ version = "2018-02-24";
66
7− src = fetchFromGitHub {
8− owner = "manjaro";
9− repo = "artwork-maia";
10− rev = "f6718cd9c383adb77af54b694c47efa4d581f5b5";
11− sha256 = "0f9l3k9abgg8islzddrxgbxaw6vbai5bvz5qi1v2fzir7ykx7bgj";
7+ src = fetchFromGitLab {
8+ domain = "gitlab.manjaro.org";
9+ group = "artwork";
10+ owner = "themes";
11+ repo = "maia";
12+ rev = "b61312cc80cb9d12b0d8a55b3e61668eb6b77d2d";
13+ sha256 = "1g98snlh96z4sqw9sfd7fxgamh45pcj3lh1kcmng7mirvrcn2pam";
1214 };
1315
1416 nativeBuildInputs = [
@@ -19,10 +21,20 @@ stdenv.mkDerivation rec {
1921 kdeFrameworks.kwindowsystem
2022 ];
2123
24+ buildInputs = [
25+ hicolor-icon-theme
26+ ];
27+
28+ postFixup = ''
29+ for theme in $out/share/icons/*; do
30+ gtk-update-icon-cache $theme
31+ done
32+ '';
33+
2234 meta = with stdenv.lib; {
2335 description = "Icons based on Breeze and Super Flat Remix";
24− homepage = https://github.com/manjaro/artwork-maia;
25− license = licenses.free; # https://github.com/manjaro/artwork-maia/issues/27
36+ homepage = https://gitlab.manjaro.org/artwork/themes/maia;
37+ license = licenses.lgpl3;
2638 maintainers = with maintainers; [ mounium ];
2739 platforms = platforms.all;
2840 };