unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
To: 57094@debbugs.gnu.org
Cc: ngraves@ngraves.fr
Subject: [bug#57094] [PATCH 3/9] gnu: Add python-curlylint.
Date: Wed, 10 Aug 2022 00:43:27 +0200	[thread overview]
Message-ID: <20220809224333.28437-3-ngraves@ngraves.fr> (raw)
In-Reply-To: <20220809224333.28437-1-ngraves@ngraves.fr>

* gnu/packages/python-web.scm (python-curlylint): New variable.
---
 gnu/packages/python-web.scm | 38 +++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 7c5e5651c8..0c02c4f889 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -550,6 +550,44 @@ (define-public python-css-html-js-minify
     ;; looks like the user can choose a license.
     (license (list license:gpl3+ license:lgpl3+ license:expat))))
 
+(define-public python-curlylint
+  (package
+    (name "python-curlylint")
+    (version "0.13.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "curlylint" version))
+       (sha256
+        (base32
+         "0li72vig9ibrdfazvaprfawrq84ylg00byrfq554081r1wb9v2q0"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (delete 'sanity-check)
+         (replace 'check
+           (lambda* (#:key tests? inputs #:allow-other-keys)
+             (if tests?
+                 (lambda _
+                   (substitute* "setup.py"
+                     (("parsy==1.1.0") "parsy>=1.1.0"))
+                   (invoke "pytest" "-vv"))
+                 (format #t "test suite not run~%")))))))
+    (propagated-inputs (list python-attrs
+                             python-click
+                             python-dataclasses
+                             python-parsy
+                             python-pathspec
+                             python-toml))
+    (home-page "https://github.com/thibaudcolas/curlylint")
+    (synopsis
+     "Experimental HTML templates linting")
+    (description
+     "This package provides experimental HTML templates linting for Jinja,
+Nunjucks, Django templates, Twig and Liquid.")
+    (license license:expat)))
+
 (define-public python-aws-sam-translator
   (package
     (name "python-aws-sam-translator")
-- 
2.37.1





  parent reply	other threads:[~2022-08-09 22:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-09 22:37 [bug#57094] Updating wagtail to 3.0 Nicolas Graves via Guix-patches via
2022-08-09 22:43 ` [bug#57094] [PATCH 1/9] gnu: python-django-modelcluster: Update to 6.0 Nicolas Graves via Guix-patches via
2022-08-09 22:43   ` [bug#57094] [PATCH 2/9] gnu: Add python-django-permissionedforms Nicolas Graves via Guix-patches via
2022-08-09 22:43   ` Nicolas Graves via Guix-patches via [this message]
2022-08-09 22:43   ` [bug#57094] [PATCH 4/9] gnu: Add python-flake8-assertive Nicolas Graves via Guix-patches via
2022-08-09 22:43   ` [bug#57094] [PATCH 5/9] gnu: Add python-flake8-comprehensions Nicolas Graves via Guix-patches via
2022-08-09 22:43   ` [bug#57094] [PATCH 6/9] gnu: Add python-django-pattern-library Nicolas Graves via Guix-patches via
2022-08-09 22:43   ` [bug#57094] [PATCH 7/9] gnu: Add python-nox Nicolas Graves via Guix-patches via
2022-08-09 22:43   ` [bug#57094] [PATCH 8/9] gnu: Add python-djhtml Nicolas Graves via Guix-patches via
2022-08-09 22:43   ` [bug#57094] [PATCH 9/9] gnu: python-wagtail: Update to 3.0.1 Nicolas Graves via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220809224333.28437-3-ngraves@ngraves.fr \
    --to=guix-patches@gnu.org \
    --cc=57094@debbugs.gnu.org \
    --cc=ngraves@ngraves.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).