mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-01 10:07:42 +03:00
Merge pull request #260798 from marsam/pyuv-python-3.11
python311Packages.pyuv: fix build
This commit is contained in:
commit
43a25ec180
@ -9,7 +9,7 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "pyuv";
|
||||
version = "1.4.0";
|
||||
disabled = pythonAtLeast "3.11";
|
||||
disabled = pythonAtLeast "3.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "saghul";
|
||||
@ -24,6 +24,11 @@ buildPythonPackage rec {
|
||||
url = "https://github.com/saghul/pyuv/commit/8bddcc27052017b5b9cb89c24dbfdf06737b0dd3.patch";
|
||||
hash = "sha256-J/3ky64Ff+gYpN3ksFLNuZ5xgPbBkyOl4LTY6fiHAgk=";
|
||||
})
|
||||
(fetchpatch {
|
||||
name = "fix-build-with-python3.11.patch";
|
||||
url = "https://github.com/saghul/pyuv/commit/2a3d42d44c6315ebd73899a35118380d2d5979b5.patch";
|
||||
hash = "sha256-CQZexd6EjadCB7KyxeZKM24zrD9rXuNv4oA+Tb2nsdw=";
|
||||
})
|
||||
];
|
||||
|
||||
setupPyBuildFlags = [ "--use-system-libuv" ];
|
||||
|
Loading…
Reference in New Issue
Block a user