2021-02-24 19:01:39 +01:00
|
|
|
{ lib, stdenv, fetchFromGitLab, cmake }:
|
2017-02-09 20:27:13 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "olm";
|
2021-06-10 22:05:03 +02:00
|
|
|
version = "3.2.4";
|
2017-02-09 20:27:13 +01:00
|
|
|
|
2021-02-24 19:01:39 +01:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.matrix.org";
|
|
|
|
owner = "matrix-org";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-06-10 22:05:03 +02:00
|
|
|
sha256 = "1rl7j26li1irb1lqnnkzan7jrj38kvmdn69rlwbbp390v3z15lvh";
|
2017-02-09 20:27:13 +01:00
|
|
|
};
|
|
|
|
|
2020-01-08 00:01:53 +01:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2018-05-28 11:09:25 +02:00
|
|
|
|
2020-01-08 00:01:53 +01:00
|
|
|
doCheck = true;
|
2019-11-15 15:18:15 +01:00
|
|
|
|
2021-02-24 19:01:39 +01:00
|
|
|
meta = with lib; {
|
2019-11-15 15:18:15 +01:00
|
|
|
description = "Implements double cryptographic ratchet and Megolm ratchet";
|
2020-06-17 11:15:49 +02:00
|
|
|
homepage = "https://gitlab.matrix.org/matrix-org/olm";
|
2021-02-24 19:01:39 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ tilpner oxzi ];
|
2019-11-15 15:18:15 +01:00
|
|
|
};
|
2017-02-09 20:27:13 +01:00
|
|
|
}
|