[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/11: gnu: Add python-schematics.
From: |
David Craven |
Subject: |
07/11: gnu: Add python-schematics. |
Date: |
Sun, 28 Aug 2016 12:20:28 +0000 (UTC) |
dvc pushed a commit to branch master
in repository guix.
commit 05b59190df900913bfe5f141cc7ff1252219bfeb
Author: David Craven <address@hidden>
Date: Fri Aug 5 19:30:24 2016 +0200
gnu: Add python-schematics.
* gnu/packages/python.scm (python-schematics): New variable.
(python2-schematics): New variable.
---
gnu/packages/python.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 3e024e7..bab19b3 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -10103,3 +10103,35 @@ interface for programs.")
(native-inputs
`(("python2-setuptools" ,python2-setuptools)
,@(package-native-inputs base))))))
+
+(define-public python-schematics
+ (package
+ (name "python-schematics")
+ (version "1.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/schematics/schematics/archive/v" version
".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "19v1i69bf3bzarfxmbv0v6ivpcn758x3shvbiy9l2hy0lvqwnp6l"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-six" ,python-six)))
+ (arguments
+ `(#:tests? #f)) ; requires a bunch of not very nice packages with fixed
+ ; version requirements (eg python-coveralls)
+ (home-page "https://github.com/schematics/schematics")
+ (synopsis "Python Data Structures for Humans")
+ (description "Python Data Structures for Humans.")
+ (license license:bsd-3)
+ (properties `((python2-variant . ,(delay python2-schematics))))))
+
+(define-public python2-schematics
+ (let ((base (package-with-python2 (strip-python2-variant
python-schematics))))
+ (package (inherit base)
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-native-inputs base))))))
- branch master updated (1ae27aa -> 520af15), David Craven, 2016/08/28
- 03/11: gnu: Add python-binaryornot., David Craven, 2016/08/28
- 07/11: gnu: Add python-schematics.,
David Craven <=
- 10/11: gnu: Add python-url., David Craven, 2016/08/28
- 11/11: gnu: python-ipaddress: Update to 1.0.16., David Craven, 2016/08/28
- 04/11: gnu: Add python-nltk., David Craven, 2016/08/28
- 08/11: gnu: Add python-publicsuffix., David Craven, 2016/08/28
- 09/11: gnu: Add python-publicsuffix2., David Craven, 2016/08/28
- 05/11: gnu: Add python-pymongo., David Craven, 2016/08/28
- 01/11: import: Importers return prefixed licenses., David Craven, 2016/08/28
- 06/11: gnu: Add python-sh., David Craven, 2016/08/28
- 02/11: gnu: python: Import guix licenses with #:prefix license:., David Craven, 2016/08/28