Patchwork gnu: Add python-sadisplay.

login
register
mail settings
Submitter Danny Milosavljevic
Date Dec. 6, 2016, 9:43 p.m.
Message ID <20161206214355.7904-1-dannym@scratchpost.org>
Download mbox | patch
Permalink /patch/18247/
State New
Headers show

Comments

Danny Milosavljevic - Dec. 6, 2016, 9:43 p.m.
* gnu/packages/python.scm (python-sadisplay): New variable.
---
 gnu/packages/python.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
Marius Bakke - Dec. 7, 2016, 1:23 p.m.
Danny Milosavljevic <dannym@scratchpost.org> writes:

> * gnu/packages/python.scm (python-sadisplay): New variable.
> ---
>  gnu/packages/python.scm | 23 +++++++++++++++++++++++
>  1 file changed, 23 insertions(+)

Thanks! I updated home-page to HTTPS and added a python2 variant.

Applied as 1ed21519f7de3931489f45fee0d582a43a563380.

>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index d62422964..68c66b4ea 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -11825,3 +11825,26 @@ the Flask web framework in Python.  It is similar to package
>  @code{python-flask-restful} but supports the @code{python-swagger}
>  documentation builder.")
>      (license license:expat)))
> +
> +(define-public python-sadisplay
> +  (package
> +    (name "python-sadisplay")
> +    (version "0.4.6")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (pypi-uri "sadisplay" version ".tar.gz"))
> +      (sha256
> +        (base32
> +          "0zqad2fl7q26p090qmqgmxbm6iwgf9zij1w8da1g3wdgjj72ql05"))))
> +    (build-system python-build-system)
> +    (propagated-inputs
> +      `(("python-sqlalchemy" ,python-sqlalchemy)))
> +    (native-inputs
> +      `(("python-nose" ,python-nose)))
> +    (home-page "http://bitbucket.org/estin/sadisplay")
> +    (synopsis "SqlAlchemy schema displayer")
> +    (description "This package provides a program to build Entity
> +Relationship diagrams from a SQLAlchemy model (or directly from the
> +database).")
> +    (license license:bsd-3)))

Patch

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index d62422964..68c66b4ea 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -11825,3 +11825,26 @@  the Flask web framework in Python.  It is similar to package
 @code{python-flask-restful} but supports the @code{python-swagger}
 documentation builder.")
     (license license:expat)))
+
+(define-public python-sadisplay
+  (package
+    (name "python-sadisplay")
+    (version "0.4.6")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "sadisplay" version ".tar.gz"))
+      (sha256
+        (base32
+          "0zqad2fl7q26p090qmqgmxbm6iwgf9zij1w8da1g3wdgjj72ql05"))))
+    (build-system python-build-system)
+    (propagated-inputs
+      `(("python-sqlalchemy" ,python-sqlalchemy)))
+    (native-inputs
+      `(("python-nose" ,python-nose)))
+    (home-page "http://bitbucket.org/estin/sadisplay")
+    (synopsis "SqlAlchemy schema displayer")
+    (description "This package provides a program to build Entity
+Relationship diagrams from a SQLAlchemy model (or directly from the
+database).")
+    (license license:bsd-3)))