nixpkgs/pkgs/data/icons/elementary-icon-theme/default.nix

33 lines
905 B
Nix
Raw Normal View History

2016-10-14 19:48:50 +02:00
{ stdenv, fetchurl }:
2015-10-24 19:57:16 +02:00
stdenv.mkDerivation rec {
2016-10-14 19:48:50 +02:00
version = "4.0.1";
2015-10-24 19:57:16 +02:00
package-name = "elementary-icon-theme";
name = "${package-name}-${version}";
2016-10-14 19:48:50 +02:00
src = fetchurl {
url = "https://launchpad.net/elementaryicons/4.x/${version}/+download/${name}.tar.xz";
sha256 = "0cbgbd9fqxk6rbsrj0gbh1rcapkkdlaig79kilq798v94jfdskrl";
2015-10-24 19:57:16 +02:00
};
dontBuild = true;
installPhase = ''
2016-10-14 19:48:50 +02:00
install -dm 755 $out/share/{icons,doc/$name}
2015-10-24 19:57:16 +02:00
cp -dr --no-preserve='ownership' . $out/share/icons/Elementary/
2016-10-14 19:48:50 +02:00
mv $out/share/icons/Elementary/{AUTHORS,CONTRIBUTORS,README.md} \
$out/share/doc/$name/
rm $out/share/icons/Elementary/{COPYING,pre-commit}
2015-10-24 19:57:16 +02:00
'';
meta = with stdenv.lib; {
2016-10-14 19:48:50 +02:00
description = "Elementary icon theme";
homepage = "https://launchpad.net/elementaryicons";
license = licenses.gpl3;
platforms = platforms.all;
maintainers = with maintainers; [ simonvandel ];
2015-10-24 19:57:16 +02:00
};
}