git.iko.soy/typeable/nixpkgs
on master help sign in
quaternion: 0.0.5 -> 0.0.9
dbcdcb6Peter Hoeg
pkgs/applications/networking/instant-messengers/quaternion/default.nix+4−7
@@ -2,24 +2,21 @@
2
2
3stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
4 name = "quaternion-${version}";
4 name = "quaternion-${version}";
5− version = "0.0.5";
5+ version = "0.0.9";
6−
7− # libqmatrixclient doesn't support dynamic linking as of 0.2 so we simply pull in the source
8
6
9 src = fetchFromGitHub {
7 src = fetchFromGitHub {
10 owner = "QMatrixClient";
8 owner = "QMatrixClient";
11 repo = "Quaternion";
9 repo = "Quaternion";
12 rev = "v${version}";
10 rev = "v${version}";
13− sha256 = "14xmaq446aggqhpcilahrw2mr5gf2mlr1xzyp7r6amrnmnqsyxrd";
11+ sha256 = "0zdpll953a7biwnklhgmgg3k2vz7j58lc1nmfkmvsfcj1fmdf408";
14 };
12 };
15
13
16 buildInputs = [ qtbase qtquickcontrols libqmatrixclient ];
14 buildInputs = [ qtbase qtquickcontrols libqmatrixclient ];
17
15
18 nativeBuildInputs = [ cmake ];
16 nativeBuildInputs = [ cmake ];
19
17
20− enableParallelBuilding = true;
18+ # libqmatrixclient is now compiled as a dynamic library but quarternion cannot use it yet
21−
19+ # https://github.com/QMatrixClient/Quaternion/issues/239
22− # take the source from libqmatrixclient
23 postPatch = ''
20 postPatch = ''
24 rm -rf lib
21 rm -rf lib
25 ln -s ${libqmatrixclient.src} lib
22 ln -s ${libqmatrixclient.src} lib