From b84835ebde69c3e68684e6e345897aabb7521d75 Mon Sep 17 00:00:00 2001 From: Matej Urbas Date: Fri, 22 Jan 2021 22:13:13 +0000 Subject: [PATCH] python3Packages.capstone: aarch64 platform name --- pkgs/development/python-modules/capstone/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/capstone/default.nix b/pkgs/development/python-modules/capstone/default.nix index 7d5e416a9c5d..af6b9031e66e 100644 --- a/pkgs/development/python-modules/capstone/default.nix +++ b/pkgs/development/python-modules/capstone/default.nix @@ -1,14 +1,15 @@ -{ lib, stdenv +{ stdenv +, lib , buildPythonPackage -, fetchPypi -, fetchpatch -, setuptools , capstone +, fetchpatch +, fetchPypi +, setuptools }: buildPythonPackage rec { pname = "capstone"; - version = stdenv.lib.getVersion capstone; + version = lib.getVersion capstone; src = capstone.src; sourceRoot = "${capstone.name}/bindings/python"; @@ -16,6 +17,7 @@ buildPythonPackage rec { postPatch = '' ln -s ${capstone}/lib/libcapstone${stdenv.targetPlatform.extensions.sharedLibrary} prebuilt/ ln -s ${capstone}/lib/libcapstone.a prebuilt/ + substituteInPlace setup.py --replace manylinux1 manylinux2014 ''; propagatedBuildInputs = [ setuptools ];