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