From 5dd0190da9b5aecb5238c1bea1ebaa77f15c6a45 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Sat, 27 May 2023 17:11:11 +0300 Subject: [PATCH] python310Packages.johnnycanencrypt: migrate to bindgenHook --- pkgs/development/python-modules/johnnycanencrypt/default.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/johnnycanencrypt/default.nix b/pkgs/development/python-modules/johnnycanencrypt/default.nix index 2f4e2613d6aa..dca215358e03 100644 --- a/pkgs/development/python-modules/johnnycanencrypt/default.nix +++ b/pkgs/development/python-modules/johnnycanencrypt/default.nix @@ -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 ]);