python312Packages.x3dh: init at 1.1.0 (#404210)
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
xeddsa,
|
||||
cryptography,
|
||||
pydantic,
|
||||
typing-extensions,
|
||||
pytestCheckHook,
|
||||
pytest-asyncio,
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "x3dh";
|
||||
version = "1.1.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Syndace";
|
||||
repo = "python-x3dh";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-/hC1Kze4yBOlgbWJcGddcYty9fqwZ08Lyi0IiqSDibI=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
xeddsa
|
||||
cryptography
|
||||
pydantic
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-asyncio
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "x3dh" ];
|
||||
|
||||
meta = {
|
||||
description = "Python Implementation of the Extended Triple Diffie-Hellman key Agreement Protocol";
|
||||
homepage = "https://github.com/Syndace/python-x3dh";
|
||||
changelog = "https://github.com/Syndace/python-x3dh/blob/v${version}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
teams = with lib.teams; [ ngi ];
|
||||
maintainers = with lib.maintainers; [ ];
|
||||
};
|
||||
}
|
||||
@@ -19106,6 +19106,8 @@ self: super: with self; {
|
||||
|
||||
x256 = callPackage ../development/python-modules/x256 { };
|
||||
|
||||
x3dh = callPackage ../development/python-modules/x3dh { };
|
||||
|
||||
x690 = callPackage ../development/python-modules/x690 { };
|
||||
|
||||
xapian = callPackage ../development/python-modules/xapian { inherit (pkgs) xapian; };
|
||||
|
||||
Reference in New Issue
Block a user