lol
1{ stdenv, fetchurl, glib, pkgconfig, intltool, libxslt, docbook_xsl, gtk_doc
2, libgcrypt, gobjectIntrospection }:
3let
4 version = "0.18";
5in
6stdenv.mkDerivation rec {
7 name = "libsecret-${version}";
8
9 src = fetchurl {
10 url = "mirror://gnome/sources/libsecret/${version}/${name}.tar.xz";
11 sha256 = "1qq29c01xxjyx5sl6y5h22w8r0ff4c73bph3gfx3h7mx5mvalwqc";
12 };
13
14 propagatedBuildInputs = [ glib ];
15 nativeBuildInputs = [ pkgconfig intltool libxslt docbook_xsl ];
16 buildInputs = [ libgcrypt gobjectIntrospection ];
17 # optional: build docs with gtk-doc? (probably needs a flag as well)
18
19 meta = {
20 description = "A library for storing and retrieving passwords and other secrets";
21 homepage = https://wiki.gnome.org/Projects/Libsecret;
22 license = stdenv.lib.licenses.lgpl21Plus;
23 inherit (glib.meta) platforms maintainers;
24 };
25}