2017-11-26 16:31:44 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake
|
|
|
|
, qtbase }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libqmatrixclient-${version}";
|
2018-10-28 02:13:39 +02:00
|
|
|
version = "0.4.0";
|
2017-11-26 16:31:44 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "QMatrixClient";
|
|
|
|
repo = "libqmatrixclient";
|
2018-04-30 11:22:01 +02:00
|
|
|
rev = "v${version}";
|
2018-10-28 02:13:39 +02:00
|
|
|
sha256 = "1llzqjagvp91kcg26q5c4qw9aaz7wna3rh6k06rc3baivrjqf3cn";
|
2017-11-26 16:31:44 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ qtbase ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description= "A Qt5 library to write cross-platfrom clients for Matrix";
|
|
|
|
homepage = https://matrix.org/docs/projects/sdk/libqmatrixclient.html;
|
|
|
|
license = licenses.lgpl21;
|
2018-08-18 05:44:56 +02:00
|
|
|
platforms = with platforms; linux ++ darwin;
|
2017-11-26 16:31:44 +01:00
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
};
|
|
|
|
}
|