|
|
|
@ -1,6 +1,6 @@ |
|
|
|
|
{ stdenv, lib, fetchFromGitHub |
|
|
|
|
, gcc-arm-embedded, libftdi1, libusb-compat-0_1, pkg-config |
|
|
|
|
, python, pythonPackages |
|
|
|
|
, python3 |
|
|
|
|
}: |
|
|
|
|
|
|
|
|
|
with lib; |
|
|
|
@ -21,15 +21,16 @@ stdenv.mkDerivation rec { |
|
|
|
|
|
|
|
|
|
nativeBuildInputs = [ |
|
|
|
|
gcc-arm-embedded pkg-config |
|
|
|
|
python3 |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
buildInputs = [ |
|
|
|
|
libftdi1 |
|
|
|
|
libusb-compat-0_1 |
|
|
|
|
python |
|
|
|
|
pythonPackages.intelhex |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
strictDeps = true; |
|
|
|
|
|
|
|
|
|
postPatch = '' |
|
|
|
|
# Prevent calling out to `git' to generate a version number: |
|
|
|
|
substituteInPlace src/Makefile \ |
|
|
|
|