about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-07-15 11:57:29 -0500
committerFrederick Muriuki Muriithi2024-07-15 11:57:29 -0500
commit6c813c9a45b36f6d4ebae6bd4b4206f39c9fcb8a (patch)
treee2e3483f44c2b167fff5c1fed3117e3458d4a556
parent4f35f32db59b1f80a399460380da6b442f28288f (diff)
downloadguix-bioinformatics-6c813c9a45b36f6d4ebae6bd4b4206f39c9fcb8a.tar.gz
gn-auth: Add commit and revision to version. Update commit and hash.
-rw-r--r--gn/packages/genenetwork.scm90
1 files changed, 46 insertions, 44 deletions
diff --git a/gn/packages/genenetwork.scm b/gn/packages/genenetwork.scm
index b1ec0ec..007dd71 100644
--- a/gn/packages/genenetwork.scm
+++ b/gn/packages/genenetwork.scm
@@ -468,50 +468,52 @@
      (license license:agpl3+))))
 
 (define-public gn-auth
-  (package
-    (name "gn-auth")
-    (version "1.0.1")
-    (source
-     (origin
-       (method git-fetch)
-       (uri (git-reference
-            (url "https://git.genenetwork.org/gn-auth")
-            (commit "c8658a764cf30605c6e5a1361dcd09ddd422e371")))
-       (hash
-       (content-hash
-        (base32
-         "1hc95p0nif1r973f61qixm1dxahnczsj9iy9r3d26jn8xv1lfz53")))))
-    (build-system python-build-system)
-    (arguments
-     (list
-      #:phases
-      #~(modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key tests? #:allow-other-keys)
-             (when tests?
-              (invoke "pytest" "-k" "unit_test")))))))
-    (native-inputs
-     (list python-hypothesis
-           python-mypy
-           python-mypy-extensions
-           python-pylint
-           python-pytest
-           python-pytest-mock))
-    (propagated-inputs
-     (list gunicorn
-           python-argon2-cffi
-           python-authlib
-           python-email-validator
-           python-flask
-           python-flask-cors
-           python-mysqlclient
-           python-pymonad
-           python-redis
-           yoyo-migrations))
-    (home-page "https://github.com/genenetwork/gn-auth")
-    (synopsis "Authentication and Authorisation server for GeneNetwork services")
-    (description "Authentication and Authorisation server for GeneNetwork services.")
-    (license license:agpl3+)))
+  (let ((commit "587cbf1c555a0c953e89bbb384f8dda5406e5c20")
+        (revision "01"))
+    (package
+      (name "gn-auth")
+      (version (git-version "1.0.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://git.genenetwork.org/gn-auth")
+               (commit commit)))
+         (hash
+          (content-hash
+           (base32
+            "11aiwpwxhmysgzkv1xzv7p0kzm5rnaaz2v7v6hgma0f85l7c4xam")))))
+      (build-system python-build-system)
+      (arguments
+       (list
+        #:phases
+        #~(modify-phases %standard-phases
+            (replace 'check
+              (lambda* (#:key tests? #:allow-other-keys)
+                (when tests?
+                  (invoke "pytest" "-k" "unit_test")))))))
+      (native-inputs
+       (list python-hypothesis
+             python-mypy
+             python-mypy-extensions
+             python-pylint
+             python-pytest
+             python-pytest-mock))
+      (propagated-inputs
+       (list gunicorn
+             python-argon2-cffi
+             python-authlib
+             python-email-validator
+             python-flask
+             python-flask-cors
+             python-mysqlclient
+             python-pymonad
+             python-redis
+             yoyo-migrations))
+      (home-page "https://github.com/genenetwork/gn-auth")
+      (synopsis "Authentication and Authorisation server for GeneNetwork services")
+      (description "Authentication and Authorisation server for GeneNetwork services.")
+      (license license:agpl3+))))
 
 ;; ./pre-inst-env guix download http://files.genenetwork.org/raw_database/db_webqtl_s.zip
 ;; 0sscjh0wml2lx0mb43vf4chg9gpbfi7abpjxb34n3kyny9ll557x