Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Libervia-backend #325

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open
Prev Previous commit
Next Next commit
oldmemo: init at 1.0.4
  • Loading branch information
OPNA2608 authored and wegank committed Sep 11, 2024
commit 0ec9b1b38260787d0dbba470202cb8e864db46eb
47 changes: 47 additions & 0 deletions pkgs/by-name/oldmemo/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
python3Packages,
lib,
fetchFromGitHub,
doubleratchet,
omemo,
x3dh,
}:
python3Packages.buildPythonPackage rec {
pname = "oldmemo";
version = "1.0.4";
pyproject = true;

src = fetchFromGitHub {
owner = "Syndace";
repo = "python-oldmemo";
rev = "refs/tags/v${version}";
hash = "sha256-OR7VDkzwTMWOFpeJayY1DpH6yjOeCYm2Kf9MNQoRcXY=";
};

strictDeps = true;

nativeBuildInputs = with python3Packages; [setuptools];

propagatedBuildInputs =
[
doubleratchet
omemo
x3dh
]
++ (with python3Packages; [
cryptography
protobuf
]);

pythonImportsCheck = [
"oldmemo"
];

meta = {
description = "Backend implementation of the eu.siacs.conversations.axolotl namespace for python-omemo";
homepage = "https://github.com/Syndace/python-oldmemo";
changelog = "https://github.com/Syndace/python-oldmemo/blob/v${version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = [];
};
}