unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#31082] [PATCH] gnu: Add bear.
@ 2018-04-06 19:25 Fis Trivial
  2018-04-08 21:05 ` bug#31082: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Fis Trivial @ 2018-04-06 19:25 UTC (permalink / raw)
  To: 31082


* gnu/packages/build-tools.scm (bear): New public variable.
---
 gnu/packages/build-tools.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm
index b1534e09a..f0efdc011 100644
--- a/gnu/packages/build-tools.scm
+++ b/gnu/packages/build-tools.scm
@@ -2,6 +2,7 @@
 ;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2017 Corentin Bocquillon <corentin@nybble.fr>
 ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2018 Fis Trivial <ybbs.daans@hotmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -23,6 +24,7 @@
   #:use-module (guix utils)
   #:use-module (guix packages)
   #:use-module (guix download)
+  #:use-module (guix build-system cmake)
   #:use-module (gnu packages)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages python)
@@ -68,6 +70,28 @@ from scons.  While scons focuses on being 100% correct when building, bam
 makes a few sacrifices to acquire fast full and incremental build times.")
     (license license:bsd-3)))
 
+(define-public bear
+  (package
+    (name "bear")
+    (version "2.3.11")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/rizsotto/Bear/archive/"
+                    version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1m0w0wqnz983l7fpp5p9pdsqr7n3ybrzp8ywjcvn0rihsrzj65j6"))))
+    (build-system cmake-build-system)
+    (home-page "https://github.com/rizsotto/Bear")
+    (synopsis "Tool for generating compilation database")
+    (description "The JSON compilation database is used in the clang project to
+provide information on how a single compilation unit is processed.  With this,
+it is easy to re-run the compilation with alternate programs.  Bear is used to
+generate such compilation database.")
+    (license license:gpl3+)))
+
 (define-public meson
   (package
     (name "meson")
-- 
2.14.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#31082: [PATCH] gnu: Add bear.
  2018-04-06 19:25 [bug#31082] [PATCH] gnu: Add bear Fis Trivial
@ 2018-04-08 21:05 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2018-04-08 21:05 UTC (permalink / raw)
  To: Fis Trivial; +Cc: 31082-done

[-- Attachment #1: Type: text/plain, Size: 175 bytes --]

Fis Trivial <ybbs.daans@hotmail.com> skribis:

> * gnu/packages/build-tools.scm (bear): New public variable.

Applied with the minor changes below, thanks!

Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1093 bytes --]

diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm
index f0efdc011..98d12a12f 100644
--- a/gnu/packages/build-tools.scm
+++ b/gnu/packages/build-tools.scm
@@ -85,11 +85,11 @@ makes a few sacrifices to acquire fast full and incremental build times.")
                 "1m0w0wqnz983l7fpp5p9pdsqr7n3ybrzp8ywjcvn0rihsrzj65j6"))))
     (build-system cmake-build-system)
     (home-page "https://github.com/rizsotto/Bear")
-    (synopsis "Tool for generating compilation database")
-    (description "The JSON compilation database is used in the clang project to
-provide information on how a single compilation unit is processed.  With this,
+    (synopsis "Tool for generating a compilation database")
+    (description "A JSON compilation database is used in the Clang project to
+provide information on how a given compilation unit is processed.  With this,
 it is easy to re-run the compilation with alternate programs.  Bear is used to
-generate such compilation database.")
+generate such a compilation database.")
     (license license:gpl3+)))
 
 (define-public meson

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-04-08 21:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-06 19:25 [bug#31082] [PATCH] gnu: Add bear Fis Trivial
2018-04-08 21:05 ` bug#31082: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).