https://gitlab.matrix.org/matrix-org/olm/-/releases/3.2.12
This version bump introduces Python code which is no longer compatible
with Python 2 in [0]. Thus, python-olm was limited to Python 3.
[0] 86a3d95855
26 lines
609 B
Nix
26 lines
609 B
Nix
{ lib, stdenv, fetchFromGitLab, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "olm";
|
|
version = "3.2.12";
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "gitlab.matrix.org";
|
|
owner = "matrix-org";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-EvqQvg7khsJ2OrcoHBImd9fTgjA65pVRqbJuMV5MG80=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
description = "Implements double cryptographic ratchet and Megolm ratchet";
|
|
homepage = "https://gitlab.matrix.org/matrix-org/olm";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ tilpner oxzi ];
|
|
};
|
|
}
|