python3Packages.hawkmoth: fix broken state with llvm 21 by using 20 (#452196)
This commit is contained in:
@@ -3,13 +3,18 @@
|
|||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
hatchling,
|
hatchling,
|
||||||
|
llvmPackages_20,
|
||||||
libclang,
|
libclang,
|
||||||
sphinx,
|
sphinx,
|
||||||
clang,
|
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
strictyaml,
|
strictyaml,
|
||||||
}:
|
}:
|
||||||
|
let
|
||||||
|
libclang_20 = libclang.override {
|
||||||
|
llvmPackages = llvmPackages_20;
|
||||||
|
};
|
||||||
|
|
||||||
|
in
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "hawkmoth";
|
pname = "hawkmoth";
|
||||||
version = "0.21.0";
|
version = "0.21.0";
|
||||||
@@ -25,13 +30,13 @@ buildPythonPackage rec {
|
|||||||
build-system = [ hatchling ];
|
build-system = [ hatchling ];
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
libclang
|
libclang_20
|
||||||
sphinx
|
sphinx
|
||||||
];
|
];
|
||||||
propagatedBuildInputs = [ clang ];
|
propagatedBuildInputs = [ llvmPackages_20.clang ];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
clang
|
llvmPackages_20.clang
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
strictyaml
|
strictyaml
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user