From 6129b63949c0c3202704d0f00e25a0fc723dfd97 Mon Sep 17 00:00:00 2001 From: "Christopher R. Nelson" Date: Sun, 31 Dec 2023 23:45:41 -0500 Subject: make cpplint working? --- crn/packages/cpp.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 crn/packages/cpp.scm (limited to 'crn/packages/cpp.scm') diff --git a/crn/packages/cpp.scm b/crn/packages/cpp.scm new file mode 100644 index 0000000..4120342 --- /dev/null +++ b/crn/packages/cpp.scm @@ -0,0 +1,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 -- cgit v1.2.3