rkdeveloptool: unstable-2019-07-01 -> unstable-2021-02-03, fix build (#118707)

This commit is contained in:
Ben Wolsieffer 2021-04-07 03:51:21 -04:00 committed by GitHub
parent 597f75375b
commit 4decd156ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,19 +2,22 @@
stdenv.mkDerivation {
pname = "rkdeveloptool";
version = "unstable-2019-07-01";
version = "unstable-2021-02-03";
src = fetchFromGitHub {
owner = "rockchip-linux";
repo = "rkdeveloptool";
rev = "6e92ebcf8b1812da02663494a68972f956e490d3";
sha256 = "0zwrkqfxd671iy69v3q0844gfdpm1yk51i9qh2rqc969bd8glxga";
rev = "e607a5d6ad3f6af66d3daf3f6370e6dc9763a20d";
sha256 = "08m0yfds5rpr5l0s75ynfarq3hrv94l3aadld17cz5gqapqcfs2n";
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ libusb1 ];
# main.cpp:1568:36: error: '%s' directive output may be truncated writing up to 557 bytes into a region of size 5
CPPFLAGS = "-Wno-error=format-truncation";
meta = with lib; {
homepage = "https://github.com/rockchip-linux/rkdeveloptool";
description = "A tool from Rockchip to communicate with Rockusb devices";