From 486118be92bfc3953f3caf3645f746fa8d697e8d Mon Sep 17 00:00:00 2001 From: Muriithi Frederick Muriuki Date: Sun, 15 Jul 2018 10:32:28 +0300 Subject: gn: New dependencies * gn/packages/edash.scm: (python-wrapper): New dependency * gn/packages/edash.scm: (python-mako): New dependency * gn/packages/edash.scm: (python-pytest): Test dependency --- gn/packages/edash.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gn') diff --git a/gn/packages/edash.scm b/gn/packages/edash.scm index b19042a..8f9a6c8 100644 --- a/gn/packages/edash.scm +++ b/gn/packages/edash.scm @@ -104,15 +104,18 @@ interface to the Amazon Web Services (AWS) API.") (inputs `(("sassc" ,sassc))) (propagated-inputs `(("python" ,python) + ("python-wrapper" ,python-wrapper) ("python-elasticsearch" ,python-elasticsearch) ("python-flask" ,python-flask) ("python-jinja2" ,python-jinja2) + ("python-mako" ,python-mako) ("python-markdown" ,python-markdown) ("python-misaka" ,python-misaka) ("python-pygit2" ,python-pygit2) ("web-bootstrap" ,web-bootstrap) ("sassc" ,sassc) - ("python-boto3" ,python-boto3))) + ("python-boto3" ,python-boto3) + ("python-pytest" ,python-pytest))) (arguments `(#:modules ((guix build utils)) #:builder -- cgit v1.2.3 From 8356cec770ff2b05021620cf92132ca3630026d0 Mon Sep 17 00:00:00 2001 From: Muriithi Frederick Muriuki Date: Tue, 7 Aug 2018 09:10:09 +0300 Subject: gn: Add gunicorn as dependency * gn/packages/edash.scm (gunicorn): New dependency --- gn/packages/edash.scm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'gn') diff --git a/gn/packages/edash.scm b/gn/packages/edash.scm index 8f9a6c8..c98452b 100644 --- a/gn/packages/edash.scm +++ b/gn/packages/edash.scm @@ -10,7 +10,8 @@ #:use-module (gnu packages compression) #:use-module (gnu packages time) #:use-module (gnu packages check) - #:use-module (gn packages web)) + #:use-module (gn packages web) + #:use-module (gn packages python)) (define-public python-s3transfer-0.1.13 (package @@ -101,9 +102,10 @@ interface to the Amazon Web Services (AWS) API.") (build-system trivial-build-system) (native-inputs `(("unzip" ,unzip) ("source" ,source))) - (inputs `(("sassc" ,sassc))) + ;;(inputs `(("sassc" ,sassc))) (propagated-inputs `(("python" ,python) + ("gunicorn" ,gunicorn) ("python-wrapper" ,python-wrapper) ("python-elasticsearch" ,python-elasticsearch) ("python-flask" ,python-flask) @@ -113,7 +115,7 @@ interface to the Amazon Web Services (AWS) API.") ("python-misaka" ,python-misaka) ("python-pygit2" ,python-pygit2) ("web-bootstrap" ,web-bootstrap) - ("sassc" ,sassc) + ;;("sassc" ,sassc) ("python-boto3" ,python-boto3) ("python-pytest" ,python-pytest))) (arguments -- cgit v1.2.3 From 7cb8922f86618eed17bbdd8497261b5e2ce103ad Mon Sep 17 00:00:00 2001 From: Muriithi Frederick Muriuki Date: Thu, 23 Aug 2018 15:10:55 +0300 Subject: gn: Remove Dependency (python-mako) * gn/packages/edash.scm (python-mako): Remove dependency. --- gn/packages/edash.scm | 1 - 1 file changed, 1 deletion(-) (limited to 'gn') diff --git a/gn/packages/edash.scm b/gn/packages/edash.scm index c98452b..c2c5f20 100644 --- a/gn/packages/edash.scm +++ b/gn/packages/edash.scm @@ -110,7 +110,6 @@ interface to the Amazon Web Services (AWS) API.") ("python-elasticsearch" ,python-elasticsearch) ("python-flask" ,python-flask) ("python-jinja2" ,python-jinja2) - ("python-mako" ,python-mako) ("python-markdown" ,python-markdown) ("python-misaka" ,python-misaka) ("python-pygit2" ,python-pygit2) -- cgit v1.2.3 From 377109d375c94eec18073c7260e63ca31d3773b6 Mon Sep 17 00:00:00 2001 From: Muriithi Frederick Muriuki Date: Mon, 24 Sep 2018 14:19:41 +0300 Subject: gn: New variables. New dependencies * gn/packages/edash.scm (python-speaklater,python-flask-mail) New variables. * gn/packages/edash.scm (edash): Add dependencies. --- gn/packages/edash.scm | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 54 insertions(+), 1 deletion(-) (limited to 'gn') diff --git a/gn/packages/edash.scm b/gn/packages/edash.scm index c2c5f20..e4d3a9f 100644 --- a/gn/packages/edash.scm +++ b/gn/packages/edash.scm @@ -7,8 +7,10 @@ #:use-module (gnu packages web) #:use-module (gnu packages python) #:use-module (gnu packages python-web) + #:use-module (gnu packages python-crypto) #:use-module (gnu packages compression) #:use-module (gnu packages time) + #:use-module (gnu packages databases) #:use-module (gnu packages check) #:use-module (gn packages web) #:use-module (gn packages python)) @@ -87,6 +89,50 @@ interface to the Amazon Web Services (AWS) API.") (description "The AWS SDK for Python") (license license:asl2.0))) +(define-public python-speaklater + (package + (name "python-speaklater") + (version "1.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "speaklater" version)) + (sha256 + (base32 + "1ab5dbfzzgz6cnz4xlwx79gz83id4bhiw67k1cgqrlzfs0va7zjr")))) + (build-system python-build-system) + (home-page + "http://github.com/mitsuhiko/speaklater") + (synopsis + "implements a lazy string for python useful for use with gettext") + (description + "implements a lazy string for python useful for use with gettext") + (license license:bsd-3))) + +(define-public python-flask-mail + (package + (name "python-flask-mail") + (version "0.9.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "flask-mail" version)) + (sha256 + (base32 + "0hazjc351s3gfbhk975j8k65cg4gf31yq404yfy0gx0bjjdfpr92")))) + (build-system python-build-system) + (propagated-inputs + `(("python-mock" ,python-mock) + ("python-nose" ,python-nose) + ("python-flask" ,python-flask) + ("python-blinker" ,python-blinker) + ("python-speaklater" ,python-speaklater))) + (home-page + "https://github.com/rduplain/flask-mail") + (synopsis "Flask extension for sending email") + (description "Flask extension for sending email") + (license license:bsd-3))) + (define-public edash (let ((md5 "93e745e9c")) (package @@ -116,7 +162,14 @@ interface to the Amazon Web Services (AWS) API.") ("web-bootstrap" ,web-bootstrap) ;;("sassc" ,sassc) ("python-boto3" ,python-boto3) - ("python-pytest" ,python-pytest))) + ("python-pytest" ,python-pytest) + ("python-flask-login" ,python-flask-login) + ("python-passlib" ,python-passlib) + ("python-pyjwt" ,python-pyjwt) + ("python-sqlalchemy" ,python-sqlalchemy) + ("python-flask-sqlalchemy" ,python-flask-sqlalchemy) + ("python-flask-mail" ,python-flask-mail) + ("python-flask-wtf" ,python-flask-wtf))) (arguments `(#:modules ((guix build utils)) #:builder -- cgit v1.2.3