mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
23 lines
579 B
Nix
23 lines
579 B
Nix
{ lib, 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 = lib.licenses.asl20;
|
|
homepage = "https://gitlab.matrix.org/matrix-org/olm";
|
|
platforms = with lib.platforms; darwin ++ linux;
|
|
};
|
|
}
|