{ lib, mkDerivation, unzip, fetchFromGitHub, qmake, qtmultimedia, qtbase }:

mkDerivation rec {
  version = "unstable-20-06-26";
  pname = "herqq";

  nativeBuildInputs = [ qmake unzip ];
  buildInputs = [ qtbase qtmultimedia ];

  outputs = [ "out" "dev" ];

  sourceRoot = "source/herqq";
  src = fetchFromGitHub {
    owner = "ThomArmax";
    repo = "HUPnP";
    rev = "c8385a8846b52def7058ae3794249d6b566a41fc";
    sha256 = "FxN/QlLB3sZ6Vn/9VIKNUntX/B4+crQZ7t760pwFqY8=";
  };

  meta = with lib; {
    homepage = "http://herqq.org";
    description = "A software library for building UPnP devices and control points";
    platforms = platforms.linux;
    maintainers = [ ];
  };
}
