GNU bug report logs - #69440
[PATCH] gnu: Add compdb.

Previous Next

Package: guix-patches;

Reported by: Sergio Pastor Pérez <sergio.pastorperez <at> outlook.es>

Date: Tue, 27 Feb 2024 22:32:02 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Sergio Pastor Pérez <sergio.pastorperez <at> outlook.es>
To: 69440 <at> debbugs.gnu.org
Cc: Sergio Pastor Pérez <sergio.pastorperez <at> outlook.es>
Subject: [bug#69440] [PATCH] gnu: Add compdb.
Date: Tue, 27 Feb 2024 23:17:35 +0100
* gnu/packages/build-tools.scm (compdb): New variable.

Change-Id: Ia221f21f38e4def239b82654c678fbe42b995878
---
 gnu/packages/build-tools.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm
index 15d88ded80..74e28f0e98 100644
--- a/gnu/packages/build-tools.scm
+++ b/gnu/packages/build-tools.scm
@@ -667,6 +667,29 @@ (define-public osc
 be reached via direct API calls.")
     (license license:gpl2+)))
 
+(define-public compdb
+  (package
+    (name "compdb")
+    (version "0.2.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/Sarcasm/compdb")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0f4x0gm5n1mr87dx3gzn5da16a1qhd2y3kz22dl5xsd9pd720l4w"))))
+    (build-system pyproject-build-system)
+    (propagated-inputs (list python-configparser))
+    (home-page "https://github.com/Sarcasm/compdb")
+    (synopsis "Compilation database Swiss army knife")
+    (description
+     "@command{compdb} is a command line tool to manipulate compilation
+databases.  It eases the usage of tooling in a codebase by spoon-feeding the
+right compilation options.")
+    (license license:expat)))
+
 (define-public compiledb
   (package
     (name "compiledb")

base-commit: c99069e6295d41087ecfc70484f47ff73de5b2c0
-- 
2.41.0





This bug report was last modified 1 year and 111 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.