nixpkgs/pkgs/by-name/rk/rkdeveloptool/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
926 B
Nix
Raw Normal View History

2021-01-17 02:30:45 +00:00
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libusb1 }:
2018-12-30 22:27:41 +00:00
stdenv.mkDerivation {
pname = "rkdeveloptool";
version = "unstable-2021-04-08";
2018-12-30 22:27:41 +00:00
src = fetchFromGitHub {
owner = "rockchip-linux";
repo = "rkdeveloptool";
rev = "46bb4c073624226c3f05b37b9ecc50bbcf543f5a";
sha256 = "eIFzyoY6l3pdfCN0uS16hbVp0qzdG3MtcS1jnDX1Yk0=";
2018-12-30 22:27:41 +00:00
};
2021-01-17 02:30:45 +00:00
nativeBuildInputs = [ autoreconfHook pkg-config ];
2018-12-30 22:27:41 +00:00
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 = lib.optionals stdenv.cc.isGNU [ "-Wno-error=format-truncation" ];
meta = with lib; {
homepage = "https://github.com/rockchip-linux/rkdeveloptool";
2018-12-30 22:27:41 +00:00
description = "Tool from Rockchip to communicate with Rockusb devices";
2024-05-26 12:42:05 +00:00
license = licenses.gpl2Only;
2018-12-30 22:27:41 +00:00
maintainers = [ maintainers.lopsided98 ];
2023-11-23 21:09:35 +00:00
mainProgram = "rkdeveloptool";
2018-12-30 22:27:41 +00:00
};
}