2020-01-07 15:01:53 -08:00
|
|
|
{ stdenv, fetchurl, cmake }:
|
2017-02-09 11:27:13 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "olm";
|
2019-11-15 06:18:15 -08:00
|
|
|
version = "3.1.4";
|
2017-02-09 11:27:13 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-11-15 06:18:15 -08:00
|
|
|
url = "https://matrix.org/git/olm/-/archive/${version}/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "0f7azjxc77n4ib9nj3cwyk3vhk8r2dsyf7id6nvqyxqxwxn95a8w";
|
2017-02-09 11:27:13 -08:00
|
|
|
};
|
|
|
|
|
2020-01-07 15:01:53 -08:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2018-05-28 02:09:25 -07:00
|
|
|
|
2020-01-07 15:01:53 -08:00
|
|
|
doCheck = true;
|
2019-11-15 06:18:15 -08:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Implements double cryptographic ratchet and Megolm ratchet";
|
|
|
|
license = stdenv.lib.licenses.asl20;
|
|
|
|
homepage = https://matrix.org/git/olm/about;
|
|
|
|
platforms = with stdenv.lib.platforms; darwin ++ linux;
|
|
|
|
};
|
2017-02-09 11:27:13 -08:00
|
|
|
}
|