nixpkgs/pkgs/applications/editors/kdevelop5/kdevelop-pg-qt.nix
2021-01-25 15:56:15 -06:00

34 lines
907 B
Nix

{ lib, stdenv, fetchurl, cmake, pkg-config, extra-cmake-modules, qtbase }:
let
pname = "kdevelop-pg-qt";
version = "2.2.1";
in
stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.xz";
sha256 = "0ay6m6j6zgrbcm48f14bass83bk4w5qnx76xihc05p69i9w32ff1";
};
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";
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 ];
};
}