python310Packages.johnnycanencrypt: migrate to bindgenHook

This commit is contained in:
Weijia Wang 2023-05-27 17:11:11 +03:00
parent f2d704d130
commit 5dd0190da9

View file

@ -3,7 +3,6 @@
, fetchFromGitHub
, buildPythonPackage
, rustPlatform
, llvmPackages
, pkg-config
, pcsclite
, nettle
@ -35,16 +34,14 @@ buildPythonPackage rec {
format = "pyproject";
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
propagatedBuildInputs = [
httpx
];
nativeBuildInputs = [
llvmPackages.clang
pkg-config
] ++ (with rustPlatform; [
bindgenHook
cargoSetupHook
maturinBuildHook
]);