From ab5071ec8690ef95710c48ded065b786bbba53d4 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sat, 10 Mar 2018 00:33:19 +0100 Subject: [PATCH] gnome3.gnome-color-manager: init at 3.26.0 --- .../core/gnome-color-manager/default.nix | 38 +++++++++++++++++++ pkgs/desktops/gnome-3/default.nix | 2 + 2 files changed, 40 insertions(+) create mode 100644 pkgs/desktops/gnome-3/core/gnome-color-manager/default.nix diff --git a/pkgs/desktops/gnome-3/core/gnome-color-manager/default.nix b/pkgs/desktops/gnome-3/core/gnome-color-manager/default.nix new file mode 100644 index 00000000000..b5052281b2f --- /dev/null +++ b/pkgs/desktops/gnome-3/core/gnome-color-manager/default.nix @@ -0,0 +1,38 @@ +{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, itstool, desktop-file-utils, gnome3, glib, gtk3, libexif, libtiff, colord, colord-gtk, libcanberra-gtk3, lcms2, vte, exiv2 }: + +let + pname = "gnome-color-manager"; + version = "3.26.0"; +in stdenv.mkDerivation rec { + name = "${pname}-${version}"; + + src = fetchurl { + url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz"; + sha256 = "1kbi46vk0qf0gxiwm4yhsx8931r7c9cg0c4244j8ncr0hph008b5"; + }; + + nativeBuildInputs = [ meson ninja pkgconfig gettext itstool desktop-file-utils ]; + buildInputs = [ glib gtk3 libexif libtiff colord colord-gtk libcanberra-gtk3 lcms2 vte exiv2 ]; + + patches = [ + # https://bugzilla.gnome.org/show_bug.cgi?id=791158 + (fetchurl { + url = https://bugzilla.gnome.org/attachment.cgi?id=364865; + sha256 = "1zh1aql6rwzfhy2xbdw0jqgzrl9l6wf0jcbdkjd67ykbmynh2cmv"; + }) + ]; + + passthru = { + updateScript = gnome3.updateScript { + packageName = pname; + attrPath = "gnome3.${pname}"; + }; + }; + + meta = with stdenv.lib; { + description = "A set of graphical utilities for color management to be used in the GNOME desktop"; + license = licenses.gpl2Plus; + maintainers = gnome3.maintainers; + platforms = platforms.linux; + }; +} diff --git a/pkgs/desktops/gnome-3/default.nix b/pkgs/desktops/gnome-3/default.nix index cd150c2d683..047d07aaae2 100644 --- a/pkgs/desktops/gnome-3/default.nix +++ b/pkgs/desktops/gnome-3/default.nix @@ -110,6 +110,8 @@ let gnome-bluetooth = callPackage ./core/gnome-bluetooth { }; + gnome-color-manager = callPackage ./core/gnome-color-manager { }; + gnome-contacts = callPackage ./core/gnome-contacts { }; gnome-control-center = callPackage ./core/gnome-control-center { };