From 4e4205469b71cdf165da10a707063f314dac21e5 Mon Sep 17 00:00:00 2001 From: romildo Date: Fri, 14 Oct 2016 14:48:50 -0300 Subject: [PATCH] elementary-icon-theme: 3.2.2 -> 4.0.1 --- .../icons/elementary-icon-theme/default.nix | 25 +++++++++++-------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/pkgs/data/icons/elementary-icon-theme/default.nix b/pkgs/data/icons/elementary-icon-theme/default.nix index 19b2230eaa8..b15e8dea5bc 100644 --- a/pkgs/data/icons/elementary-icon-theme/default.nix +++ b/pkgs/data/icons/elementary-icon-theme/default.nix @@ -1,29 +1,32 @@ -{ stdenv, fetchzip }: +{ stdenv, fetchurl }: stdenv.mkDerivation rec { - version = "3.2.2"; + version = "4.0.1"; package-name = "elementary-icon-theme"; name = "${package-name}-${version}"; - src = fetchzip { - url = "https://launchpad.net/elementaryicons/3.x/${version}/+download/elementary-icon-theme-${version}.tar.xz"; - sha256 = "0b6sgvkzc5h9zm3la6f0ngs9pfjrsj318qcynxd3yydb50cd3hnf"; + src = fetchurl { + url = "https://launchpad.net/elementaryicons/4.x/${version}/+download/${name}.tar.xz"; + sha256 = "0cbgbd9fqxk6rbsrj0gbh1rcapkkdlaig79kilq798v94jfdskrl"; }; dontBuild = true; installPhase = '' - install -dm 755 $out/share/icons + 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 ]; + description = "Elementary icon theme"; + homepage = "https://launchpad.net/elementaryicons"; + license = licenses.gpl3; + platforms = platforms.all; + maintainers = with maintainers; [ simonvandel ]; }; }