11 buildPythonPackage rec {
14 format = "setuptools";
16 src = fetchFromGitHub {
20 hash = "sha256-PtWxjT+97+EeNMN36zOT1+ost/w3lRRkaON3Cl3dpp4=";
28 propagatedBuildInputs = [
39 mkdir -p $out/share/libfx2
40 cp -R ../firmware/library/{.stamp,lib,include,fx2{rules,conf}.mk} \
44 # installCheckPhase tries to run build_ext again and there are no tests
48 description = "Chip support package for Cypress EZ-USB FX2 series microcontrollers";
49 mainProgram = "fx2tool";
50 homepage = "https://github.com/whitequark/libfx2";
51 license = licenses.bsd0;