Merge pull request #234441 from wegank/johnnycanencrypt-refactor

python310Packages.johnnycanencrypt: migrate to bindgenHook
This commit is contained in:
Weijia Wang 2023-05-27 18:50:55 +03:00 committed by GitHub
commit 4877a270df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
]);