unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Jai Vetrivelan <jaivetrivelan@gmail.com>
To: 54924@debbugs.gnu.org
Cc: Jai Vetrivelan <jaivetrivelan@gmail.com>
Subject: [bug#54924] [PATCH 2/3] gnu: add python-proselint.
Date: Thu, 14 Apr 2022 12:30:29 +0530	[thread overview]
Message-ID: <20220414070030.5917-2-jaivetrivelan@gmail.com> (raw)
In-Reply-To: <20220414070030.5917-1-jaivetrivelan@gmail.com>

* gnu/packages/python-xyz.scm (python-proselint): New variable.
---
 gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f98dd29083..cde4abbcf7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -118,6 +118,7 @@
 ;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org>
 ;;; Copyright © 2022 Evgeny Pisemsky <evgeny@pisemsky.com>
 ;;; Copyright © 2022 drozdov <drozdov@portalenergy.tech>
+;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -17196,6 +17197,33 @@ (define-public python-prompt-toolkit
     (license license:bsd-3)
     (properties `((python2-variant . ,(delay python-prompt-toolkit-2))))))
 
+(define-public python-proselint
+  (package
+   (name "python-proselint")
+   (version "0.13.0")
+   (source
+    (origin
+      (method url-fetch)
+      (uri (pypi-uri "proselint" version))
+      (sha256
+       (base32
+        "0n1ahnq2mkgvh94g05xhc3l1fs3hh0ycskqlqivhhfdaq8ybdlkx"))))
+   (build-system python-build-system)
+   (arguments
+    `(#:tests? #f
+      #:phases
+      (modify-phases %standard-phases
+        (add-after 'unpack 'set-home-directory
+          (lambda _ (setenv "HOME" "/tmp") #t)))))
+   (propagated-inputs
+    (list python-click-8 python-future python-six))
+   (home-page
+    "http://github.com/amperser/proselint")
+   (synopsis "Linter for prose")
+   (description "@code{python-proselint} is a linter for English prose, that scans through a
+file and detects issues.")
+   (license license:bsd-3)))
+
 (define-public python-prompt-toolkit-2
   (package (inherit python-prompt-toolkit)
     (name "python-prompt-toolkit")
-- 
2.34.0





  reply	other threads:[~2022-04-14  7:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-14  6:55 [bug#54924] Subject: [PATCH 0/3] gnu: add emacs-flymake-proselint and dependencies Jai Vetrivelan
2022-04-14  7:00 ` [bug#54924] [PATCH 1/3] gnu: Add python-click-8 Jai Vetrivelan
2022-04-14  7:00   ` Jai Vetrivelan [this message]
2022-04-14  7:00   ` [bug#54924] [PATCH 3/3] gnu: Add emacs-flymake-proselint Jai Vetrivelan
2022-05-08 22:02 ` bug#54924: [PATCH 0/3] gnu: add emacs-flymake-proselint and dependencies Ludovic Courtès

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=20220414070030.5917-2-jaivetrivelan@gmail.com \
    --to=jaivetrivelan@gmail.com \
    --cc=54924@debbugs.gnu.org \
    /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).