git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commit658e216cc60368bfd84f84862a916f9188e2aff5 authorromildo <malaquias@gmail.com> dateSun 9 Oct 2016, 10:27 (10 years ago) parent6c9cc19
1 file changed+9−6
pkgs/data/icons/maia-icon-theme/default.nix+9−6
pkgs/data/icons/maia-icon-theme/default.nix+9−6
@@ -1,21 +1,24 @@
11{ stdenv, fetchFromGitHub }:
22
3−stdenv.mkDerivation {
4− name = "maia-icon-theme";
3+stdenv.mkDerivation rec {
4+ name = "maia-icon-theme-${version}";
5+ version = "2016-09-16";
56
67 src = fetchFromGitHub {
78 owner = "manjaro";
89 repo = "artwork-maia";
9− rev = "23235fa56e6111d30e9f92576030cc855a0facbe";
10− sha256 = "1d5bv13gds1nx88pc6a9gkrz1lb8sji0wcc5h3bf4mjw0q072nfr";
10+ rev = "f6718cd9c383adb77af54b694c47efa4d581f5b5";
11+ sha256 = "0f9l3k9abgg8islzddrxgbxaw6vbai5bvz5qi1v2fzir7ykx7bgj";
1112 };
1213
1314 dontBuild = true;
1415
1516 installPhase = ''
1617 install -dm 755 $out/share/icons
17− rm icons/CMakeLists.txt
18− cp -dr --no-preserve='ownership' icons $out/share/icons/Maia
18+ for f in "" "-dark"; do
19+ rm icons$f/CMakeLists.txt
20+ cp -dr --no-preserve='ownership' icons$f $out/share/icons/maia$f
21+ done
1922 '';
2023
2124 meta = with stdenv.lib; {