From cfc1a7ffb4e3c6c5be8f6e4f076811c879b3696e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo=20Malaquias?= Date: Tue, 20 Nov 2018 13:43:43 -0200 Subject: [PATCH] zafiro-icons: init at 0.7.2 --- pkgs/data/icons/zafiro-icons/default.nix | 30 ++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/data/icons/zafiro-icons/default.nix diff --git a/pkgs/data/icons/zafiro-icons/default.nix b/pkgs/data/icons/zafiro-icons/default.nix new file mode 100644 index 000000000000..ac52d70bbc8a --- /dev/null +++ b/pkgs/data/icons/zafiro-icons/default.nix @@ -0,0 +1,30 @@ +{ stdenv, fetchFromGitHub, gtk3 }: + +stdenv.mkDerivation rec { + name = "${pname}-${version}"; + pname = "zafiro-icons"; + version = "0.7.2"; + + src = fetchFromGitHub { + owner = "zayronxio"; + repo = pname; + rev = "v${version}"; + sha256 = "1rs3wazmvidlkig5q7x1n9nz7jhfq18wps3wsplax9zcdy0hv248"; + }; + + nativeBuildInputs = [ gtk3 ]; + + installPhase = '' + mkdir -p $out/share/icons/Zafiro + cp -a * $out/share/icons/Zafiro + gtk-update-icon-cache "$out"/share/icons/Zafiro + ''; + + meta = with stdenv.lib; { + description = "Icon pack flat with light colors"; + homepage = https://github.com/zayronxio/Zafiro-icons; + license = with licenses; [ gpl3 ]; + platforms = platforms.linux; + maintainers = with maintainers; [ romildo ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 21ac839d9918..2d5f3e8559f7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15683,6 +15683,8 @@ with pkgs; xorg-rgb = callPackage ../data/misc/xorg-rgb {}; + zafiro-icons = callPackage ../data/icons/zafiro-icons { }; + zeal = libsForQt5.callPackage ../data/documentation/zeal { }; zilla-slab = callPackage ../data/fonts/zilla-slab { };