blackmagic: use python3
This commit is contained in:
parent
8e866ceabc
commit
2b0f34bcb5
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, lib, fetchFromGitHub
|
{ stdenv, lib, fetchFromGitHub
|
||||||
, gcc-arm-embedded, libftdi1, libusb-compat-0_1, pkg-config
|
, gcc-arm-embedded, libftdi1, libusb-compat-0_1, pkg-config
|
||||||
, python, pythonPackages
|
, python3
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
@ -21,15 +21,16 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
gcc-arm-embedded pkg-config
|
gcc-arm-embedded pkg-config
|
||||||
|
python3
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
libftdi1
|
libftdi1
|
||||||
libusb-compat-0_1
|
libusb-compat-0_1
|
||||||
python
|
|
||||||
pythonPackages.intelhex
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
strictDeps = true;
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# Prevent calling out to `git' to generate a version number:
|
# Prevent calling out to `git' to generate a version number:
|
||||||
substituteInPlace src/Makefile \
|
substituteInPlace src/Makefile \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user