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

32 lines
926 B
Nix
Raw Normal View History

2015-01-14 15:36:45 +03:00
{stdenv, fetchurl
2013-05-10 21:17:36 +04:00
, automake, autoconf, libtool, which, gtkdoc, gettext, pkgconfig, gobjectIntrospection, libxslt
2016-08-21 20:07:11 +03:00
, glib, systemd, libusb1, vala_0_23
2013-05-10 21:17:36 +04:00
}:
2015-01-14 15:36:45 +03:00
stdenv.mkDerivation rec {
name = "gusb-${version}";
2017-02-27 16:30:20 +03:00
version = "0.2.9";
2013-05-10 21:17:36 +04:00
enableParallelBuilding = true;
2015-01-14 15:36:45 +03:00
src = fetchurl {
url = "http://people.freedesktop.org/~hughsient/releases/libgusb-${version}.tar.xz";
2017-02-27 16:30:20 +03:00
sha256 = "056yxlppgycsfw1l8c9j6givk1n15jylhvx89wqhsxdi1b6vs83k";
2013-05-10 21:17:36 +04:00
};
preConfigure = "./autogen.sh";
buildInputs = [
pkgconfig autoconf automake libtool which gtkdoc gettext gobjectIntrospection libxslt
2017-02-27 16:30:20 +03:00
systemd vala_0_23 glib
2013-05-10 21:17:36 +04:00
];
2017-02-27 16:30:20 +03:00
propagatedBuildInputs = [ libusb1 ];
2013-05-10 21:17:36 +04:00
meta = {
description = "GLib libusb wrapper";
2015-01-14 15:36:45 +03:00
homepage = http://people.freedesktop.org/~hughsient/releases/;
2013-05-10 21:17:36 +04:00
license = stdenv.lib.licenses.lgpl21;
maintainers = [stdenv.lib.maintainers.marcweber];
platforms = stdenv.lib.platforms.linux;
};
}