GNU bug report logs - #70855
[PATCH 00/92] python-team patches

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Thu, 9 May 2024 22:51:01 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 70855 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [bug#70855] [PATCH 14/92] gnu: Add ghc-language-python.
Date: Fri, 10 May 2024 00:53:09 +0200
* gnu/packages/haskell-xyz.scm (ghc-language-python): New variable.

Change-Id: I29bcdedf155486673e01b3b6af71a2aa81455ef6
---
 gnu/packages/haskell-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index b5943f2f476..23af2a03bde 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -6397,6 +6397,31 @@ (define-public ghc-language-haskell-extract
 with @code{wc} (for a web service).")
     (license license:bsd-3)))
 
+(define-public ghc-language-python
+  (package
+    (name "ghc-language-python")
+    (version "0.5.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hackage-uri "language-python" version))
+       (sha256
+        (base32 "1mf3czvnh9582klv0c9g7pcn1wx4qjwpvhv8la6afaifv6y5lki2"))))
+    (build-system haskell-build-system)
+    (arguments
+     `(#:cabal-revision ("2"
+                         "024fn653gmxw4ndmqvg1d3lwmxbvrlllc9iw2zw0c3nkcgcv39sg")))
+    (native-inputs (list ghc-alex ghc-happy))
+    (inputs (list ghc-monads-tf ghc-utf8-string))
+    (home-page "http://github.com/bjpop/language-python")
+    (synopsis "Parse and pretty print Python code in Haskell")
+    (description
+     "@code{language-python} is a Haskell library for lexical analysis,
+parsing and pretty printing Python code.  It supports versions 2.x and 3.x of
+Python.")
+    (license license:bsd-3)
+    (properties '((upstream-name . "language-python")))))
+
 (define-public ghc-lens
   (package
     (name "ghc-lens")
-- 
2.41.0





This bug report was last modified 364 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.