[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: Add python-slugid.
From: |
guix-commits |
Subject: |
branch master updated: gnu: Add python-slugid. |
Date: |
Fri, 19 May 2023 01:52:22 -0400 |
This is an automated email from the git hooks/post-receive script.
jgart pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 4d4b9a9c13 gnu: Add python-slugid.
4d4b9a9c13 is described below
commit 4d4b9a9c13b8b1273c4f3e54913582faccb19965
Author: AwesomeAdam54321 <adam.faiz@disroot.org>
AuthorDate: Fri Mar 31 13:19:29 2023 -0500
gnu: Add python-slugid.
* gnu/packages/python-xyz.scm (python-slugid): New variable.
Co-authored-by: jgart <jgart@dismail.de>
---
gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 47cea7be6f..2ab72416af 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17349,6 +17349,36 @@ can also be used to get the exact location, font or
color of the text.")
is made as zipfile like as possible.")
(license license:isc)))
+(define-public python-slugid
+ (package
+ (name "python-slugid")
+ (version "2.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/taskcluster/slugid.py")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1h64p2jlqv6lsmw8h2j203kx3bhv72cwzpk5gdhsaamw30cp3h1i"))))
+ (build-system python-build-system)
+ (native-inputs (list python-nose))
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs tests? #:allow-other-keys)
+ (when tests?
+ ;; The project uses tox to run the tests via nose.
+ (invoke "nosetests" "-v" "test.py")))))))
+ (home-page "http://taskcluster.github.io/slugid.py")
+ (synopsis "Module for Base64 encoded UUID v4 slugs")
+ (description "This package provides a module for generating v4
+UUIDs and encoding them into 22 character URL-safe base64 slug
+representation.")
+ (license license:mpl2.0)))
+
(define-public python-rich
(package
(name "python-rich")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: Add python-slugid.,
guix-commits <=