gnome3.seahorse: clean up

This commit is contained in:
Jan Tojnar 2018-03-22 19:52:39 +01:00
parent cb23f4dbee
commit 556474aad9
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -4,37 +4,36 @@
, gnome3, librsvg, gdk_pixbuf, gpgme , gnome3, librsvg, gdk_pixbuf, gpgme
, libsecret, avahi, p11-kit, openssh }: , libsecret, avahi, p11-kit, openssh }:
stdenv.mkDerivation rec { let
name = "seahorse-${version}"; pname = "seahorse";
version = "3.20.0"; version = "3.20.0";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/seahorse/${gnome3.versionBranch version}/${name}.tar.xz"; url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
sha256 = "e2b07461ed54a8333e5628e9b8e517ec2b731068377bf376570aad998274c6df"; sha256 = "e2b07461ed54a8333e5628e9b8e517ec2b731068377bf376570aad998274c6df";
}; };
passthru = {
updateScript = gnome3.updateScript { packageName = "seahorse"; attrPath = "gnome3.seahorse"; };
};
doCheck = true; doCheck = true;
propagatedUserEnvPkgs = [ gnome3.gnome-themes-standard ];
NIX_CFLAGS_COMPILE = "-I${gnome3.glib.dev}/include/gio-unix-2.0"; NIX_CFLAGS_COMPILE = "-I${gnome3.glib.dev}/include/gio-unix-2.0";
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig vala intltool itstool wrapGAppsHook ];
buildInputs = [ gtk3 glib intltool itstool gnome3.gcr buildInputs = [
gnome3.gsettings-desktop-schemas wrapGAppsHook gnupg gtk3 glib gnome3.gcr
gdk_pixbuf gnome3.defaultIconTheme librsvg gpgme gnome3.gsettings-desktop-schemas gnupg
libsecret avahi libsoup p11-kit vala gnome3.defaultIconTheme gpgme
openssh ]; libsecret avahi libsoup p11-kit
openssh
];
preFixup = '' passthru = {
gappsWrapperArgs+=( updateScript = gnome3.updateScript {
--prefix XDG_DATA_DIRS : "${gnome3.gnome-themes-standard}/share" packageName = pname;
) attrPath = "gnome3.${pname}";
''; };
};
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Apps/Seahorse; homepage = https://wiki.gnome.org/Apps/Seahorse;