nixpkgs/pkgs/applications/kde/kdevelop/kdevelop-pg-qt.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

31 lines
910 B
Nix

{ lib, stdenv, fetchurl, cmake, pkg-config, extra-cmake-modules, qtbase }:
stdenv.mkDerivation rec {
pname = "kdevelop-pg-qt";
version = "2.2.2";
src = fetchurl {
url = "mirror://kde/stable/${pname}/${version}/src/${pname}-${version}.tar.xz";
sha256 = "sha256-PVZgTEefjwSuMqUj7pHzB4xxcRfQ3rOelz4iSUy7ZfE=";
};
nativeBuildInputs = [ cmake pkg-config extra-cmake-modules ];
buildInputs = [ qtbase ];
dontWrapQtApps = true;
meta = with lib; {
maintainers = [ maintainers.ambrop72 ];
platforms = platforms.linux;
description = "Parser-generator from KDevplatform";
mainProgram = "kdev-pg-qt";
longDescription = ''
KDevelop-PG-Qt is the parser-generator from KDevplatform.
It is used for some KDevelop-languagesupport-plugins (Ruby, PHP, CSS...).
'';
homepage = "https://www.kdevelop.org";
license = with lib.licenses; [ lgpl2Plus ];
};
}