python3Packages.xeddsa: 1.1.0 -> 1.1.1; python3Packages.x3dh: 1.1.0 -> 1.2.0 (#424396)

This commit is contained in:
Weijia Wang 2025-07-16 16:24:42 +02:00 committed by GitHub
commit 1f2103d6b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 9 deletions

View File

@ -9,17 +9,18 @@
typing-extensions,
pytestCheckHook,
pytest-asyncio,
pytest-cov-stub,
}:
buildPythonPackage rec {
pname = "x3dh";
version = "1.1.0";
version = "1.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "Syndace";
repo = "python-x3dh";
tag = "v${version}";
hash = "sha256-/hC1Kze4yBOlgbWJcGddcYty9fqwZ08Lyi0IiqSDibI=";
hash = "sha256-NLuFfkutFtNrpBcLA/83QArCDrlrT+i85s2d6FHtuT0=";
};
strictDeps = true;
@ -38,6 +39,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
pytestCheckHook
pytest-asyncio
pytest-cov-stub
];
pythonImportsCheck = [ "x3dh" ];

View File

@ -7,26 +7,22 @@
libsodium,
libxeddsa,
pytestCheckHook,
pytest-cov-stub,
nix-update-script,
}:
buildPythonPackage rec {
pname = "xeddsa";
version = "1.1.0";
version = "1.1.1";
pyproject = true;
src = fetchFromGitHub {
owner = "Syndace";
repo = "python-xeddsa";
tag = "v${version}";
hash = "sha256-636zsJXD8EtLDXMIkJTON0g3sg0EPrMzcfR7SUrURac=";
hash = "sha256-5s6ERazWnwYEc0d5e+eSdvOCTklBQVrjzvlNifC2zKU=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "setuptools<74" "setuptools"
'';
passthru.updateScript = nix-update-script { };
build-system = [ setuptools ];
@ -40,6 +36,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
pythonImportsCheck = [ "xeddsa" ];