nixpkgs/pkgs/data/icons/elementary-icon-theme/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

33 lines
903 B
Nix

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