git.iko.soy/typeable/nixpkgs
on master help sign in
spectral: 2019-03-03 -> unstable-2019-08-15
commitbfb0ac357e3dec0a1e1e701d5b7bbaa57acbd0da authorCole Mickens <cole.mickens@gmail.com> dateWed 24 Jul 2019, 22:44 (7 years ago) parenta52c77f
1 file changed+16−25
pkgs/applications/networking/instant-messengers/spectral/default.nix+16−25
pkgs/applications/networking/instant-messengers/spectral/default.nix+16−25
@@ -1,49 +1,40 @@
11{ stdenv, fetchgit
2−, pkgconfig, makeWrapper
3−, qmake, qtbase, qtquickcontrols2, qtmultimedia
2+, pkgconfig, wrapQtAppsHook
3+, cmake
4+, qtbase, qttools, qtquickcontrols2, qtmultimedia, qtkeychain
45, libpulseaudio
56# Not mentioned but seems needed
67, qtgraphicaleffects
78, qtdeclarative
89, qtmacextras
10+, olm, cmark
911}:
1012
11−let
12− # Following "borrowed" from yubikey-manager-qt
13− qmlPath = qmlLib: "${qmlLib}/${qtbase.qtQmlPrefix}";
14−
15− inherit (stdenv) lib;
16−
17− qml2ImportPath = lib.concatMapStringsSep ":" qmlPath [
18− qtbase.bin qtdeclarative.bin qtquickcontrols2.bin qtgraphicaleffects qtmultimedia
19− ];
20−
13+let qtkeychain-qt5 = qtkeychain.override {
14+ inherit qtbase qttools;
15+ withQt5 = true;
16+};
2117in stdenv.mkDerivation {
2218 pname = "spectral";
23− version = "2019-03-03";
19+ version = "unstable-2019-08-30";
2420
2521 src = fetchgit {
2622 url = "https://gitlab.com/b0/spectral.git";
27− rev = "0473f25d38a064ee4e18203ec16eeae84fea4866";
28− sha256 = "1n09ginw6g0p42xj3zgxm52dvyyvj5psllv70vx21i50lvkbh9rw";
23+ rev = "ee86c948aec5fe72979fc6df97f4a6ef711bdf94";
24+ sha256 = "1mqabdkvzq48wki92wm2r79kj8g8m7ganpl47sh60qfsk4bxa8b2";
2925 fetchSubmodules = true;
3026 };
3127
32− qmakeFlags = [ "CONFIG+=qtquickcompiler" "BUNDLE_FONT=true" ];
33−
34− postInstall = ''
35− wrapProgram $out/bin/spectral \
36− --set QML2_IMPORT_PATH "${qml2ImportPath}"
37− '';
28+ #qmakeFlags = [ "CONFIG+=qtquickcompiler" "BUNDLE_FONT=true" ];
3829
39− nativeBuildInputs = [ pkgconfig qmake makeWrapper ];
40− buildInputs = [ qtbase qtquickcontrols2 qtmultimedia qtgraphicaleffects qtdeclarative ]
30+ nativeBuildInputs = [ pkgconfig cmake wrapQtAppsHook ];
31+ buildInputs = [ qtbase qtkeychain-qt5 qtquickcontrols2 qtmultimedia qtgraphicaleffects qtdeclarative olm cmark ]
4132 ++ stdenv.lib.optional stdenv.hostPlatform.isLinux libpulseaudio
4233 ++ stdenv.lib.optional stdenv.hostPlatform.isDarwin qtmacextras;
4334
4435 meta = with stdenv.lib; {
45− description = "A glossy client for Matrix, written in QtQuick Controls 2 and C++";
46− homepage = https://gitlab.com/b0/spectral;
36+ description = "A glossy cross-platform Matrix client.";
37+ homepage = "https://gitlab.com/b0/spectral";
4738 license = licenses.gpl3;
4839 platforms = with platforms; linux ++ darwin;
4940 maintainers = with maintainers; [ dtzWill ];