mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 00:54:11 +00:00
libqmatrixclient: init at 0.5.1.2
This commit is contained in:
parent
acbdaa569f
commit
734eba699c
|
@ -1,26 +1,32 @@
|
|||
{ stdenv, fetchFromGitHub, cmake
|
||||
, qtbase }:
|
||||
, qtbase, qtmultimedia }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libqmatrixclient-${version}";
|
||||
version = "0.4.2.1";
|
||||
let
|
||||
generic = version: sha256: prefix: stdenv.mkDerivation rec {
|
||||
name = "libqmatrixclient-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "QMatrixClient";
|
||||
repo = "libqmatrixclient";
|
||||
rev = "v${version}";
|
||||
sha256 = "056hvp2m74wx72yd8vai18siddj9l8bhrvrkc4ia4cwjsqw02kid";
|
||||
src = fetchFromGitHub {
|
||||
owner = "QMatrixClient";
|
||||
repo = "libqmatrixclient";
|
||||
rev = "${prefix}${version}";
|
||||
inherit sha256;
|
||||
};
|
||||
|
||||
buildInputs = [ qtbase qtmultimedia ];
|
||||
|
||||
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;
|
||||
maintainers = with maintainers; [ peterhoeg ];
|
||||
};
|
||||
};
|
||||
|
||||
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;
|
||||
maintainers = with maintainers; [ peterhoeg ];
|
||||
};
|
||||
in rec {
|
||||
libqmatrixclient_0_4 = generic "0.4.2.1" "056hvp2m74wx72yd8vai18siddj9l8bhrvrkc4ia4cwjsqw02kid" "v";
|
||||
libqmatrixclient_0_5 = generic "0.5.1.2" "0vvpm1vlqfvhgfvavifrj4998g8v33hp5xjf0n8zfsmg4lxlnfg1" "";
|
||||
libqmatrixclient = libqmatrixclient_0_4;
|
||||
}
|
||||
|
|
|
@ -987,7 +987,10 @@ in
|
|||
charles4
|
||||
;
|
||||
|
||||
libqmatrixclient = libsForQt5.callPackage ../development/libraries/libqmatrixclient { };
|
||||
inherit (libsForQt5.callPackage ../development/libraries/libqmatrixclient { })
|
||||
libqmatrixclient_0_4
|
||||
libqmatrixclient_0_5
|
||||
libqmatrixclient;
|
||||
|
||||
quaternion = libsForQt5.callPackage ../applications/networking/instant-messengers/quaternion { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue