From 1bd430e3d444aa566d55a668f424033e2dcc782f Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Fri, 10 Aug 2018 01:04:52 +0200 Subject: [PATCH] gnome3.gnome-keyring: clean up --- .../gnome-3/core/gnome-keyring/default.nix | 27 ++++++++++--------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/pkgs/desktops/gnome-3/core/gnome-keyring/default.nix b/pkgs/desktops/gnome-3/core/gnome-keyring/default.nix index acb32bc174c..cce192c9f29 100644 --- a/pkgs/desktops/gnome-3/core/gnome-keyring/default.nix +++ b/pkgs/desktops/gnome-3/core/gnome-keyring/default.nix @@ -1,6 +1,6 @@ -{ stdenv, fetchurl, pkgconfig, dbus, libgcrypt, libtasn1, pam, python2, glib, libxslt -, intltool, pango, gcr, gdk_pixbuf, atk, p11-kit, openssh, wrapGAppsHook -, docbook_xsl, docbook_xml_dtd_42, gnome3 }: +{ stdenv, fetchurl, pkgconfig, dbus, libgcrypt, pam, python2, glib, libxslt +, gettext, gcr, libcap_ng, libselinux, p11-kit, openssh, wrapGAppsHook +, docbook_xsl, docbook_xml_dtd_43, gnome3 }: stdenv.mkDerivation rec { name = "gnome-keyring-${version}"; @@ -11,21 +11,15 @@ stdenv.mkDerivation rec { sha256 = "0sk4las4ji8wv9nx8mldzqccmpmkvvr9pdwv9imj26r10xyin5w1"; }; - passthru = { - updateScript = gnome3.updateScript { packageName = "gnome-keyring"; attrPath = "gnome3.gnome-keyring"; }; - }; - outputs = [ "out" "dev" ]; - buildInputs = with gnome3; [ - dbus libgcrypt pam gtk3 libgnome-keyring openssh - pango gcr gdk_pixbuf atk p11-kit + buildInputs = [ + glib libgcrypt pam openssh libcap_ng libselinux + gcr p11-kit ]; - propagatedBuildInputs = [ glib libtasn1 libxslt ]; - nativeBuildInputs = [ - pkgconfig intltool docbook_xsl docbook_xml_dtd_42 wrapGAppsHook + pkgconfig gettext libxslt docbook_xsl docbook_xml_dtd_43 wrapGAppsHook ]; configureFlags = [ @@ -48,6 +42,13 @@ stdenv.mkDerivation rec { make check ''; + passthru = { + updateScript = gnome3.updateScript { + packageName = "gnome-keyring"; + attrPath = "gnome3.gnome-keyring"; + }; + }; + meta = with stdenv.lib; { description = "Collection of components in GNOME that store secrets, passwords, keys, certificates and make them available to applications"; homepage = https://wiki.gnome.org/Projects/GnomeKeyring;