From 658e216cc60368bfd84f84862a916f9188e2aff5 Mon Sep 17 00:00:00 2001 From: romildo Date: Sun, 9 Oct 2016 10:27:24 -0300 Subject: maia-icon-theme: -> 2016-09-16 Add versioning using the date of revision on the git repository. Also update to the latest revision, which includes a dark version of the icon theme. The cmake scripts install the icons at subdirectories 'maia' and 'maia-dark'. Also use these names. The difference is in the capitalization of the names. --- pkgs/data/icons/maia-icon-theme/default.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'pkgs/data') diff --git a/pkgs/data/icons/maia-icon-theme/default.nix b/pkgs/data/icons/maia-icon-theme/default.nix index 32682a750101..f4f81f8de8be 100644 --- a/pkgs/data/icons/maia-icon-theme/default.nix +++ b/pkgs/data/icons/maia-icon-theme/default.nix @@ -1,21 +1,24 @@ { stdenv, fetchFromGitHub }: -stdenv.mkDerivation { - name = "maia-icon-theme"; +stdenv.mkDerivation rec { + name = "maia-icon-theme-${version}"; + version = "2016-09-16"; src = fetchFromGitHub { owner = "manjaro"; repo = "artwork-maia"; - rev = "23235fa56e6111d30e9f92576030cc855a0facbe"; - sha256 = "1d5bv13gds1nx88pc6a9gkrz1lb8sji0wcc5h3bf4mjw0q072nfr"; + rev = "f6718cd9c383adb77af54b694c47efa4d581f5b5"; + sha256 = "0f9l3k9abgg8islzddrxgbxaw6vbai5bvz5qi1v2fzir7ykx7bgj"; }; dontBuild = true; installPhase = '' install -dm 755 $out/share/icons - rm icons/CMakeLists.txt - cp -dr --no-preserve='ownership' icons $out/share/icons/Maia + for f in "" "-dark"; do + rm icons$f/CMakeLists.txt + cp -dr --no-preserve='ownership' icons$f $out/share/icons/maia$f + done ''; meta = with stdenv.lib; { -- cgit 1.4.1