about summary refs log tree commit diff
path: root/pkgs/applications/kde/kdevelop/kdevelop-pg-qt.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/kde/kdevelop/kdevelop-pg-qt.nix')
-rw-r--r--pkgs/applications/kde/kdevelop/kdevelop-pg-qt.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/applications/kde/kdevelop/kdevelop-pg-qt.nix b/pkgs/applications/kde/kdevelop/kdevelop-pg-qt.nix
new file mode 100644
index 0000000000000..f96e8cf6b677e
--- /dev/null
+++ b/pkgs/applications/kde/kdevelop/kdevelop-pg-qt.nix
@@ -0,0 +1,29 @@
+{ lib, stdenv, fetchurl, cmake, pkg-config, extra-cmake-modules, qtbase }:
+
+stdenv.mkDerivation rec {
+  pname = "kdevelop-pg-qt";
+  version = "2.2.1";
+
+  src = fetchurl {
+    url = "mirror://kde/stable/${pname}/${version}/src/${pname}-${version}.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 ];
+  };
+}