Unverified Commit 1f2103d6 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

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

parents f201b8f4 d37715ad
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -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" ];
+4 −7
Original line number Diff line number Diff line
@@ -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" ];