matrique: init at 250

This commit is contained in:
Franz Pletz 2018-09-15 15:20:14 +02:00
parent 16ce28ed72
commit d79e201851
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4
2 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,55 @@
{ stdenv, fetchFromGitLab, fetchFromGitHub, qmake
, qtquickcontrols2, qtmultimedia, qtgraphicaleffects
, libqmatrixclient
}:
let
libqmatrixclient_git = libqmatrixclient.overrideDerivation (oldAttrs: {
name = "libqmatrixclient-git-for-matrique";
src = fetchFromGitHub {
owner = "QMatrixClient";
repo = "libqmatrixclient";
rev = "d9ff200f";
sha256 = "0qxkffg1499wnn8rbndq6z51sz6hiij2pkp40cvs530sl0zg0c69";
};
});
SortFilterProxyModel = fetchFromGitLab {
owner = "b0";
repo = "SortFilterProxyModel";
rev = "3c2c125c";
sha256 = "1494dvq7kiq0ymf5f9hr47pw80zv3m3dncnaw1pnzs7mhkf2s5fr";
};
in stdenv.mkDerivation rec {
name = "matrique-${version}";
version = "250";
src = fetchFromGitLab {
owner = "b0";
repo = "matrique";
rev = version;
sha256 = "0l7ag2q3l8ixczwc43igvkkl81g5s5j032gzizmgpzb1bjpdgry7";
};
postPatch = ''
rm -r include/*
ln -sf ${libqmatrixclient_git.src} include/libqmatrixclient
ln -sf ${SortFilterProxyModel} include/SortFilterProxyModel
'';
nativeBuildInputs = [ qmake ];
buildInputs = [
qtquickcontrols2 qtmultimedia qtgraphicaleffects
libqmatrixclient_git
];
meta = with stdenv.lib; {
inherit (src.meta) homepage;
description = "A glossy client for Matrix";
maintainers = with maintainers; [ fpletz ];
license = licenses.gpl3;
platforms = platforms.linux;
};
}

View File

@ -17664,6 +17664,8 @@ with pkgs;
mm = callPackage ../applications/networking/instant-messengers/mm { };
matrique = libsForQt5.callPackage ../applications/networking/instant-messengers/matrique { };
mpc-qt = libsForQt5.callPackage ../applications/video/mpc-qt { };
mplayer = callPackage ../applications/video/mplayer ({