python312Packages.doubleratchet: init at 1.1.0

This commit is contained in:
Alexander
2025-05-12 12:41:25 +02:00
committed by Valentin Gagarin
parent b36f098cfb
commit 59fe36a174
2 changed files with 54 additions and 0 deletions
@@ -0,0 +1,52 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
cryptography,
pydantic,
typing-extensions,
pytestCheckHook,
pytest-asyncio,
}:
buildPythonPackage rec {
pname = "doubleratchet";
version = "1.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "Syndace";
repo = "python-doubleratchet";
tag = "v${version}";
hash = "sha256-yoph3u7LjGjSPi1hFlXzWmSNkCXvY/ocTt2MKa+F1fs=";
};
strictDeps = true;
build-system = [
setuptools
];
dependencies = [
cryptography
pydantic
typing-extensions
];
nativeCheckInputs = [
pytestCheckHook
pytest-asyncio
];
pythonImportsCheck = [ "doubleratchet" ];
meta = {
description = "Python implementation of the Double Ratchet algorithm";
homepage = "https://github.com/Syndace/python-doubleratchet";
changelog = "https://github.com/Syndace/python-doubleratchet/blob/v${version}/CHANGELOG.md";
license = lib.licenses.mit;
teams = with lib.teams; [ ngi ];
maintainers = with lib.maintainers; [ axler1 ];
};
}
+2
View File
@@ -4129,6 +4129,8 @@ self: super: with self; {
dotwiz = callPackage ../development/python-modules/dotwiz { };
doubleratchet = callPackage ../development/python-modules/doubleratchet { };
downloader-cli = callPackage ../development/python-modules/downloader-cli { };
dparse = callPackage ../development/python-modules/dparse { };