2015-04-10 09:24:42 +01:00
|
|
|
{ stdenv, fetchurl, glib, pkgconfig, intltool, libxslt, docbook_xsl, gtk_doc
|
|
|
|
, libgcrypt, gobjectIntrospection }:
|
|
|
|
let
|
2015-04-09 21:20:18 +01:00
|
|
|
version = "0.18";
|
2015-04-10 09:24:42 +01:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
2013-06-21 18:59:20 +01:00
|
|
|
name = "libsecret-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2015-04-09 21:20:18 +01:00
|
|
|
url = "mirror://gnome/sources/libsecret/${version}/${name}.tar.xz";
|
|
|
|
sha256 = "1qq29c01xxjyx5sl6y5h22w8r0ff4c73bph3gfx3h7mx5mvalwqc";
|
2013-06-21 18:59:20 +01:00
|
|
|
};
|
|
|
|
|
2015-04-10 09:24:42 +01:00
|
|
|
propagatedBuildInputs = [ glib ];
|
|
|
|
nativeBuildInputs = [ pkgconfig intltool libxslt docbook_xsl ];
|
|
|
|
buildInputs = [ libgcrypt gobjectIntrospection ];
|
|
|
|
# optional: build docs with gtk-doc? (probably needs a flag as well)
|
2013-06-21 18:59:20 +01:00
|
|
|
|
|
|
|
meta = {
|
2015-04-10 09:24:42 +01: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 18:59:20 +01:00
|
|
|
inherit (glib.meta) platforms maintainers;
|
|
|
|
};
|
|
|
|
}
|