nixpkgs/pkgs/data/icons/maia-icon-theme/default.nix
romildo 658e216cc6 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.
2016-10-09 10:27:24 -03:00

32 lines
812 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "maia-icon-theme-${version}";
version = "2016-09-16";
src = fetchFromGitHub {
owner = "manjaro";
repo = "artwork-maia";
rev = "f6718cd9c383adb77af54b694c47efa4d581f5b5";
sha256 = "0f9l3k9abgg8islzddrxgbxaw6vbai5bvz5qi1v2fzir7ykx7bgj";
};
dontBuild = true;
installPhase = ''
install -dm 755 $out/share/icons
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; {
description = "Icons based on Breeze and Super Flat Remix";
homepage = https://github.com/manjaro/artwork-maia;
license = licenses.free;
maintainers = [ maintainers.mounium ];
platforms = platforms.all;
};
}