-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
/
default.nix
32 lines (25 loc) · 903 Bytes
/
default.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
version = "4.3.1";
package-name = "elementary-icon-theme";
name = "${package-name}-${version}";
src = fetchurl {
url = "https://launchpad.net/elementaryicons/4.x/${version}/+download/${name}.tar.xz";
sha256 = "1rp22igvnx71l94j5a6px142329djhk2psm1wfgbhdxbj23hw9kb";
};
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 ];
};
}