3
0
Fork 0
forked from mirrors/nixpkgs

libsecret: clean deps, add (more) meta

Most changes from former version of this patch was already pushed in f00f25bf6a.
This commit is contained in:
Vladimír Čunát 2015-04-10 10:24:42 +02:00
parent 7f30d090b2
commit 7f81c07145

View file

@ -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;
};
}