2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, cmake, pkg-config, extra-cmake-modules, qtbase }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
pname = "kdevelop-pg-qt";
|
|
|
|
version = "2.2.1";
|
|
|
|
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
2021-01-15 22:18:51 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.xz";
|
|
|
|
sha256 = "0ay6m6j6zgrbcm48f14bass83bk4w5qnx76xihc05p69i9w32ff1";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config extra-cmake-modules ];
|
2021-01-15 22:18:51 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ qtbase ];
|
|
|
|
|
2021-02-19 19:06:45 +00:00
|
|
|
dontWrapQtApps = true;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = [ maintainers.ambrop72 ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
description = "Parser-generator from KDevplatform";
|
|
|
|
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";
|
2021-01-17 00:15:33 +00:00
|
|
|
license = with lib.licenses; [ lgpl2Plus ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|