2018-02-25 02:23:58 +00:00
|
|
|
{ stdenv, fetchurl, glib, pkgconfig, intltool, libxslt, docbook_xsl, gtk-doc
|
2018-03-14 20:29:44 +00:00
|
|
|
, libgcrypt, gobjectIntrospection, vala_0_38, gnome3, libintl }:
|
2015-04-10 08:24:42 +00:00
|
|
|
let
|
2018-03-03 05:24:48 +00:00
|
|
|
pname = "libsecret";
|
2016-04-12 23:06:10 +00:00
|
|
|
version = "0.18.5";
|
2015-04-10 08:24:42 +00:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
2018-03-03 05:24:48 +00:00
|
|
|
name = "${pname}-${version}";
|
2013-06-21 17:59:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-03-03 05:24:48 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
|
2016-04-12 23:06:10 +00:00
|
|
|
sha256 = "1cychxc3ff8fp857iikw0n2s13s2mhw2dn1mr632f7w3sn6vvrww";
|
2013-06-21 17:59:20 +00:00
|
|
|
};
|
|
|
|
|
2017-01-10 14:23:16 +00:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2015-04-10 08:24:42 +00:00
|
|
|
propagatedBuildInputs = [ glib ];
|
2018-03-14 19:15:06 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool libxslt docbook_xsl libintl ];
|
2017-10-10 20:24:04 +00:00
|
|
|
buildInputs = [ libgcrypt gobjectIntrospection vala_0_38 ];
|
2015-04-10 08:24:42 +00:00
|
|
|
# optional: build docs with gtk-doc? (probably needs a flag as well)
|
2013-06-21 17:59:20 +00:00
|
|
|
|
2018-03-03 05:24:48 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-06-21 17:59:20 +00:00
|
|
|
meta = {
|
2015-04-10 08:24:42 +00:00
|
|
|
description = "A library for storing and retrieving passwords and other secrets";
|
|
|
|
homepage = https://wiki.gnome.org/Projects/Libsecret;
|
|
|
|
license = stdenv.lib.licenses.lgpl21Plus;
|
2013-06-21 17:59:20 +00:00
|
|
|
inherit (glib.meta) platforms maintainers;
|
|
|
|
};
|
|
|
|
}
|