summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJosep Bigorra <jjbigorra@gmail.com>2025-08-17 22:03:06 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-09 08:30:18 +0100
commit6fd8ff7681bfc51ad405fa9b0adfa711c20b5a23 (patch)
treec5885ede0ea21311d6ba59764c80a1f1c757fd4e /gnu
parented007026312260c79566dffa742820ac787fe3b9 (diff)
gnu: Add mbake.
* gnu/packages/check.scm (mbake): New variable. Change-Id: I61d05051d2b771f2a477c4995bfb005ea2d9a21a Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/check.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index a069b0ef79b..3b6800e95e9 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -57,6 +57,7 @@
;;; Copyright © 2025 Jordan Moore <lockbox@struct.foo>
;;; Copyright © 2025 Nicolas Graves <ngraves@ngraves.fr>
;;; Copyright © 2025 nomike Postmann <nomike@nomike.com>
+;;; Copyright © 2025 Josep Bigorra <jjbigorra@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -395,6 +396,32 @@ Makefiles. It allows for a set of configurable rules being run
against a @file{Makefile} or a set of @file{*.mk} files.")
(license license:expat)))
+(define-public mbake
+ (package
+ (name "mbake")
+ (version "1.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "mbake" version))
+ (sha256
+ (base32 "1badaaw5cxbca7fqahjm6j5yk6mmcakc4772q9gdrr84jx9wjd67"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-hatchling
+ python-pytest))
+ (propagated-inputs
+ (list python-rich
+ python-typer))
+ (home-page "https://github.com/EbodShojaei/bake")
+ (synopsis "Makefile formatter and linter")
+ (description
+ "@command{mbake} is a Makefile formatter and linter,which is configurable
+via a TOML file. It intelligently deals with @code{.PHONY} declarations and
+line continuations, and ensures consistent formatting and style for your
+Makefile.")
+ (license license:expat)))
+
(define-public clitest
(package
(name "clitest")