mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: Add cpplint.
* gnu/packages/cpp.scm (cpplint): New variable.
This commit is contained in:
parent
37d473c5d1
commit
7e08be71ac
1 changed files with 25 additions and 0 deletions
|
@ -28,6 +28,7 @@ (define-module (gnu packages cpp)
|
|||
#:use-module (guix git-download)
|
||||
#:use-module (guix build-system cmake)
|
||||
#:use-module (guix build-system gnu)
|
||||
#:use-module (guix build-system python)
|
||||
#:use-module (gnu packages)
|
||||
#:use-module (gnu packages autotools)
|
||||
#:use-module (gnu packages check)
|
||||
|
@ -350,3 +351,27 @@ (define-public gperftools
|
|||
@item CPU checker.
|
||||
@end itemize\n")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public cpplint
|
||||
(package
|
||||
(name "cpplint")
|
||||
(version "1.4.4")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
;; Fetch from github instead of pypi, since the test cases are not in
|
||||
;; the pypi archive.
|
||||
(uri (git-reference
|
||||
(url "https://github.com/cpplint/cpplint")
|
||||
(commit version)))
|
||||
(sha256
|
||||
(base32 "1ns9wbizr10w7rpyp106d7ip68s5nyskr54vw9bij11sci9z0v3j"))
|
||||
(file-name (git-file-name name version))))
|
||||
(build-system python-build-system)
|
||||
(home-page "https://github.com/cpplint/cpplint")
|
||||
(synopsis "Static code checker for C++")
|
||||
(description "@code{cpplint} is a command-line tool to check C/C++ files
|
||||
for style issues following Google’s C++ style guide. While Google maintains
|
||||
it's own version of the tool, this is a fork that aims to be more responsive
|
||||
and make @code{cpplint} usable in wider contexts.")
|
||||
(license license:bsd-3)))
|
||||
|
|
Loading…
Reference in a new issue