libusb: add license and other metadata
This commit is contained in:
parent
55c736cd78
commit
0cda784a79
|
@ -16,7 +16,15 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
patches = stdenv.lib.optional stdenv.hostPlatform.isMusl ./fix-headers.patch;
|
patches = stdenv.lib.optional stdenv.hostPlatform.isMusl ./fix-headers.patch;
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
platforms = stdenv.lib.platforms.unix;
|
homepage = "https://libusb.info/";
|
||||||
|
repositories.git = "https://github.com/libusb/libusb-compat-0.1";
|
||||||
|
description = "cross-platform user-mode USB device library";
|
||||||
|
longDescription = ''
|
||||||
|
libusb is a cross-platform user-mode library that provides access to USB devices.
|
||||||
|
The current API is of 1.0 version (libusb-1.0 API), this library is a wrapper exposing the legacy API.
|
||||||
|
'';
|
||||||
|
license = licenses.lgpl2Plus;
|
||||||
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,10 +21,15 @@ stdenv.mkDerivation rec {
|
||||||
sed 's,-ludev,-L${systemd.lib}/lib -ludev,' -i $out/lib/libusb-1.0.la
|
sed 's,-ludev,-L${systemd.lib}/lib -ludev,' -i $out/lib/libusb-1.0.la
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://www.libusb.info;
|
homepage = "https://libusb.info/";
|
||||||
description = "User-space USB library";
|
repositories.git = "https://github.com/libusb/libusb";
|
||||||
platforms = stdenv.lib.platforms.all;
|
description = "cross-platform user-mode USB device library";
|
||||||
|
longDescription = ''
|
||||||
|
libusb is a cross-platform user-mode library that provides access to USB devices.
|
||||||
|
'';
|
||||||
|
platforms = platforms.all;
|
||||||
|
license = licenses.lgpl21Plus;
|
||||||
maintainers = [ ];
|
maintainers = [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue