[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/06: gnu: Add python-mdurl.
From: |
guix-commits |
Subject: |
03/06: gnu: Add python-mdurl. |
Date: |
Thu, 27 Oct 2022 07:25:59 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit d748d4fd6cdeb3410a6b9dc325e4769bec25fe1a
Author: Mădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de>
AuthorDate: Thu Oct 13 13:40:02 2022 +0200
gnu: Add python-mdurl.
* gnu/packages/python-xyz.scm (python-mdurl): New variable.
---
gnu/packages/python-xyz.scm | 34 +++++++++++++++++++++++++++++++++-
1 file changed, 33 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 08a33061a9..d352e879f4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -66,7 +66,7 @@
;;; Copyright © 2019, 2020, 2021 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2019 Wiktor Żelazny <wzelazny@vurv.cz>
;;; Copyright © 2019, 2020, 2021, 2022 Tanguy Le Carrour <tanguy@bioneland.org>
-;;; Copyright © 2019, 2021 Mădălin Ionel Patrașcu
<madalinionel.patrascu@mdc-berlin.de>
+;;; Copyright © 2019, 2021, 2022 Mădălin Ionel Patrașcu
<madalinionel.patrascu@mdc-berlin.de>
;;; Copyright © 2020 Riku Viitanen <riku.viitanen@protonmail.com>
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
;;; Copyright © 2020 sirgazil <sirgazil@zoho.com>
@@ -675,6 +675,38 @@ It indexes documents and provides a search interface for
retrieving documents
that best match text queries.")
(license license:expat)))
+(define-public python-mdurl
+ (package
+ (name "python-mdurl")
+ (version "0.1.2")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "mdurl" version))
+ (sha256
+ (base32
+ "1fn1hy35h9grggwqax90zcb52inlfxrxsm27vlqqz8zfyllkshdv"))))
+ (build-system python-build-system)
+ (arguments
+ (list
+ #:tests? #f ;pypi source does not contain tests
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'build
+ (lambda _ (invoke "flit" "build")))
+ (replace 'install
+ (lambda _
+ (for-each
+ (lambda (wheel)
+ (invoke "python" "-m" "pip" "install"
+ wheel (string-append "--prefix=" #$output)))
+ (find-files "dist" "\\.whl$")))))))
+ (native-inputs (list python-flit))
+ (home-page "https://github.com/executablebooks/mdurl")
+ (synopsis "Markdown URL utilities")
+ (description
+ "This package implements a Python port of the JavaScript @code{mdurl}.")
+ (license license:expat)))
+
(define-public python-mrkd
(package
(name "python-mrkd")
- branch master updated (bbaf3bcb45 -> 8e6a9b23d0), guix-commits, 2022/10/27
- 05/06: gnu: Add python-mdit-py-plugins., guix-commits, 2022/10/27
- 04/06: gnu: Add python-markdown-it-py., guix-commits, 2022/10/27
- 02/06: gnu: Add ghc-6.0., guix-commits, 2022/10/27
- 06/06: gnu: Add python-jupytext., guix-commits, 2022/10/27
- 03/06: gnu: Add python-mdurl.,
guix-commits <=
- 01/06: gnu: ghc-4: Build full compiler using provided *.hc files., guix-commits, 2022/10/27