libsForQt5.herqq: fix build with qt5.15

Using a unreleased commit from upstream.

Also moved the derivation to mkLibsForQt5 to let
the application choose its Qt5 version.

Did not put an alias as previous version was broken
since ages.
This commit is contained in:
freezeboy 2020-11-07 12:35:30 +01:00
parent cec5b4d18b
commit c99a4f92ac
2 changed files with 11 additions and 8 deletions

View file

@ -1,25 +1,26 @@
{ stdenv, unzip, fetchFromGitHub, qmake, qtmultimedia, qtbase }:
{ lib, mkDerivation, unzip, fetchFromGitHub, qmake, qtmultimedia, qtbase }:
stdenv.mkDerivation rec {
version = "2.1.0";
mkDerivation rec {
version = "unstable-20-06-26";
pname = "herqq";
nativeBuildInputs = [ qmake ];
buildInputs = [ qtbase unzip qtmultimedia ];
preConfigure = "cd herqq";
outputs = [ "out" "dev" ];
sourceRoot = "source/herqq";
src = fetchFromGitHub {
owner = "ThomArmax";
repo = "HUPnP";
rev = version;
sha256 = "1w674rbwbhpirq70gp9rk6p068j36rwn112fx3nz613wgw63x84m";
rev = "c8385a8846b52def7058ae3794249d6b566a41fc";
sha256 = "FxN/QlLB3sZ6Vn/9VIKNUntX/B4+crQZ7t760pwFqY8=";
};
meta = with stdenv.lib; {
meta = with lib; {
homepage = "http://herqq.org";
description = "A software library for building UPnP devices and control points";
platforms = platforms.linux;
maintainers = [ ];
broken = true; # 2018-09-21, built with qt510 (which was removed) but neither qt59 nor qt511
};
}

View file

@ -15380,6 +15380,8 @@ in
grantlee = callPackage ../development/libraries/grantlee/5 { };
herqq = callPackage ../development/libraries/herqq { };
kdb = callPackage ../development/libraries/kdb { };
kdiagram = callPackage ../development/libraries/kdiagram { };