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

View File

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