guix-patches
[Top][All Lists]
Advanced

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

[bug#63619] [PATCH 1/9] gnu: Add python-vega-datasets.


From: Vinicius Monego
Subject: [bug#63619] [PATCH 1/9] gnu: Add python-vega-datasets.
Date: Sat, 20 May 2023 23:12:33 +0000

* gnu/packages/statistics.scm (python-vega-datasets): New variable.
---
 gnu/packages/statistics.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 13232a00e3..d42c6baed6 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -2062,6 +2062,26 @@ (define-public r-xtable
      "This package provides tools to export R data as LaTeX and HTML tables.")
     (license license:gpl2+)))
 
+(define-public python-vega-datasets
+  (package
+    (name "python-vega-datasets")
+    (version "0.9.0")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "vega_datasets" version))
+              (sha256
+               (base32
+                "1h1zv607mars2j73v8fdwihjh479blqxyw29nhmc73lf40s9iglx"))))
+    (build-system pyproject-build-system)
+    (arguments
+     `(#:tests? #f))                ; this is a data-only package, so no tests
+    (propagated-inputs (list python-pandas))
+    (home-page "https://github.com/altair-viz/vega_datasets";)
+    (synopsis "Example datasets used by Vega-related projects")
+    (description "This package provides a collection of datasets used in Vega
+and Vega-Lite examples.")
+    (license license:expat)))
+
 (define-public python-hdmedians
   (package
     (name "python-hdmedians")
-- 
2.34.1






reply via email to

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