diff options
author | Shepherd on Tux02 | 2024-06-20 08:37:15 -0500 |
---|---|---|
committer | Shepherd on Tux02 | 2024-06-20 08:37:15 -0500 |
commit | fe5fd5cb23907f8e37edafda96bafa608a3e0e7f (patch) | |
tree | 0b4cec2038dde07fe26f1c6882369f36a9545a19 /gn/packages/ocaml.scm | |
parent | f0f8dc84eca7088177797f84db05314537615c77 (diff) | |
parent | 0362ee068a39ce9a5fd6f0fba9cd5586211f07f1 (diff) | |
download | guix-bioinformatics-fe5fd5cb23907f8e37edafda96bafa608a3e0e7f.tar.gz |
Merge branch 'master' of /home/git/public/guix-bioinformatics
Diffstat (limited to 'gn/packages/ocaml.scm')
-rw-r--r-- | gn/packages/ocaml.scm | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/gn/packages/ocaml.scm b/gn/packages/ocaml.scm index 4aa2543..7c6020a 100644 --- a/gn/packages/ocaml.scm +++ b/gn/packages/ocaml.scm @@ -1,9 +1,11 @@ (define-module (gn packages ocaml) #:use-module (guix packages) + #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix build-system ocaml) #:use-module (gnu packages) - #:use-module (gnu packages ocaml)) + #:use-module (gnu packages ocaml) + #:use-module (gnu packages maths)) ;; This is the last version supported by ocaml-4.07. (define-public ocaml4.07-lwt-5.5.0 @@ -23,5 +25,26 @@ "1jbjz2rsz3j56k8vh5qlmm87hhkr250bs2m3dvpy9vsri8rkzj9z")))) (properties '())))) +(define-public ocaml4.07-gsl-1 + (package-with-ocaml4.07 + (package + (inherit ocaml-gsl) + (version "1.19.3") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/mmottl/gsl-ocaml" + "/releases/download/v" + version "/gsl-ocaml-" version ".tar.gz")) + (sha256 + (base32 + "0nzp43hp8pbjqkrxnwp5lgjrabxayf61h18fjaydi0s5faq6f3xh")))) + (build-system ocaml-build-system) + (inputs + `(("gsl" ,gsl-static))) + (native-inputs + `(("ocamlbuild" ,ocamlbuild))) + (arguments '()) + (propagated-inputs '())))) + (define-public build-with-ocaml4.07 (package-input-rewriting/spec `(("ocaml4.07-lwt" . ,(const ocaml4.07-lwt-5.5.0))))) |