quaternion: 0.0.5 -> 0.0.9
This commit is contained in:
parent
9786bd06a6
commit
dbcdcb63d8
@ -2,24 +2,21 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "quaternion-${version}";
|
name = "quaternion-${version}";
|
||||||
version = "0.0.5";
|
version = "0.0.9";
|
||||||
|
|
||||||
# libqmatrixclient doesn't support dynamic linking as of 0.2 so we simply pull in the source
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "QMatrixClient";
|
owner = "QMatrixClient";
|
||||||
repo = "Quaternion";
|
repo = "Quaternion";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "14xmaq446aggqhpcilahrw2mr5gf2mlr1xzyp7r6amrnmnqsyxrd";
|
sha256 = "0zdpll953a7biwnklhgmgg3k2vz7j58lc1nmfkmvsfcj1fmdf408";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ qtbase qtquickcontrols libqmatrixclient ];
|
buildInputs = [ qtbase qtquickcontrols libqmatrixclient ];
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
# libqmatrixclient is now compiled as a dynamic library but quarternion cannot use it yet
|
||||||
|
# https://github.com/QMatrixClient/Quaternion/issues/239
|
||||||
# take the source from libqmatrixclient
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
rm -rf lib
|
rm -rf lib
|
||||||
ln -s ${libqmatrixclient.src} lib
|
ln -s ${libqmatrixclient.src} lib
|
||||||
|
Loading…
x
Reference in New Issue
Block a user