2017-10-10 21:24:04 +01:00
|
|
|
{ stdenv, intltool, fetchurl, vala
|
2016-09-18 20:35:23 +01:00
|
|
|
, pkgconfig, gtk3, glib
|
2017-05-26 08:00:58 +01:00
|
|
|
, wrapGAppsHook, itstool, gnupg, libsoup
|
2018-07-21 01:44:44 +01:00
|
|
|
, gnome3, gpgme
|
2018-02-25 02:23:58 +00:00
|
|
|
, libsecret, avahi, p11-kit, openssh }:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2018-03-22 18:52:39 +00:00
|
|
|
let
|
|
|
|
pname = "seahorse";
|
2018-02-25 20:07:20 +00:00
|
|
|
version = "3.20.0";
|
2018-03-22 18:52:39 +00:00
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-10-05 01:12:11 +01:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2018-02-25 20:07:20 +00:00
|
|
|
sha256 = "e2b07461ed54a8333e5628e9b8e517ec2b731068377bf376570aad998274c6df";
|
|
|
|
};
|
|
|
|
|
2016-09-18 20:35:23 +01:00
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = "-I${gnome3.glib.dev}/include/gio-unix-2.0";
|
|
|
|
|
2018-03-22 18:52:39 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig vala intltool itstool wrapGAppsHook ];
|
|
|
|
buildInputs = [
|
|
|
|
gtk3 glib gnome3.gcr
|
|
|
|
gnome3.gsettings-desktop-schemas gnupg
|
|
|
|
gnome3.defaultIconTheme gpgme
|
|
|
|
libsecret avahi libsoup p11-kit
|
|
|
|
openssh
|
|
|
|
];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2018-03-22 18:52:39 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
attrPath = "gnome3.${pname}";
|
|
|
|
};
|
|
|
|
};
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|