2016-10-14 18:48:50 +01:00
|
|
|
{ stdenv, fetchurl }:
|
2015-10-24 18:57:16 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-05-20 00:48:31 +01:00
|
|
|
version = "4.1.0";
|
2015-10-24 18:57:16 +01:00
|
|
|
|
|
|
|
package-name = "elementary-icon-theme";
|
|
|
|
|
|
|
|
name = "${package-name}-${version}";
|
|
|
|
|
2016-10-14 18:48:50 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://launchpad.net/elementaryicons/4.x/${version}/+download/${name}.tar.xz";
|
2017-05-20 00:48:31 +01:00
|
|
|
sha256 = "08pkk4299dj442dby15lwxwz7bax5d3828v1f81mbll084k7vssm";
|
2015-10-24 18:57:16 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
2016-10-14 18:48:50 +01:00
|
|
|
install -dm 755 $out/share/{icons,doc/$name}
|
2015-10-24 18:57:16 +01:00
|
|
|
cp -dr --no-preserve='ownership' . $out/share/icons/Elementary/
|
2016-10-14 18:48:50 +01: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 18:57:16 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2016-10-14 18:48:50 +01:00
|
|
|
description = "Elementary icon theme";
|
|
|
|
homepage = "https://launchpad.net/elementaryicons";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ simonvandel ];
|
2015-10-24 18:57:16 +01:00
|
|
|
};
|
|
|
|
}
|