libqmatrixclient: 0.2 -> 0.2.1

This commit is contained in:
Peter Hoeg 2018-04-30 17:22:01 +08:00
parent 69d4bdc557
commit 9786bd06a6

View File

@ -1,40 +1,26 @@
{ stdenv, fetchFromGitHub, cmake { stdenv, fetchFromGitHub, cmake
, qtbase }: , qtbase }:
# This doesn't actually do anything really yet as it doesn't support dynamic building
# When it does, quaternion and tensor should use it
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "libqmatrixclient-${version}"; name = "libqmatrixclient-${version}";
version = "0.2"; version = "0.2.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "QMatrixClient"; owner = "QMatrixClient";
repo = "libqmatrixclient"; repo = "libqmatrixclient";
rev = "v${version}-q0.0.5"; rev = "v${version}";
sha256 = "1m53yxsqjxv2jq0h1xipwsgaj5rca4fk4cl3azgvmf19l9yn00ck"; sha256 = "0sv5hhdsffq7092n6hggfz9a78qn3jfmbvw2flmc4ippzz563akv";
}; };
buildInputs = [ qtbase ]; buildInputs = [ qtbase ];
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
enableParallelBuilding = true;
installPhase = ''
runHook preInstall
install -Dm644 -t $out/lib *.a
runHook postInstall
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description= "A Qt5 library to write cross-platfrom clients for Matrix"; description= "A Qt5 library to write cross-platfrom clients for Matrix";
homepage = https://matrix.org/docs/projects/sdk/libqmatrixclient.html; homepage = https://matrix.org/docs/projects/sdk/libqmatrixclient.html;
license = licenses.lgpl21; license = licenses.lgpl21;
platforms = platforms.linux; platforms = platforms.linux;
maintainers = with maintainers; [ peterhoeg ]; maintainers = with maintainers; [ peterhoeg ];
hydraPlatforms = [ ];
}; };
} }