mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
Merge pull request #329671 from ghpzin/python312-etebase-fix-build
python3Packages.etebase: 0.31.6 -> 0.31.7, fix build with Python 3.12
This commit is contained in:
commit
2f8754457b
@ -12,23 +12,39 @@
|
||||
openssl,
|
||||
Security,
|
||||
msgpack,
|
||||
fetchpatch,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "etebase";
|
||||
version = "0.31.6";
|
||||
version = "0.31.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "etesync";
|
||||
repo = "etebase-py";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-T61nPW3wjBRjmJ81w59T1b/Kxrwwqvyj3gILE9OF/5Q=";
|
||||
hash = "sha256-ZNUUp/0fGJxL/Rt8sAZ864rg8uCcNybIYSk4POt0vqg=";
|
||||
};
|
||||
|
||||
# https://github.com/etesync/etebase-py/pull/54
|
||||
patches = [
|
||||
# fix python 3.12 build
|
||||
(fetchpatch {
|
||||
url = "https://github.com/etesync/etebase-py/commit/898eb3aca1d4eb30d4aeae15e35d0bc45dd7b3c8.patch";
|
||||
hash = "sha256-0BDUTztiC4MiwwNEDFtfc5ruc69Qk+svepQZRixNJgA=";
|
||||
})
|
||||
# replace flapigen git dependency in Cargo.lock
|
||||
(fetchpatch {
|
||||
url = "https://github.com/etesync/etebase-py/commit/7e9e4244a144dd46383d8be950d3df79e28eb069.patch";
|
||||
hash = "sha256-8EH8Sc3UnmuCrSwDf3+as218HiG2Ed3r+FCMrUi5YrI=";
|
||||
})
|
||||
];
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
inherit src;
|
||||
name = "${pname}-${version}";
|
||||
hash = "sha256-wrMNtcaLAsWBVeJbYbYo+Xmobl01lnUbR9NUqqUzUgU=";
|
||||
hash = "sha256-We19laZd6b2fLSPNLegyNp0eQSeCvUJeTIXqvG7o08c=";
|
||||
inherit patches;
|
||||
};
|
||||
|
||||
format = "pyproject";
|
||||
|
Loading…
Reference in New Issue
Block a user