2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchurl, cmake }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "olm";
|
2020-07-18 16:06:22 +00:00
|
|
|
version = "3.1.5";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://matrix.org/git/olm/-/archive/${version}/${pname}-${version}.tar.gz";
|
2020-07-18 16:06:22 +00:00
|
|
|
sha256 = "15l6cf029ghfk5bf8ii6nyy86gc90ji8n5hspjhj1xmzmk61xb4j";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Implements double cryptographic ratchet and Megolm ratchet";
|
|
|
|
license = stdenv.lib.licenses.asl20;
|
2020-06-18 07:06:33 +00:00
|
|
|
homepage = "https://gitlab.matrix.org/matrix-org/olm";
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = with stdenv.lib.platforms; darwin ++ linux;
|
|
|
|
};
|
|
|
|
}
|