2015-01-14 12:36:45 +00:00
|
|
|
{stdenv, fetchurl
|
2013-05-10 18:17:36 +01:00
|
|
|
, automake, autoconf, libtool, which, gtkdoc, gettext, pkgconfig, gobjectIntrospection, libxslt
|
2015-09-19 18:55:24 +01:00
|
|
|
, glib, systemd, libusb1, vala
|
2013-05-10 18:17:36 +01:00
|
|
|
}:
|
2015-01-14 12:36:45 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "gusb-${version}";
|
|
|
|
version = "0.2.4";
|
2013-05-10 18:17:36 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2015-01-14 12:36:45 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://people.freedesktop.org/~hughsient/releases/libgusb-${version}.tar.xz";
|
|
|
|
sha256 = "10w0sdq7505iwd8y305aylmx4zafbnphs81cgdsqw2z38pxncya3";
|
2013-05-10 18:17:36 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
preConfigure = "./autogen.sh";
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
pkgconfig autoconf automake libtool which gtkdoc gettext gobjectIntrospection libxslt
|
2015-09-19 18:55:24 +01:00
|
|
|
systemd libusb1 vala
|
2013-05-10 18:17:36 +01:00
|
|
|
glib
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "GLib libusb wrapper";
|
2015-01-14 12:36:45 +00:00
|
|
|
homepage = http://people.freedesktop.org/~hughsient/releases/;
|
2013-05-10 18:17:36 +01:00
|
|
|
license = stdenv.lib.licenses.lgpl21;
|
|
|
|
maintainers = [stdenv.lib.maintainers.marcweber];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|