9 stdenv.mkDerivation rec {
11 version = "unstable-2020-05-19";
13 src = fetchFromGitHub {
16 rev = "19e707eafaaddee8b996ad27a9f3e1aafcb900d2";
17 hash = "sha256:1f78j498fdd36xbci57jkgh25gq14g3b6xmp76imdpar0jkpyljv";
20 nativeBuildInputs = [ autoreconfHook pkg-config ];
21 buildInputs = [ boost libusb1 ];
24 substituteInPlace udev/90-cc-debugger.rules \
25 --replace 'MODE="0666"' 'MODE="0660", GROUP="plugdev", TAG+="uaccess"'
29 install -D udev/90-cc-debugger.rules $out/lib/udev/rules.d/90-cc-debugger.rules
33 description = "Command line tool for the Texas Instruments CC Debugger";
34 mainProgram = "cc-tool";
36 cc-tool provides support for Texas Instruments CC Debugger
38 homepage = "https://github.com/dashesy/cc-tool";
39 license = licenses.gpl2;
40 platforms = with platforms; linux ++ darwin;
41 maintainers = [ maintainers.CRTified ];