2016-10-14 18:48:50 +01:00
|
|
|
{ stdenv, fetchurl }:
|
2015-10-24 18:57:16 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-04-18 10:49:25 +01:00
|
|
|
version = "4.0.3";
|
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-04-18 10:49:25 +01:00
|
|
|
sha256 = "0i3cp0wiy4g6d6symyfv3hvmw97109lfakd4qyphabbqllc9xlxb";
|
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
|
|
|
};
|
|
|
|
}
|