[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/09: gnu: Add python-pastel.
From: |
Ben Woodcroft |
Subject: |
05/09: gnu: Add python-pastel. |
Date: |
Sat, 16 Sep 2017 21:13:55 -0400 (EDT) |
benwoodcroft pushed a commit to branch master
in repository guix.
commit f76d56d2868e4339915c42d3d9b93c1cb38e7e92
Author: Ben Woodcroft <address@hidden>
Date: Tue Aug 15 18:20:17 2017 +1000
gnu: Add python-pastel.
* gnu/packages/graphics.scm (python-pastel): New variable.
---
gnu/packages/graphics.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index f84cc27..e9dc6d5 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -6,6 +6,7 @@
;;; Copyright © 2016 Efraim Flashner <address@hidden>
;;; Copyright © 2016 Andreas Enge <address@hidden>
;;; Copyright © 2017 Manolis Fragkiskos Ragkousis <address@hidden>
+;;; Copyright © 2017 Ben Woodcroft <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -28,6 +29,7 @@
#:use-module (guix packages)
#:use-module (guix build-system gnu)
#:use-module (guix build-system cmake)
+ #:use-module (guix build-system python)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages)
#:use-module (gnu packages algebra)
@@ -654,3 +656,33 @@ and understanding different BRDFs (and other component
functions).")
It supports sub-pixel resolutions and anti-aliasing. It is also library for
rendering SVG graphics.")
(license license:gpl2+)))
+
+(define-public python-pastel
+ (package
+ (name "python-pastel")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pastel" version))
+ (sha256
+ (base32
+ "1hqbm934n5yjwn31aq8h7shrr0rcy326wrqfc856vyn0gr0sy21i"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-pytest" ,python-pytest)))
+ (home-page "https://github.com/sdispater/pastel")
+ (synopsis "Library to colorize strings in your terminal")
+ (description "Pastel is a simple library to help you colorize strings in
+your terminal. It comes bundled with predefined styles:
address@hidden
address@hidden info: green
address@hidden comment: yellow
address@hidden question: black on cyan
address@hidden error: white on red
address@hidden enumerate
+")
+ (license license:expat)))
+
+(define-public python2-pastel
+ (package-with-python2 python-pastel))
- branch master updated (4db733e -> da1f7a9), Ben Woodcroft, 2017/09/16
- 01/09: gnu: Add python-backpack., Ben Woodcroft, 2017/09/16
- 07/09: gnu: python-pygments: Update to 2.2.0., Ben Woodcroft, 2017/09/16
- 04/09: gnu: python-pyaml: Update to 17.7.2., Ben Woodcroft, 2017/09/16
- 05/09: gnu: Add python-pastel.,
Ben Woodcroft <=
- 03/09: gnu: Add python-pendulum., Ben Woodcroft, 2017/09/16
- 06/09: gnu: python-cleo: Update to 0.6.1., Ben Woodcroft, 2017/09/16
- 08/09: gnu: python-orator: Update to 0.9.7., Ben Woodcroft, 2017/09/16
- 09/09: gnu: python-orator: Move to (gnu packages databases)., Ben Woodcroft, 2017/09/16
- 02/09: gnu: Add python-pytzdata., Ben Woodcroft, 2017/09/16