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

27 lines
709 B
Nix
Raw Normal View History

2017-11-26 15:31:44 +00:00
{ stdenv, fetchFromGitHub, cmake
, qtbase }:
stdenv.mkDerivation rec {
name = "libqmatrixclient-${version}";
2018-07-12 18:33:36 +01:00
version = "0.3.0.2";
2017-11-26 15:31:44 +00:00
src = fetchFromGitHub {
owner = "QMatrixClient";
repo = "libqmatrixclient";
2018-04-30 10:22:01 +01:00
rev = "v${version}";
2018-07-12 18:33:36 +01:00
sha256 = "03pxmr4wa818fgqddkr2fkwz6pda538x3ic9yq7c40x98zqf55w5";
2017-11-26 15:31:44 +00: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;
platforms = with platforms; linux ++ darwin;
2017-11-26 15:31:44 +00:00
maintainers = with maintainers; [ peterhoeg ];
};
}