Merge pull request #59256 from peterhoeg/u/quaternion
quaternion-git: init at 0.0.9.4-rc3
This commit is contained in:
commit
78bcc59d59
4 changed files with 71 additions and 108 deletions
|
@ -1,55 +0,0 @@
|
|||
{ 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;
|
||||
};
|
||||
}
|
|
@ -1,18 +1,19 @@
|
|||
{ stdenv, lib, fetchFromGitHub, qtbase, qtquickcontrols, cmake
|
||||
, qttools, libqmatrixclient }:
|
||||
, qttools, qtmultimedia
|
||||
, libqmatrixclient_0_4, libqmatrixclient_0_5 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
let
|
||||
generic = version: sha256: prefix: library: stdenv.mkDerivation rec {
|
||||
name = "quaternion-${version}";
|
||||
version = "0.0.9.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "QMatrixClient";
|
||||
repo = "Quaternion";
|
||||
rev = "v${version}";
|
||||
sha256 = "1hr9zqf301rg583n9jv256vzj7y57d8qgayk7c723bfknf1s6hh3";
|
||||
rev = "${prefix}${version}";
|
||||
inherit sha256;
|
||||
};
|
||||
|
||||
buildInputs = [ qtbase qtquickcontrols qttools libqmatrixclient ];
|
||||
buildInputs = [ qtbase qtmultimedia qtquickcontrols qttools library ];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
|
@ -33,4 +34,9 @@ stdenv.mkDerivation rec {
|
|||
inherit (qtbase.meta) platforms;
|
||||
inherit version;
|
||||
};
|
||||
};
|
||||
|
||||
in rec {
|
||||
quaternion = generic "0.0.9.3" "1hr9zqf301rg583n9jv256vzj7y57d8qgayk7c723bfknf1s6hh3" "v" libqmatrixclient_0_4;
|
||||
quaternion-git = generic "0.0.9.4-rc3" "1fc3ya9fr3zw1cx7565s2rswzry98avslrryvdi0qa9yn0m3sw7p" "" libqmatrixclient_0_5;
|
||||
}
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
{ stdenv, fetchFromGitHub, cmake
|
||||
, qtbase }:
|
||||
, qtbase, qtmultimedia }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
let
|
||||
generic = version: sha256: prefix: stdenv.mkDerivation rec {
|
||||
name = "libqmatrixclient-${version}";
|
||||
version = "0.4.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "QMatrixClient";
|
||||
repo = "libqmatrixclient";
|
||||
rev = "v${version}";
|
||||
sha256 = "056hvp2m74wx72yd8vai18siddj9l8bhrvrkc4ia4cwjsqw02kid";
|
||||
rev = "${prefix}${version}";
|
||||
inherit sha256;
|
||||
};
|
||||
|
||||
buildInputs = [ qtbase ];
|
||||
buildInputs = [ qtbase qtmultimedia ];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
|
@ -23,4 +23,10 @@ stdenv.mkDerivation rec {
|
|||
platforms = with platforms; linux ++ darwin;
|
||||
maintainers = with maintainers; [ peterhoeg ];
|
||||
};
|
||||
};
|
||||
|
||||
in rec {
|
||||
libqmatrixclient_0_4 = generic "0.4.2.1" "056hvp2m74wx72yd8vai18siddj9l8bhrvrkc4ia4cwjsqw02kid" "v";
|
||||
libqmatrixclient_0_5 = generic "0.5.1.2" "0vvpm1vlqfvhgfvavifrj4998g8v33hp5xjf0n8zfsmg4lxlnfg1" "";
|
||||
libqmatrixclient = libqmatrixclient_0_4;
|
||||
}
|
||||
|
|
|
@ -1025,9 +1025,14 @@ in
|
|||
charles4
|
||||
;
|
||||
|
||||
libqmatrixclient = libsForQt5.callPackage ../development/libraries/libqmatrixclient { };
|
||||
inherit (libsForQt5.callPackage ../development/libraries/libqmatrixclient { })
|
||||
libqmatrixclient_0_4
|
||||
libqmatrixclient_0_5
|
||||
libqmatrixclient;
|
||||
|
||||
quaternion = libsForQt5.callPackage ../applications/networking/instant-messengers/quaternion { };
|
||||
inherit (libsForQt5.callPackage ../applications/networking/instant-messengers/quaternion { })
|
||||
quaternion
|
||||
quaternion-git;
|
||||
|
||||
tensor = libsForQt5.callPackage ../applications/networking/instant-messengers/tensor { };
|
||||
|
||||
|
@ -18809,7 +18814,8 @@ in
|
|||
|
||||
mm-common = callPackage ../development/libraries/mm-common { };
|
||||
|
||||
matrique = libsForQt5.callPackage ../applications/networking/instant-messengers/matrique { };
|
||||
# Renamed
|
||||
matrique = spectral;
|
||||
|
||||
mpc-qt = libsForQt5.callPackage ../applications/video/mpc-qt { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue