From 04be2cd15a712224f6c88085296c3eecb7fdacb0 Mon Sep 17 00:00:00 2001 From: Sergio Pastor PĂ©rez Date: Tue, 27 Feb 2024 23:17:35 +0100 Subject: gnu: Add compdb. * gnu/packages/build-tools.scm (compdb): New variable. Change-Id: Ia221f21f38e4def239b82654c678fbe42b995878 Signed-off-by: Nicolas Goaziou --- 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") -- cgit v1.2.3