anchor.diff:        inherit sha256;
       };
   
  -    buildInputs = [ qtbase qtmultimedia qtquickcontrols qtkeychain qttools library ];
  +    buildInputs = [ qtbase qtmultimedia qtquickcontrols qtkeychain library ];
   
  -    nativeBuildInputs = [ cmake ];
  +    nativeBuildInputs = [ cmake qttools ];
   
       postInstall = if stdenv.isDarwin then ''
         mkdir -p $out/Applications
  
positive.code: { stdenv, lib, fetchFromGitHub, cmake
  , qtbase, qtquickcontrols, qtkeychain, qtmultimedia, qttools
  , libqmatrixclient_0_5 }:
  
  let
    generic = version: sha256: prefix: library: stdenv.mkDerivation rec {
      name = "quaternion-${version}";
  
      src = fetchFromGitHub {
        owner = "QMatrixClient";
  
negative.code: 
      meta = with lib; {
        description = "Cross-platform desktop IM client for the Matrix protocol";
        homepage    = "https://matrix.org/docs/projects/client/quaternion.html";
        license     = licenses.gpl3;
        maintainers = with maintainers; [ peterhoeg ];
        inherit (qtbase.meta) platforms;
  