gnu: Add compdb.

* gnu/packages/build-tools.scm (compdb): New variable.

Change-Id: Ia221f21f38e4def239b82654c678fbe42b995878
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Sergio Pastor Pérez 2024-02-27 23:17:35 +01:00 committed by Nicolas Goaziou
parent 1a53bb08da
commit 04be2cd15a
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -667,6 +667,29 @@ (define-public osc
be reached via direct API calls.") be reached via direct API calls.")
(license license:gpl2+))) (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 (define-public compiledb
(package (package
(name "compiledb") (name "compiledb")