gnu: Add python-shortuuid.

* gnu/packages/python-xyz.scm (python-shortuuid): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
Sam 2019-03-17 18:08:29 +00:00 committed by Leo Famulari
parent 4cb0b5bfd7
commit a91f4eba2c
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -58,6 +58,7 @@
;;; Copyright © 2018 Luther Thompson <lutheroto@gmail.com> ;;; Copyright © 2018 Luther Thompson <lutheroto@gmail.com>
;;; Copyright © 2018 Vagrant Cascadian <vagrant@debian.org> ;;; Copyright © 2018 Vagrant Cascadian <vagrant@debian.org>
;;; Copyright © 2019 Brett Gilio <brettg@posteo.net> ;;; Copyright © 2019 Brett Gilio <brettg@posteo.net>
;;; Copyright © 2019 Sam <smbaines8@gmail.com>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -230,6 +231,28 @@ (define-public python-shapely
planar geometric objects. It is based on the @code{GEOS} library.") planar geometric objects. It is based on the @code{GEOS} library.")
(license license:bsd-3))) (license license:bsd-3)))
(define-public python-shortuuid
(package
(name "python-shortuuid")
(version "0.5.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "shortuuid" version))
(sha256
(base32
"1f8i4zwj5vmpzbz6b17bljy4399gx5aq7vsyw63sz2qgyjcd73yh"))))
(build-system python-build-system)
(native-inputs
`(("python-pep8" ,python-pep8)))
(home-page "https://github.com/skorokithakis/shortuuid")
(synopsis "Generator library for concise, unambiguous and URL-safe UUIDs")
(description
"@code{shortuuid} is a Python library for generating concise, unambiguous
and URL-safe UUIDs. UUIDs are generated using the built-in Python @code{uuid}
module and then similar looking characters are removed.")
(license license:bsd-3)))
(define-public python-logwrap (define-public python-logwrap
(package (package
(name "python-logwrap") (name "python-logwrap")