* [bug#64467] [PATCH] gnu: Add python-gixy.
@ 2023-07-04 22:22 Bruno Victal
2023-07-17 22:30 ` bug#64467: " Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Bruno Victal @ 2023-07-04 22:22 UTC (permalink / raw)
To: 64467; +Cc: Bruno Victal
* gnu/packages/check.scm (python-gixy): New variable.
---
gnu/packages/check.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index df57a778fe..4e8caadc82 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -43,6 +43,7 @@
;;; Copyright © 2022 jgart <jgart@dismail.de>
;;; Copyright © 2023 Luis Felipe López Acevedo <luis.felipe.la@protonmail.com>
;;; Copyright © 2023 Timo Wilken <guix@twilken.net>
+;;; Copyright © 2023 Bruno Victal <mirai@makinata.eu>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -811,6 +812,41 @@ (define-public doctest
has been designed to be fast, light and unintrusive.")
(license license:expat)))
+(define-public python-gixy
+ ;; The 0.1.20 release is missing some important fixes.
+ ;; XXX: Commit 'e9008dcbd11f43ccac109b0cf2bf98a94e76b449' breaks tests
+ ;; since it improperly removes an import.
+ (let ((commit "303eb6887ddecab18138b6e427b04ae77c41d2f1")
+ (revision "0")
+ (base-version "0.1.20"))
+ (package
+ (name "python-gixy")
+ (version (git-version base-version revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/yandex/gixy")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0gymjcnvjx9snyrzdbmjnk93ibb161q72xam29vnl3yyac4r1330"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-nose))
+ (propagated-inputs
+ (list python-cached-property python-configargparse
+ python-jinja2 python-six
+ ;; XXX: gixy is incompatible with pyparsing >= 3.x.
+ ;; See <https://github.com/yandex/gixy/pull/132> and
+ ;; <https://github.com/yandex/gixy/pull/122>.
+ python-pyparsing-2.4.7))
+ (home-page "https://github.com/yandex/gixy")
+ (synopsis "Static NGINX configuration analyzer")
+ (description "Gixy is a static analyzer whose main goal is to help
+prevent common NGINX misconfigurations. It provides the @command{gixy}
+command.")
+ (license license:mpl2.0))))
+
(define-public go-github.com-smartystreets-gunit
(package
(name "go-github.com-smartystreets-gunit")
base-commit: 9122736455a9085d51b71b269b7c26a695a474ef
--
2.40.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#64467: [PATCH] gnu: Add python-gixy.
2023-07-04 22:22 [bug#64467] [PATCH] gnu: Add python-gixy Bruno Victal
@ 2023-07-17 22:30 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2023-07-17 22:30 UTC (permalink / raw)
To: Bruno Victal; +Cc: 64467-done
Bruno Victal <mirai@makinata.eu> skribis:
> * gnu/packages/check.scm (python-gixy): New variable.
Applied, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-07-17 22:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-04 22:22 [bug#64467] [PATCH] gnu: Add python-gixy Bruno Victal
2023-07-17 22:30 ` bug#64467: " Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).