gusb: 0.2.11 → 0.3.0

This commit is contained in:
Jan Tojnar 2018-10-26 20:54:43 +02:00
parent eadd086834
commit 6b5571b9e8
2 changed files with 25 additions and 19 deletions

View file

@ -1,30 +1,38 @@
{stdenv, fetchurl
, automake, autoconf, libtool, which, gtkdoc, gettext, pkgconfig, gobjectIntrospection, libxslt
, glib, systemd, libusb1, vala_0_38
{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, gobjectIntrospection
, gtk-doc, docbook_xsl, docbook_xml_dtd_412, docbook_xml_dtd_44
, glib, systemd, libusb1, vala, hwdata
}:
stdenv.mkDerivation rec {
name = "gusb-${version}";
version = "0.2.11";
enableParallelBuilding = true;
version = "0.3.0";
outputs = [ "bin" "out" "dev" "devdoc" ];
src = fetchurl {
url = "https://people.freedesktop.org/~hughsient/releases/libgusb-${version}.tar.xz";
sha256 = "1pppz17lw3khyz8by1dddxdqrv6qn4a23fpxs38c67db7x4l7ccw";
sha256 = "1p4f6jdjw6zl986f93gzdjg2hdcn5dlz6rcckcz4rbmnk47rbryq";
};
preConfigure = "./autogen.sh";
nativeBuildInputs = [ pkgconfig autoconf automake libtool which gtkdoc gettext
gobjectIntrospection libxslt vala_0_38 ];
buildInputs = [ systemd glib ];
nativeBuildInputs = [
meson ninja pkgconfig gettext
gtk-doc docbook_xsl docbook_xml_dtd_412 docbook_xml_dtd_44
gobjectIntrospection vala
];
buildInputs = [ systemd glib ];
propagatedBuildInputs = [ libusb1 ];
meta = {
mesonFlags = [
"-Dusb_ids=${hwdata}/share/hwdata/usb.ids"
];
doCheck = false; # tests try to access USB
meta = with stdenv.lib; {
description = "GLib libusb wrapper";
homepage = https://people.freedesktop.org/~hughsient/releases/;
license = stdenv.lib.licenses.lgpl21;
maintainers = [stdenv.lib.maintainers.marcweber];
platforms = stdenv.lib.platforms.linux;
homepage = https://github.com/hughsie/libgusb;
license = licenses.lgpl21;
maintainers = [ maintainers.marcweber ];
platforms = platforms.unix;
};
}

View file

@ -9801,9 +9801,7 @@ with pkgs;
gnonlin = callPackage ../development/libraries/gstreamer/legacy/gnonlin {};
gusb = callPackage ../development/libraries/gusb {
inherit (gnome2) gtkdoc;
};
gusb = callPackage ../development/libraries/gusb { };
qt-mobility = callPackage ../development/libraries/qt-mobility {};