From 4edfccc22acfd013dd141db8866c69f5b399ed72 Mon Sep 17 00:00:00 2001 From: Pamplemousse Date: Tue, 16 Jul 2019 10:15:39 -0700 Subject: [PATCH] pythonPackages.capstone: 3.0.4 -> 3.0.5 * Tested the package build - *NOT* tested the packages relying on capstone... * Added `setupPyBuildFlags` to avoid the error "ERROR: capstone-3.0.5.post1-py3-none-manylinux1_x86_64.whl is not a supported wheel on this platform." --- pkgs/development/python-modules/capstone/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/capstone/default.nix b/pkgs/development/python-modules/capstone/default.nix index 91e00ed7e43c..2bd22ebf0d9b 100644 --- a/pkgs/development/python-modules/capstone/default.nix +++ b/pkgs/development/python-modules/capstone/default.nix @@ -6,11 +6,15 @@ buildPythonPackage rec { pname = "capstone"; - version = "3.0.4"; + version = "3.0.5.post1"; + + setupPyBuildFlags = [ + "--plat-name x86_64-linux" + ]; src = fetchPypi { inherit pname version; - sha256 = "945d3b8c3646a1c3914824c416439e2cf2df8969dd722c8979cdcc23b40ad225"; + sha256 = "3c0f73db9f8392f7048c8a244809f154d7c39f354e2167f6c477630aa517ed04"; }; patches = [