summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorJosé Romildo Malaquias <malaquias@gmail.com>2018-10-02 18:38:28 -0300
committerJosé Romildo Malaquias <malaquias@gmail.com>2018-10-02 18:38:28 -0300
commit50795f37c614a42aa4bc97b0851302c208af9c44 (patch)
treecea1f4b43d179544ca6c083d23cd0db7fa72baf7 /pkgs
parent4d1abc44199c8957105f538119c2d19d67aee26f (diff)
downloadnixpkgs-50795f37c614a42aa4bc97b0851302c208af9c44.tar
nixpkgs-50795f37c614a42aa4bc97b0851302c208af9c44.tar.gz
nixpkgs-50795f37c614a42aa4bc97b0851302c208af9c44.tar.bz2
nixpkgs-50795f37c614a42aa4bc97b0851302c208af9c44.tar.lz
nixpkgs-50795f37c614a42aa4bc97b0851302c208af9c44.tar.xz
nixpkgs-50795f37c614a42aa4bc97b0851302c208af9c44.tar.zst
nixpkgs-50795f37c614a42aa4bc97b0851302c208af9c44.zip
maia-icon-theme: 2016-09-16 -> 2018-02-24
- Update to newer revision
- Update homepage
- Update src
- Update license
- Add dependency on hicolor-icon-theme
- Build GTK icon cache
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/data/icons/maia-icon-theme/default.nix30
1 files changed, 21 insertions, 9 deletions
diff --git a/pkgs/data/icons/maia-icon-theme/default.nix b/pkgs/data/icons/maia-icon-theme/default.nix
index 82aafca11f4..7b4ed7a6680 100644
--- a/pkgs/data/icons/maia-icon-theme/default.nix
+++ b/pkgs/data/icons/maia-icon-theme/default.nix
@@ -1,14 +1,16 @@
-{ stdenv, fetchFromGitHub, cmake, extra-cmake-modules, gtk3, kdeFrameworks }:
+{ stdenv, fetchFromGitLab, cmake, extra-cmake-modules, gtk3, kdeFrameworks, hicolor-icon-theme }:
 
 stdenv.mkDerivation rec {
   name = "maia-icon-theme-${version}";
-  version = "2016-09-16";
+  version = "2018-02-24";
 
-  src = fetchFromGitHub {
-    owner = "manjaro";
-    repo = "artwork-maia";
-    rev = "f6718cd9c383adb77af54b694c47efa4d581f5b5";
-    sha256 = "0f9l3k9abgg8islzddrxgbxaw6vbai5bvz5qi1v2fzir7ykx7bgj";
+  src = fetchFromGitLab {
+    domain = "gitlab.manjaro.org";
+    group = "artwork";
+    owner = "themes";
+    repo = "maia";
+    rev = "b61312cc80cb9d12b0d8a55b3e61668eb6b77d2d";
+    sha256 = "1g98snlh96z4sqw9sfd7fxgamh45pcj3lh1kcmng7mirvrcn2pam";
   };
 
   nativeBuildInputs = [
@@ -19,10 +21,20 @@ stdenv.mkDerivation rec {
     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://github.com/manjaro/artwork-maia;
-    license = licenses.free; # https://github.com/manjaro/artwork-maia/issues/27
+    homepage = https://gitlab.manjaro.org/artwork/themes/maia;
+    license = licenses.lgpl3;
     maintainers = with maintainers; [ mounium ];
     platforms = platforms.all;
   };