guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

185/277: gnu: Add pedansee.


From: guix-commits
Subject: 185/277: gnu: Add pedansee.
Date: Thu, 6 Aug 2020 17:03:31 -0400 (EDT)

dannym pushed a commit to branch wip-desktop
in repository guix.

commit b1e45b093a4ca69f085f0314a948da74bc88aee2
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Fri Jul 24 08:03:26 2020 -0400

    gnu: Add pedansee.
    
    * gnu/packages/check.scm (pedansee): New variable.
    
    Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
 gnu/packages/check.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 2e373d6..c58f0b6 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -76,12 +76,40 @@
   #:use-module (guix download)
   #:use-module (guix git-download)
   #:use-module (guix build-system cmake)
+  #:use-module (guix build-system glib-or-gtk)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system go)
   #:use-module (guix build-system meson)
   #:use-module (guix build-system python)
   #:use-module (guix build-system trivial))
 
+(define-public pedansee
+  (package
+    (name "pedansee")
+    (version "0.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri
+        (string-append "https://www.flyn.org/projects/";
+                       name "/" name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0lsg791x6n95pxg6vif8qfc46nqcamhjq3g0dl5xqf6imy7n3acd"))))
+    (build-system glib-or-gtk-build-system)
+    (native-inputs
+     `(("clang" ,clang)
+       ("pkg-config" ,pkg-config)
+       ("python" ,python-wrapper)))
+    (inputs
+     `(("glib" ,glib)))
+    (synopsis "Code checker for C")
+    (description "Pedansee checks C source files for compliance with a 
particular
+programming style.  The style is currently defined by the pedansee source code
+in the form of functions which walk each source file’s syntax tree.  You can
+modify some aspects of this style through the use of regular expressions.")
+    (home-page "https://www.flyn.org/projects/pedansee/";)
+    (license license:gpl3+)))
+
 (define-public mutest
   (package
     (name "mutest")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]