@@ -1,4 +1,4 @@
1−{ mkDerivation, lib, fetchFromGitHub, cmake, qtbase, capstone, bison, flex }:
1+{ mkDerivation, lib, fetchFromGitHub, fetchpatch, cmake, qtbase, capstone, bison, flex }:
22
33mkDerivation rec {
44 pname = "boomerang";
@@ -16,7 +16,13 @@ mkDerivation rec {
1616
1717 nativeBuildInputs = [ cmake bison flex ];
1818 buildInputs = [ qtbase capstone ];
19− patches = [ ./cstdint.patch ];
19+ patches = [
20+ (fetchpatch {
21+ name = "include-missing-cstdint.patch";
22+ url = "https://github.com/BoomerangDecompiler/boomerang/commit/3342b0eac6b7617d9913226c06c1470820593e74.patch";
23+ sha256 = "sha256-941IydcV3mqj7AWvXTM6GePW5VgawEcL0wrBCXqeWvc=";
24+ })
25+ ];
2026
2127 meta = with lib; {
2228 homepage = "https://github.com/BoomerangDecompiler/boomerang";