11 pname = "rkdeveloptool";
12 version = "unstable-2021-04-08";
14 src = fetchFromGitHub {
15 owner = "rockchip-linux";
16 repo = "rkdeveloptool";
17 rev = "46bb4c073624226c3f05b37b9ecc50bbcf543f5a";
18 sha256 = "eIFzyoY6l3pdfCN0uS16hbVp0qzdG3MtcS1jnDX1Yk0=";
26 buildInputs = [ libusb1 ];
28 # main.cpp:1568:36: error: '%s' directive output may be truncated writing up to 557 bytes into a region of size 5
29 CPPFLAGS = lib.optionals stdenv.cc.isGNU [ "-Wno-error=format-truncation" ];
32 homepage = "https://github.com/rockchip-linux/rkdeveloptool";
33 description = "Tool from Rockchip to communicate with Rockusb devices";
34 license = licenses.gpl2Only;
35 maintainers = [ maintainers.lopsided98 ];
36 mainProgram = "rkdeveloptool";