[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
64/145: gnu: Add python-tomli-w.
From: |
guix-commits |
Subject: |
64/145: gnu: Add python-tomli-w. |
Date: |
Mon, 10 Jan 2022 11:44:10 -0500 (EST) |
apteryx pushed a commit to branch version-1.4.0
in repository guix.
commit 80afd7dbdc1f8ef4ca95c07adf7744d9eefc90bb
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Dec 20 12:42:03 2021 -0500
gnu: Add python-tomli-w.
* gnu/packages/python-build.scm (python-tomli-w): New variable.
---
gnu/packages/python-build.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index a972a752be..2abb781f76 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -26,6 +26,7 @@
#:use-module (gnu packages)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix build-system python)
+ #:use-module (guix gexp)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix packages))
@@ -92,6 +93,38 @@ installed with a newer @code{pip} or with wheel's own
command line utility.")
Language (TOML) configuration files.")
(license license:expat)))
+(define-public python-tomli-w
+ (package
+ (name "python-tomli-w")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "tomli_w" version))
+ (sha256
+ (base32 "1fg13bfq5qy1ym4x77815nhxh1xpfs0drhn9r9464cz00m1l6qzl"))))
+ (build-system python-build-system)
+ (arguments
+ (list
+ #:tests? #f ;to avoid extra dependencies
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; XXX: PEP 517 manual build copied from python-isort.
+ (replace 'build
+ (lambda _
+ (invoke "python" "-m" "build" "--wheel" "--no-isolation" ".")))
+ (replace 'install
+ (lambda _
+ (let ((whl (car (find-files "dist" "\\.whl$"))))
+ (invoke "pip" "--no-cache-dir" "--no-input"
+ "install" "--no-deps" "--prefix" #$output whl)))))))
+ (native-inputs (list python-pypa-build python-flit-core))
+ (home-page "https://github.com/hukkin/tomli-w")
+ (synopsis "Minimal TOML writer")
+ (description "Tomli-W is a Python library for writing TOML. It is a
+write-only counterpart to Tomli, which is a read-only TOML parser.")
+ (license license:expat)))
+
(define-public python-pytoml
(package
(name "python-pytoml")
- 124/145: gnu: file-roller: Add python to native inputs., (continued)
- 124/145: gnu: file-roller: Add python to native inputs., guix-commits, 2022/01/10
- 111/145: gnu: cpuid: Remove obsolete file permissions change., guix-commits, 2022/01/10
- 143/145: gnu: iwd: Update to 1.20., guix-commits, 2022/01/10
- 115/145: gnu: binutils: Fix CVE-2021-45078., guix-commits, 2022/01/10
- 144/145: gnu: nss: Update to 3.72., guix-commits, 2022/01/10
- 132/145: gnu: Add rust-cfg-expr-0.8., guix-commits, 2022/01/10
- 38/145: gnu: elogind: Reinstate the test-event.c test., guix-commits, 2022/01/10
- 102/145: gnu: go-ipfs: Remove obsolete phase., guix-commits, 2022/01/10
- 92/145: build-system/gnu: Make gzip files writable before resetting timestamps., guix-commits, 2022/01/10
- 130/145: gnu: mozjs-78: Disable rust-simd to workaround a build failure., guix-commits, 2022/01/10
- 64/145: gnu: Add python-tomli-w.,
guix-commits <=
- 54/145: gnu: tracker: Add python to native inputs., guix-commits, 2022/01/10
- 137/145: gnu: rust-predicates-2: Update to 2.0.3., guix-commits, 2022/01/10
- 87/145: gnu: python-pysam: Update to 0.18.0., guix-commits, 2022/01/10
- 121/145: gnu: python-openpyxl: Update to 3.0.9., guix-commits, 2022/01/10
- 61/145: gnu: python-typing: Update to 3.10.0.0., guix-commits, 2022/01/10
- 107/145: gnu: arcanist: Remove obsolete phase., guix-commits, 2022/01/10
- 84/145: gnu: htslib: Update to 1.14., guix-commits, 2022/01/10
- 76/145: gnu: python2-matplotlib: Update to 2.2.5., guix-commits, 2022/01/10
- 82/145: gnu: poetry: Update to 1.1.12., guix-commits, 2022/01/10
- 88/145: gnu: Add plfit., guix-commits, 2022/01/10