libquotient: rename from libqmatrixclient; v0.5.2 -> v0.5.3.2

aliases: throw messages for libqmatrixclient and quaternion-git
This commit is contained in:
Cole Mickens 2020-04-09 18:38:20 -07:00
parent 712026ead1
commit c15f5903d7
No known key found for this signature in database
GPG key ID: B475C2955744A019
4 changed files with 27 additions and 42 deletions

View file

@ -1,38 +0,0 @@
{ stdenv, fetchFromGitHub, cmake
, qtbase, qtmultimedia }:
let
generic = version: sha256: prefix: stdenv.mkDerivation {
pname = "libqmatrixclient";
inherit version;
src = fetchFromGitHub {
owner = "QMatrixClient";
repo = "libqmatrixclient";
rev = "${prefix}${version}";
inherit sha256;
};
postPatch = ''
sed -i -e '/example/Id' CMakeLists.txt
'';
buildInputs = [ qtbase qtmultimedia ];
nativeBuildInputs = [ cmake ];
meta = with stdenv.lib; {
description= "A Qt5 library to write cross-platfrom clients for Matrix";
homepage = "https://matrix.org/docs/projects/sdk/libqmatrixclient.html";
license = licenses.lgpl21;
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.2" "1bhlqfs7251fss4icx794ka614npr6zyrpp4qwc4q5408ykfm7lr" "";
libqmatrixclient = libqmatrixclient_0_4;
}

View file

@ -0,0 +1,24 @@
{ mkDerivation, lib, fetchFromGitHub, cmake, qtbase, qtmultimedia }:
mkDerivation rec {
pname = "libquotient";
version = "0.5.3.2";
src = fetchFromGitHub {
owner = "quotient-im";
repo = "libQuotient";
rev = version;
sha256 = "0gkwr3yw6k2m0j8cc085b5p2q788rf5nhp1p5hc5d55pc7mci2qs";
};
buildInputs = [ qtbase qtmultimedia ];
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "A Qt5 library to write cross-platfrom clients for Matrix";
homepage = "https://matrix.org/docs/projects/sdk/quotient";
maintainers = with maintainers; [ colemickens ];
license = licenses.lgpl21;
};
}

View file

@ -250,6 +250,7 @@ mapAliases ({
libtxc_dxtn_s2tc = throw "removed 2020-03-16, now integrated in Mesa";
libudev = udev; # added 2018-04-25
libsexy = throw "libsexy has been removed from nixpkgs, as it's abandoned and no package needed it."; # 2019-12-10
libqmatrixclient = throw "libqmatrixclient was renamed to libquotient"; # added 2020-04-09
links = links2; # added 2016-01-31
linux_rpi0 = linux_rpi1;
linuxPackages_rpi0 = linuxPackages_rpi1;
@ -432,6 +433,7 @@ mapAliases ({
quake3game = ioquake3; # added 2016-01-14
qwt6 = libsForQt5.qwt; # added 2015-12-19
qtpfsgui = throw "Is now luminanceHDR"; # added 2019-06-26
quaternion-git = throw "quaternion-git has been removed in favor of the stable version 'quaternion'"; # added 2020-04-09
rdf4store = throw "rdf4store has been removed from nixpkgs."; # added 2019-12-21
rdiff_backup = rdiff-backup; # added 2014-11-23
rdmd = dtools; # added 2017-08-19

View file

@ -1240,10 +1240,7 @@ in
charles4
;
inherit (libsForQt5.callPackage ../development/libraries/libqmatrixclient { })
libqmatrixclient_0_4
libqmatrixclient_0_5
libqmatrixclient;
libquotient = libsForQt5.callPackage ../development/libraries/libquotient {};
inherit (libsForQt5.callPackage ../applications/networking/instant-messengers/quaternion { })
quaternion