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>
This commit is contained in:
Josep Bigorra 2025-08-17 22:03:06 +02:00 committed by Sharlatan Hellseher
parent ed00702631
commit 6fd8ff7681
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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")