Patchwork [2/2] gnu: Add add kdevelop-pg-qt.

login
register
mail settings
Submitter Thomas Danckaert
Date Nov. 8, 2016, 1:34 p.m.
Message ID <20161108.143459.1861852262194214385.post@thomasdanckaert.be>
Download mbox | patch
Permalink /patch/17286/
State New
Headers show

Comments

Ludovic Courtès - Nov. 9, 2016, 3:12 p.m.
Thomas Danckaert <post@thomasdanckaert.be> skribis:

> From c26790b1f47e78c37d0efab82c114f2aae1515dc Mon Sep 17 00:00:00 2001
> From: Thomas Danckaert <thomas.danckaert@gmail.com>
> Date: Tue, 8 Nov 2016 14:16:43 +0100
> Subject: [PATCH 2/2] gnu: Add add kdevelop-pg-qt.
>
> * gnu/packages/kde.scm (kdevelop-pg-qt): New variable.

I changed the license to ‘lgpl2.0+’ (since headers carry the “or any
later version” wording) and committed.

Thanks!

Ludo’.

Patch

From c26790b1f47e78c37d0efab82c114f2aae1515dc Mon Sep 17 00:00:00 2001
From: Thomas Danckaert <thomas.danckaert@gmail.com>
Date: Tue, 8 Nov 2016 14:16:43 +0100
Subject: [PATCH 2/2] gnu: Add add kdevelop-pg-qt.

* gnu/packages/kde.scm (kdevelop-pg-qt): New variable.
---
 gnu/packages/kde.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 47ca002..13e6ff3 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -28,6 +28,29 @@ 
   #:use-module (gnu packages tls)
   #:use-module (gnu packages qt))
 
+(define-public kdevelop-pg-qt
+  (package
+    (name "kdevelop-pg-qt")
+    (version "2.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/KDE/kdevelop-pg-qt/archive/v"
+                           version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1av8plqz7hyhrd07avnmn6ryslqlarmxn0pw7swzvb6ddiqp59j4"))))
+    (native-inputs
+     `(("extra-cmake-modules" ,extra-cmake-modules)))
+    (inputs
+     `(("qtbase" ,qtbase)))
+    (build-system cmake-build-system)
+    (home-page "https://kde.org")
+    (synopsis "Parser generator library for KDevplatform")
+    (description "KDevelop-PG-Qt is the parser generator used in KDevplatform
+for some KDevelop language plugins (Ruby, PHP, CSS...).")
+    (license license:lgpl2.0)))
+
 (define-public libkomparediff2
   (package
     (name "libkomparediff2")
-- 
2.7.4