about summary refs log tree commit diff
diff options
context:
space:
mode:
authorpjotrp2026-03-24 17:40:11 +0100
committerpjotrp2026-03-24 17:40:11 +0100
commite05e2ab239cacb45c791e0635ef883bd80382a6b (patch)
treed7357a860cf36706f50deb15602e5f5965622e57
parentb589f2b35e5e14a3888a49a182e930fb5bf93b6d (diff)
downloadguix-bioinformatics-e05e2ab239cacb45c791e0635ef883bd80382a6b.tar.gz
pylmm-gn2 moved to past
-rw-r--r--gn/packages/javascript.scm35
-rw-r--r--gn/packages/statistics.scm42
2 files changed, 35 insertions, 42 deletions
diff --git a/gn/packages/javascript.scm b/gn/packages/javascript.scm
index cca4d07..4f0ae9b 100644
--- a/gn/packages/javascript.scm
+++ b/gn/packages/javascript.scm
@@ -2465,3 +2465,38 @@ browser compatibility, including legacy browsers.
      "Given an element, such as a button, and a tooltip element describing it,
 Popper will automatically put the tooltip in the right place near the button.")
     (license license:expat)))
+
+(define-public javascript-datatables-2.2.2
+  (package
+    (name "javascript-datatables-2.2.2")
+    (version "2.2.2")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/DataTables/Dist-DataTables.git")
+               (commit version)))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32 "1pzpkpybcf9p81j8afyhrmq11l9lskzxhikdv7h7sb55vx98xn9s"))))
+    (build-system trivial-build-system)
+    (arguments
+     `(#:modules ((guix build utils))
+       #:builder
+       (begin
+         (use-modules (guix build utils))
+         (let* ((out (assoc-ref %outputs "out"))
+                (targetdir (string-append out "/share/genenetwork2/javascript/DataTables"))
+                (source (assoc-ref %build-inputs "source")))
+           (copy-recursively source targetdir)))))
+    (propagated-inputs (list javascript-jquery-1))
+    (home-page "https://www.datatables.net/")
+    (synopsis "Tables plug-in for jQuery")
+    (description "DataTables is a table enhancing plug-in for the jQuery
+Javascript library, adding sorting, paging and filtering abilities to plain HTML
+tables with minimal effort.")
+    (license license:expat)))
+
+(define-public javascript-datatables-2.2 javascript-datatables-2.2.2)
+
+(define-public javascript-datatables-2 javascript-datatables-2.2)
diff --git a/gn/packages/statistics.scm b/gn/packages/statistics.scm
index 97a775c..d44e977 100644
--- a/gn/packages/statistics.scm
+++ b/gn/packages/statistics.scm
@@ -15,8 +15,6 @@
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages statistics)
   #:use-module (gnu packages cran)
-  #:use-module (past packages python27)
-
   ;; for python-rpy2 and dependencies
   #:use-module (gnu packages python-build)
   #:use-module (guix build-system pyproject); python-rpy2-rinterface
@@ -57,46 +55,6 @@
      "Data and Functions from the book R Graphics, Second Edition.  There is a function to produce each figure in the book, plus several functions, classes, and methods defined in Chapter 8.")
     (license license:gpl2+)))
 
-(define-public pylmm-gn2
-  (let ((commit "3c6d1cac8"))
-    (package
-      (name "pylmm-gn2")
-      (version (string-append "1.0-" commit ))
-      (source (origin
-                (method git-fetch)
-                (uri (git-reference
-                       (url "https://github.com/genenetwork/pylmm.git")
-                       (commit commit)))
-                (file-name (string-append name "-" commit))
-                (sha256
-                 (base32
-                  "0wryaadb36i275p9d2i1kzflahvbl9kj5wlk8jlbvjij8gpqg964"))))
-      (build-system python-build-system)
-      (inputs `(
-                ("python2-setuptools" ,python2-setuptools)
-                ("python2-scipy" ,python2-scipy)
-                ("python2-numpy" ,python2-numpy)
-                ))
-      (arguments
-       `(#:python ,python-2
-         #:tests? #f        ; no 'setup.py test'
-         #:phases
-         (modify-phases %standard-phases
-           (add-before
-             'build 'change-paths
-             (lambda* (#:key outputs #:allow-other-keys)
-               (let ((out (assoc-ref outputs "out")))
-                 (substitute* "scripts/pylmm_redis"
-                   (("/usr/bin/python") (which "python"))
-                   (("\\$PACKAGEDIR") (string-append out "/lib/python2.7/site-packages")))
-                 ))))))
-
-      (home-page "http://genenetwork.org/")
-      (synopsis "LMM resolver")
-      (description "Fast and lightweight linear mixed-model (LMM) solver
-for use in genome-wide association studies (GWAS).")
-      (license license:agpl3+))))
-
 (define-public r-ctl ; guix: ready
   (package
     (name "r-ctl")