diff --git a/pkgs/data/icons/elementary-icon-theme/default.nix b/pkgs/data/icons/elementary-icon-theme/default.nix new file mode 100644 index 000000000000..19b2230eaa8d --- /dev/null +++ b/pkgs/data/icons/elementary-icon-theme/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchzip }: + +stdenv.mkDerivation rec { + version = "3.2.2"; + + 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"; + }; + + dontBuild = true; + + installPhase = '' + install -dm 755 $out/share/icons + cp -dr --no-preserve='ownership' . $out/share/icons/Elementary/ + ''; + + meta = with stdenv.lib; { + description = "Elementary icon theme"; + homepage = "https://launchpad.net/elementaryicons"; + license = licenses.gpl3; + platforms = platforms.all; + maintainers = with maintainers; [ simonvandel ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3d0a951623d5..1519ec50ddee 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -836,6 +836,8 @@ let eggdrop = callPackage ../tools/networking/eggdrop { }; + elementary-icon-theme = callPackage ../data/icons/elementary-icon-theme { }; + enca = callPackage ../tools/text/enca { }; ent = callPackage ../tools/misc/ent { };