nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

Merge pull request #76767 from dtzWill/update/spectral-2019-12-23

spectral: unstable 2019-08-30 -> 817, olm: cmake+clean

authored by

Will Dietz and committed by
GitHub
3bf9cc31 d6430f3f

+11 -21
+8 -10
pkgs/applications/networking/instant-messengers/spectral/default.nix
··· 7 7 , qtgraphicaleffects 8 8 , qtdeclarative 9 9 , qtmacextras 10 - , olm, cmark 10 + , olm, libsecret, cmark 11 11 }: 12 12 13 13 let qtkeychain-qt5 = qtkeychain.override { 14 14 inherit qtbase qttools; 15 15 withQt5 = true; 16 16 }; 17 - in stdenv.mkDerivation { 17 + in stdenv.mkDerivation rec { 18 18 pname = "spectral"; 19 - version = "unstable-2019-08-30"; 19 + version = "817"; 20 20 21 21 src = fetchgit { 22 - url = "https://gitlab.com/b0/spectral.git"; 23 - rev = "ee86c948aec5fe72979fc6df97f4a6ef711bdf94"; 24 - sha256 = "1mqabdkvzq48wki92wm2r79kj8g8m7ganpl47sh60qfsk4bxa8b2"; 22 + url = "https://gitlab.com/spectral-im/spectral.git"; 23 + rev = version; 24 + sha256 = "0lg0bkz621cmqb67kz1zmn4xwbspcqalz68byll5iszqz9y4gnp1"; 25 25 fetchSubmodules = true; 26 26 }; 27 27 28 - #qmakeFlags = [ "CONFIG+=qtquickcompiler" "BUNDLE_FONT=true" ]; 29 - 30 28 nativeBuildInputs = [ pkgconfig cmake wrapQtAppsHook ]; 31 - buildInputs = [ qtbase qtkeychain-qt5 qtquickcontrols2 qtmultimedia qtgraphicaleffects qtdeclarative olm cmark ] 29 + buildInputs = [ qtbase qtkeychain-qt5 qtquickcontrols2 qtmultimedia qtgraphicaleffects qtdeclarative olm libsecret cmark ] 32 30 ++ stdenv.lib.optional stdenv.hostPlatform.isLinux libpulseaudio 33 31 ++ stdenv.lib.optional stdenv.hostPlatform.isDarwin qtmacextras; 34 32 35 33 meta = with stdenv.lib; { 36 34 description = "A glossy cross-platform Matrix client."; 37 - homepage = "https://gitlab.com/b0/spectral"; 35 + homepage = "https://spectral.im"; 38 36 license = licenses.gpl3; 39 37 platforms = with platforms; linux ++ darwin; 40 38 maintainers = with maintainers; [ dtzWill ];
+3 -11
pkgs/development/libraries/olm/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { stdenv, fetchurl, cmake }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "olm"; ··· 9 9 sha256 = "0f7azjxc77n4ib9nj3cwyk3vhk8r2dsyf7id6nvqyxqxwxn95a8w"; 10 10 }; 11 11 12 + nativeBuildInputs = [ cmake ]; 13 + 12 14 doCheck = true; 13 - checkTarget = "test"; 14 - 15 - # requires optimisation but memory operations are compiled with -O0 16 - hardeningDisable = ["fortify"]; 17 - 18 - makeFlags = stdenv.lib.optional stdenv.cc.isClang "CC=cc"; 19 - 20 - installFlags = [ 21 - "PREFIX=${placeholder ''out''}" 22 - ]; 23 15 24 16 meta = { 25 17 description = "Implements double cryptographic ratchet and Megolm ratchet";