depot/third_party/nixpkgs/pkgs/misc/rkdeveloptool/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

24 lines
701 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libusb1 }:
stdenv.mkDerivation {
pname = "rkdeveloptool";
version = "unstable-2019-07-01";
src = fetchFromGitHub {
owner = "rockchip-linux";
repo = "rkdeveloptool";
rev = "6e92ebcf8b1812da02663494a68972f956e490d3";
sha256 = "0zwrkqfxd671iy69v3q0844gfdpm1yk51i9qh2rqc969bd8glxga";
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ libusb1 ];
meta = with lib; {
homepage = "https://github.com/rockchip-linux/rkdeveloptool";
description = "A tool from Rockchip to communicate with Rockusb devices";
license = licenses.gpl2;
maintainers = [ maintainers.lopsided98 ];
};
}