{
  lib,
  mkKdeDerivation,
  fetchurl,
  bison,
  flex,
}:
mkKdeDerivation rec {
  pname = "kdevelop-pg-qt";
  version = "2.3.0";

  # Breaks with split -dev
  outputs = [ "out" ];

  src = fetchurl {
    url = "mirror://kde/stable/kdevelop-pg-qt/${version}/src/kdevelop-pg-qt-${version}.tar.xz";
    hash = "sha256-PT7zyzlelnDmDDmepthlzHluAOUsNV7tlD++yn2nEg0=";
  };

  extraNativeBuildInputs = [
    bison
    flex
  ];

  meta.license = with lib.licenses; [
    bsd3
    gpl2Plus
    gpl3Plus
    lgpl2Only
    lgpl2Plus
    mit
  ];
}