@@ -1,40 +1,26 @@
11{ stdenv, fetchFromGitHub, cmake
22, qtbase }:
33
4−# This doesn't actually do anything really yet as it doesn't support dynamic building
5−# When it does, quaternion and tensor should use it
6−
74stdenv.mkDerivation rec {
85 name = "libqmatrixclient-${version}";
9− version = "0.2";
6+ version = "0.2.1";
107
118 src = fetchFromGitHub {
129 owner = "QMatrixClient";
1310 repo = "libqmatrixclient";
14− rev = "v${version}-q0.0.5";
15− sha256 = "1m53yxsqjxv2jq0h1xipwsgaj5rca4fk4cl3azgvmf19l9yn00ck";
11+ rev = "v${version}";
12+ sha256 = "0sv5hhdsffq7092n6hggfz9a78qn3jfmbvw2flmc4ippzz563akv";
1613 };
1714
1815 buildInputs = [ qtbase ];
1916
2017 nativeBuildInputs = [ cmake ];
2118
22− enableParallelBuilding = true;
23−
24− installPhase = ''
25− runHook preInstall
26−
27− install -Dm644 -t $out/lib *.a
28−
29− runHook postInstall
30− '';
31−
3219 meta = with stdenv.lib; {
3320 description= "A Qt5 library to write cross-platfrom clients for Matrix";
3421 homepage = https://matrix.org/docs/projects/sdk/libqmatrixclient.html;
3522 license = licenses.lgpl21;
3623 platforms = platforms.linux;
3724 maintainers = with maintainers; [ peterhoeg ];
38− hydraPlatforms = [ ];
3925 };
4026}