summaryrefslogtreecommitdiff
path: root/crn/packages/cpp.scm
blob: 41203428b8da25bafb9005405e4da6c3b2828062 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
(define-module (crn packages cpp)
  :use-module (crn packages)
  :use-module (gnu packages)
  :use-module (gnu packages cpp)
  :use-module (guix packages)
  :use-module (guix git-download))

(define-public cpplint-up
  (package (inherit cpplint)
	   (name "cpplint-up")
	   (version "1.5.5")
	   (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 "13l86aq0h1jga949k79k9x3hw2xqchjc162sclg2f99vz98zcz15"))
	      (file-name (git-file-name name version))
	      (patches (crn/search-patches "cpplint-pytest-version.patch"))))))

cpplint-up