nixpkgs/pkgs/desktops/gnome-3/apps/seahorse/default.nix
worldofpeace ca18f905df gnome3.seahorse: 3.32.2 -> 3.34
* dropped gobject-introspection
2019-10-03 17:14:06 -04:00

84 lines
1.3 KiB
Nix

{ stdenv
, fetchurl
, fetchpatch
, vala
, meson
, ninja
, libpwquality
, pkgconfig
, gtk3
, glib
, wrapGAppsHook
, itstool
, gnupg
, libsoup
, gnome3
, gpgme
, python3
, openldap
, gcr
, libsecret
, avahi
, p11-kit
, openssh
, gsettings-desktop-schemas
}:
stdenv.mkDerivation rec {
pname = "seahorse";
version = "3.34";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "16sfnqrdlr5xx6kixx2ln1mva7nngjlw1k3f5n454vyaigffjh2v";
};
doCheck = true;
nativeBuildInputs = [
meson
ninja
pkgconfig
vala
itstool
wrapGAppsHook
python3
];
buildInputs = [
gtk3
glib
gcr
gsettings-desktop-schemas
gnupg
gnome3.adwaita-icon-theme
gpgme
libsecret
avahi
libsoup
p11-kit
openssh
openldap
libpwquality
];
postPatch = ''
patchShebangs build-aux/
'';
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "gnome3.${pname}";
};
};
meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Apps/Seahorse;
description = "Application for managing encryption keys and passwords in the GnomeKeyring";
maintainers = gnome3.maintainers;
license = licenses.gpl2;
platforms = platforms.linux;
};
}