anchor.diff: -{ stdenv, lib, fetchFromGitHub, cmake
  +{ mkDerivation, stdenv, lib, fetchFromGitHub, cmake
   , qtbase, qtquickcontrols, qtkeychain, qtmultimedia, qttools
   , libqmatrixclient_0_5 }:
   
   let
  -  generic = version: sha256: prefix: library: stdenv.mkDerivation rec {
  -    name = "quaternion-${version}";
  +  generic = version: sha256: prefix: library: mkDerivation rec {
  +    pname = "quaternion";
  +    inherit version;
   
       src = fetchFromGitHub {
         owner = "QMatrixClient";
  
positive.code:       inherit sha256;
      };
  
      buildInputs = [ qtbase qtmultimedia qtquickcontrols qtkeychain qttools library ];
  
      nativeBuildInputs = [ cmake ];
  
      postInstall = if stdenv.isDarwin then ''
        mkdir -p $out/Applications
  
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;
  