2021-01-19 06:50:56 +00:00
|
|
|
{ lib, stdenv, fetchurl, cmake, pkg-config, extra-cmake-modules, qtbase }:
|
2016-08-27 08:27:41 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
pname = "kdevelop-pg-qt";
|
2020-02-08 14:58:18 +00:00
|
|
|
version = "2.2.1";
|
2016-08-27 08:27:41 +00:00
|
|
|
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
2021-01-01 13:46:40 +00:00
|
|
|
|
2016-08-27 08:27:41 +00:00
|
|
|
src = fetchurl {
|
2017-08-29 22:37:38 +00:00
|
|
|
url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.xz";
|
2020-02-08 14:58:18 +00:00
|
|
|
sha256 = "0ay6m6j6zgrbcm48f14bass83bk4w5qnx76xihc05p69i9w32ff1";
|
2016-08-27 08:27:41 +00:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config extra-cmake-modules ];
|
2021-01-01 13:46:40 +00:00
|
|
|
|
2016-08-27 08:27:41 +00:00
|
|
|
buildInputs = [ qtbase ];
|
|
|
|
|
2021-01-12 11:50:23 +00:00
|
|
|
dontWrapQtApps = true;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-08-27 08:27:41 +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...).
|
|
|
|
'';
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.kdevelop.org";
|
2021-01-15 13:21:58 +00:00
|
|
|
license = with lib.licenses; [ lgpl2Plus ];
|
2016-08-27 08:27:41 +00:00
|
|
|
};
|
|
|
|
}
|