From 03c248ce5458313a827501a973624da0b8f019e0 Mon Sep 17 00:00:00 2001 From: Simon Vandel Sillesen Date: Sat, 24 Oct 2015 19:57:16 +0200 Subject: [PATCH] elementary-icon-theme: init at 3.2.2 --- .../icons/elementary-icon-theme/default.nix | 29 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 pkgs/data/icons/elementary-icon-theme/default.nix 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 6564a15cad2f..5d491cbd27b7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -832,6 +832,8 @@ let edac-utils = callPackage ../os-specific/linux/edac-utils { }; + elementary-icon-theme = callPackage ../data/icons/elementary-icon-theme { }; + eggdrop = callPackage ../tools/networking/eggdrop { }; enca = callPackage ../tools/text/enca { };