nixpkgs/pkgs/development/libraries/gusb/default.nix

31 lines
971 B
Nix
Raw Normal View History

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
2017-10-03 02:15:55 +01:00
, glib, systemd, libusb1, vala_0_38
2013-05-10 18:17:36 +01:00
}:
2015-01-14 12:36:45 +00:00
stdenv.mkDerivation rec {
name = "gusb-${version}";
2017-10-03 02:15:55 +01:00
version = "0.2.11";
2013-05-10 18:17:36 +01:00
enableParallelBuilding = true;
2015-01-14 12:36:45 +00:00
src = fetchurl {
2017-10-03 02:15:55 +01:00
url = "https://people.freedesktop.org/~hughsient/releases/libgusb-${version}.tar.xz";
sha256 = "1pppz17lw3khyz8by1dddxdqrv6qn4a23fpxs38c67db7x4l7ccw";
2013-05-10 18:17:36 +01:00
};
preConfigure = "./autogen.sh";
2017-10-03 02:15:55 +01:00
nativeBuildInputs = [ pkgconfig autoconf automake libtool which gtkdoc gettext
gobjectIntrospection libxslt vala_0_38 ];
buildInputs = [ systemd glib ];
2013-05-10 18:17:36 +01:00
2017-02-27 13:30:20 +00:00
propagatedBuildInputs = [ libusb1 ];
2013-05-10 18:17:36 +01:00
meta = {
description = "GLib libusb wrapper";
homepage = https://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;
};
}