diff --git a/pkgs/development/python-modules/capstone/4.nix b/pkgs/development/python-modules/capstone/4.nix index 3c1898949188..7c79cfe81942 100644 --- a/pkgs/development/python-modules/capstone/4.nix +++ b/pkgs/development/python-modules/capstone/4.nix @@ -3,9 +3,10 @@ , capstone_4 , stdenv , setuptools +, pythonAtLeast }: -buildPythonPackage rec { +buildPythonPackage { pname = "capstone"; inherit (capstone_4) version src; @@ -34,5 +35,6 @@ buildPythonPackage rec { license = licenses.bsdOriginal; description = "Python bindings for Capstone disassembly engine"; maintainers = with maintainers; [ bennofs ris ]; + broken = pythonAtLeast "3.12"; # uses distutils }; }