2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libusb1 }:
|
2018-12-30 22:27:41 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "rkdeveloptool";
|
2020-04-01 21:16:22 +01:00
|
|
|
version = "unstable-2019-07-01";
|
2018-12-30 22:27:41 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rockchip-linux";
|
|
|
|
repo = "rkdeveloptool";
|
2020-04-01 21:16:22 +01:00
|
|
|
rev = "6e92ebcf8b1812da02663494a68972f956e490d3";
|
|
|
|
sha256 = "0zwrkqfxd671iy69v3q0844gfdpm1yk51i9qh2rqc969bd8glxga";
|
2018-12-30 22:27:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
|
|
|
|
|
|
buildInputs = [ libusb1 ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/rockchip-linux/rkdeveloptool";
|
2018-12-30 22:27:41 +00:00
|
|
|
description = "A tool from Rockchip to communicate with Rockusb devices";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.lopsided98 ];
|
|
|
|
};
|
|
|
|
}
|