From b9576949759167e8803797fd24e5d04fd11ea78a Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Fri, 24 Jul 2020 08:03:26 -0400 Subject: [PATCH 27/36] gnu: Add pedansee. * gnu/packages/check.scm (pedansee): New variable. --- gnu/packages/check.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 85a24dac19..0cafd9137a 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -75,12 +75,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") -- 2.27.0