From c648fa4186ff8c9307b2379d75bba1955a9eec7f Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Fri, 24 Jul 2020 08:03:26 -0400 Subject: [PATCH] gnu: Add pedansee. * gnu/packages/check.scm (pedansee): New variable. Signed-off-by: Danny Milosavljevic --- gnu/packages/check.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index ae1ddfc801..a7db915597 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -76,12 +76,40 @@ (define-module (gnu packages check) #: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")