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

32 lines
927 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
2016-08-21 18:07:11 +01:00
, glib, systemd, libusb1, vala_0_23
2013-05-10 18:17:36 +01:00
}:
2015-01-14 12:36:45 +00:00
stdenv.mkDerivation rec {
name = "gusb-${version}";
2017-02-27 13:30:20 +00:00
version = "0.2.9";
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";
2017-02-27 13:30:20 +00:00
sha256 = "056yxlppgycsfw1l8c9j6givk1n15jylhvx89wqhsxdi1b6vs83k";
2013-05-10 18:17:36 +01:00
};
preConfigure = "./autogen.sh";
buildInputs = [
pkgconfig autoconf automake libtool which gtkdoc gettext gobjectIntrospection libxslt
2017-02-27 13:30:20 +00:00
systemd vala_0_23 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;
};
}