telepathy.qt: cleanup inherit, update meta

This commit is contained in:
Sandro Jäckel 2021-11-10 20:42:24 +01:00
parent bbd3f7f31c
commit 86da7c95cd
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -1,20 +1,19 @@
{ lib, stdenv, fetchurl, cmake, qtbase, pkg-config, python3Packages, dbus-glib, dbus
{ lib, stdenv, fetchurl, cmake, qtbase, pkg-config, python3, dbus-glib, dbus
, telepathy-farstream, telepathy-glib }:
let
inherit (python3Packages) python dbus-python;
in stdenv.mkDerivation rec {
name = "telepathy-qt-0.9.8";
stdenv.mkDerivation rec {
pname = "telepathy-qt";
version = "0.9.8";
src = fetchurl {
url = "https://telepathy.freedesktop.org/releases/telepathy-qt/${name}.tar.gz";
url = "https://telepathy.freedesktop.org/releases/telepathy-qt/telepathy-qt-${version}.tar.gz";
sha256 = "bf8e2a09060addb80475a4938105b9b41d9e6837999b7a00e5351783857e18ad";
};
nativeBuildInputs = [ cmake pkg-config python ];
nativeBuildInputs = [ cmake pkg-config python3 ];
propagatedBuildInputs = [ qtbase telepathy-farstream telepathy-glib ];
buildInputs = [ dbus-glib ];
checkInputs = [ dbus.daemon dbus-python ];
checkInputs = [ dbus.daemon python3.pkgs.dbus-python ];
# No point in building tests if they are not run
# On 0.9.7, they do not even build with QT4
@ -29,5 +28,6 @@ in stdenv.mkDerivation rec {
homepage = "https://telepathy.freedesktop.org/components/telepathy-qt/";
license = licenses.lgpl21;
platforms = platforms.linux;
maintainers = with maintainers; [ ];
};
}