3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/olm/default.nix

23 lines
588 B
Nix
Raw Normal View History

{ stdenv, fetchurl, cmake }:
2017-02-09 19:27:13 +00:00
stdenv.mkDerivation rec {
pname = "olm";
2020-06-16 23:43:15 +01:00
version = "3.1.5";
2017-02-09 19:27:13 +00:00
src = fetchurl {
2019-11-15 14:18:15 +00:00
url = "https://matrix.org/git/olm/-/archive/${version}/${pname}-${version}.tar.gz";
2020-06-16 23:43:15 +01:00
sha256 = "15l6cf029ghfk5bf8ii6nyy86gc90ji8n5hspjhj1xmzmk61xb4j";
2017-02-09 19:27:13 +00:00
};
nativeBuildInputs = [ cmake ];
doCheck = true;
2019-11-15 14:18:15 +00:00
meta = {
description = "Implements double cryptographic ratchet and Megolm ratchet";
license = stdenv.lib.licenses.asl20;
2020-06-17 10:15:49 +01:00
homepage = "https://gitlab.matrix.org/matrix-org/olm";
2019-11-15 14:18:15 +00:00
platforms = with stdenv.lib.platforms; darwin ++ linux;
};
2017-02-09 19:27:13 +00:00
}