3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/olm/default.nix
2020-11-03 20:51:51 +00:00

23 lines
588 B
Nix

{ stdenv, fetchurl, cmake }:
stdenv.mkDerivation rec {
pname = "olm";
version = "3.2.1";
src = fetchurl {
url = "https://matrix.org/git/olm/-/archive/${version}/${pname}-${version}.tar.gz";
sha256 = "0iacbi9iibhzifh1bk6bi5xin557lvqmbf4ccsb8drj50dbxjiyr";
};
nativeBuildInputs = [ cmake ];
doCheck = true;
meta = {
description = "Implements double cryptographic ratchet and Megolm ratchet";
license = stdenv.lib.licenses.asl20;
homepage = "https://gitlab.matrix.org/matrix-org/olm";
platforms = with stdenv.lib.platforms; darwin ++ linux;
};
}