guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

21/25: gnu: Add python-agate.


From: guix-commits
Subject: 21/25: gnu: Add python-agate.
Date: Sun, 7 Jul 2019 09:49:47 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit dc835e75ce2f8b192cddf9b20e3cffeb5722db6e
Author: Pierre Langlois <address@hidden>
Date:   Thu Jun 13 16:06:24 2019 +0100

    gnu: Add python-agate.
    
    * gnu/packages/wireservice.scm (python-agate): New variable.
    
    Signed-off-by: Ludovic Court├Ęs <address@hidden>
---
 gnu/packages/wireservice.scm | 35 ++++++++++++++++++++++++++++++++++-
 1 file changed, 34 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/wireservice.scm b/gnu/packages/wireservice.scm
index 290b027..db17c55 100644
--- a/gnu/packages/wireservice.scm
+++ b/gnu/packages/wireservice.scm
@@ -25,7 +25,8 @@
   #:use-module (gnu packages check)
   #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
-  #:use-module (gnu packages sphinx))
+  #:use-module (gnu packages sphinx)
+  #:use-module (gnu packages time))
 
 ;; Base package definition for packages from https://github.com/wireservice.
 ;; This is done so we can share how to run tests and build documentation.
@@ -89,3 +90,35 @@
     (synopsis "Python charting for 80% of humans")
     (description "Leather is a Python charting library for those who need
 charts now and don't care if they're perfect.")))
+
+(define-public python-agate
+  (package
+    (inherit base-package)
+    (name "python-agate")
+    (version "1.6.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/wireservice/agate.git";)
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "077zj8xad8hsa3nqywvf7ircirmx3krxdipl8wr3dynv3l3khcpl"))))
+    (native-inputs
+     `(("python-cssselect" ,python-cssselect)
+       ("python-lxml" ,python-lxml)
+       ,@(package-native-inputs base-package)))
+    (propagated-inputs
+     `(("python-babel" ,python-babel)
+       ("python-isodate" ,python-isodate)
+       ("python-leather" ,python-leather)
+       ("python-parsedatetime" ,python-parsedatetime)
+       ("python-pytimeparse" ,python-pytimeparse)
+       ("python-six" ,python-six)
+       ("python-slugify" ,python-slugify)))
+    (home-page "https://agate.rtfd.org";)
+    (synopsis "Data analysis library")
+    (description "Agate is a Python data analysis library.  It is an
+alternative to numpy and pandas that solves real-world problems with readable
+code.  Agate was previously known as journalism.")))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]