summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/development/libraries/libsecret/default.nix20
1 files changed, 12 insertions, 8 deletions
diff --git a/pkgs/development/libraries/libsecret/default.nix b/pkgs/development/libraries/libsecret/default.nix
index d5055d213fb..3ceabc3f1ac 100644
--- a/pkgs/development/libraries/libsecret/default.nix
+++ b/pkgs/development/libraries/libsecret/default.nix
@@ -1,9 +1,9 @@
-{ stdenv, fetchurl, glib, dbus_libs, unzip, docbook_xsl
-, intltool, gtk_doc, gobjectIntrospection, pkgconfig, libxslt, libgcrypt
-}:
-
-stdenv.mkDerivation rec {
+{ stdenv, fetchurl, glib, pkgconfig, intltool, libxslt, docbook_xsl, gtk_doc
+, libgcrypt, gobjectIntrospection }:
+let
   version = "0.18";
+in
+stdenv.mkDerivation rec {
   name = "libsecret-${version}";
 
   src = fetchurl {
@@ -11,11 +11,15 @@ stdenv.mkDerivation rec {
     sha256 = "1qq29c01xxjyx5sl6y5h22w8r0ff4c73bph3gfx3h7mx5mvalwqc";
   };
 
-  propagatedBuildInputs = [ glib dbus_libs ];
-  nativeBuildInputs = [ unzip ];
-  buildInputs = [ gtk_doc intltool gobjectIntrospection pkgconfig libxslt libgcrypt docbook_xsl ];
+  propagatedBuildInputs = [ glib ];
+  nativeBuildInputs = [ pkgconfig intltool libxslt docbook_xsl ];
+  buildInputs = [ libgcrypt gobjectIntrospection ];
+  # optional: build docs with gtk-doc? (probably needs a flag as well)
 
   meta = {
+    description = "A library for storing and retrieving passwords and other secrets";
+    homepage = https://wiki.gnome.org/Projects/Libsecret;
+    license = stdenv.lib.licenses.lgpl21Plus;
     inherit (glib.meta) platforms maintainers;
   };
 }