nixpkgs/pkgs/development/libraries/olm/default.nix

26 lines
609 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitLab, cmake }:
2017-02-09 11:27:13 -08:00
stdenv.mkDerivation rec {
pname = "olm";
version = "3.2.4";
2017-02-09 11:27:13 -08:00
src = fetchFromGitLab {
domain = "gitlab.matrix.org";
owner = "matrix-org";
repo = pname;
rev = version;
sha256 = "1rl7j26li1irb1lqnnkzan7jrj38kvmdn69rlwbbp390v3z15lvh";
2017-02-09 11:27:13 -08:00
};
nativeBuildInputs = [ cmake ];
doCheck = true;
2019-11-15 06:18:15 -08:00
meta = with lib; {
2019-11-15 06:18:15 -08:00
description = "Implements double cryptographic ratchet and Megolm ratchet";
2020-06-17 02:15:49 -07:00
homepage = "https://gitlab.matrix.org/matrix-org/olm";
license = licenses.asl20;
maintainers = with maintainers; [ tilpner oxzi ];
2019-11-15 06:18:15 -08:00
};
2017-02-09 11:27:13 -08:00
}