From 869598d39a532c6acc83bb0b9d21baaa79476973 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Fri, 8 Mar 2024 10:10:08 +0300 Subject: gn-uploader: Use more modern list-style inputs. Fix version number. --- gn/packages/genenetwork.scm | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'gn/packages') diff --git a/gn/packages/genenetwork.scm b/gn/packages/genenetwork.scm index dae4b54..98d92ac 100644 --- a/gn/packages/genenetwork.scm +++ b/gn/packages/genenetwork.scm @@ -350,7 +350,7 @@ (version "0.0.1")) (package (name "gn-uploader") - (version (string-append version (string-take commit 8))) + (version (string-append version "-" (string-take commit 8))) (source (origin (method git-fetch) @@ -371,17 +371,17 @@ (when tests? (invoke "pytest" "-m" "unit_test"))))))) (native-inputs - `(("python-mypy" ,python-mypy) - ("python-pylint" ,python-pylint) - ("python-pytest" ,python-pytest) - ("python-hypothesis" ,python-hypothesis))) + (list python-mypy + python-pylint + python-pytest + python-hypothesis)) (propagated-inputs - `(("gunicorn" ,gunicorn) - ("python-redis" ,python-redis) - ("python-flask" ,python-flask) - ("python-pyyaml" ,python-pyyaml) - ("python-jsonpickle" ,python-jsonpickle) - ("python-mysqlclient" ,python-mysqlclient))) + (list gunicorn + python-redis + python-flask + python-pyyaml + python-jsonpickle + python-mysqlclient)) (synopsis "GeneNetwork Quality Control Application") (description "gn-uploader is a service allowing upload of new data into GeneNetwork, -- cgit v1.2.3