blackmagic: Add patch for libftdi1 1.5 compatibility
This commit is contained in:
parent
06c6ec1c99
commit
cfba508aa9
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, lib, fetchFromGitHub
|
{ stdenv, lib, fetchFromGitHub, fetchpatch
|
||||||
, gcc-arm-embedded, libftdi1, libusb-compat-0_1, pkg-config
|
, gcc-arm-embedded, libftdi1, libusb-compat-0_1, pkg-config
|
||||||
, python, pythonPackages
|
, python, pythonPackages
|
||||||
}:
|
}:
|
||||||
@ -19,6 +19,14 @@ stdenv.mkDerivation rec {
|
|||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Fix deprecation warning with libftdi 1.5
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/blacksphere/blackmagic/commit/dea4be2539c5ea63836ec78dca08b52fa8b26ab5.patch";
|
||||||
|
sha256 = "0f81simij1wdhifsxaavalc6yxzagfbgwry969dbjmxqzvrsrds5";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
gcc-arm-embedded pkg-config
|
gcc-arm-embedded pkg-config
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user