python310Packages.johnnycanencrypt: migrate to bindgenHook
This commit is contained in:
parent
f2d704d130
commit
5dd0190da9
|
@ -3,7 +3,6 @@
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, llvmPackages
|
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, pcsclite
|
, pcsclite
|
||||||
, nettle
|
, nettle
|
||||||
|
@ -35,16 +34,14 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
httpx
|
httpx
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
llvmPackages.clang
|
|
||||||
pkg-config
|
pkg-config
|
||||||
] ++ (with rustPlatform; [
|
] ++ (with rustPlatform; [
|
||||||
|
bindgenHook
|
||||||
cargoSetupHook
|
cargoSetupHook
|
||||||
maturinBuildHook
|
maturinBuildHook
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in a new issue