diff options
| author | Emmanuel Medernach <Emmanuel.Medernach@iphc.cnrs.fr> | 2025-01-15 15:50:15 +0000 |
|---|---|---|
| committer | Romain GARBAGE <romain.garbage@inria.fr> | 2025-01-16 09:53:25 +0100 |
| commit | e6fc8d1cd319ecd49045d6fec71d0c11d7130ade (patch) | |
| tree | 9f10e2870e206d8b9cea1fe77691ddcdb7a8928c | |
| parent | 89140faeac2a3c029f713f9fb263665df293f522 (diff) | |
physics: Add davix.
* guix-science/packages/physics.scm (davix): New variable.
Signed-off-by: Romain Garbage <romain.garbage@inria.fr>
| -rw-r--r-- | guix-science/packages/physics.scm | 54 |
1 files changed, 51 insertions, 3 deletions
diff --git a/guix-science/packages/physics.scm b/guix-science/packages/physics.scm index b0636bb..c1f2574 100644 --- a/guix-science/packages/physics.scm +++ b/guix-science/packages/physics.scm | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | ;;; | 1 | ;;; |
| 2 | ;;; Copyright © 2022 Emmanuel Medernach <Emmanuel.Medernach@iphc.cnrs.fr> | 2 | ;;; Copyright © 2022-2025 Emmanuel Medernach <Emmanuel.Medernach@iphc.cnrs.fr> |
| 3 | ;;; Copyright © 2023-2024 Jake Forster <jakecameron.forster@gmail.com> | 3 | ;;; Copyright © 2023-2024 Jake Forster <jakecameron.forster@gmail.com> |
| 4 | ;;; | 4 | ;;; |
| 5 | ;;; This program is free software; you can redistribute it and/or modify it | 5 | ;;; This program is free software; you can redistribute it and/or modify it |
| @@ -16,10 +16,19 @@ | |||
| 16 | ;;; along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 | ;;; along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 17 | 17 | ||
| 18 | (define-module (guix-science packages physics) | 18 | (define-module (guix-science packages physics) |
| 19 | #:use-module ((guix licenses) #:prefix license:) | 19 | #:use-module (gnu packages curl) |
| 20 | #:use-module (gnu packages linux) | ||
| 21 | #:use-module (gnu packages python) | ||
| 22 | #:use-module (gnu packages tls) | ||
| 23 | #:use-module (gnu packages xml) | ||
| 24 | |||
| 20 | #:use-module (guix build-system cmake) | 25 | #:use-module (guix build-system cmake) |
| 26 | #:use-module (guix gexp) | ||
| 21 | #:use-module (guix git-download) | 27 | #:use-module (guix git-download) |
| 22 | #:use-module (guix packages)) | 28 | #:use-module ((guix licenses) #:prefix license:) |
| 29 | #:use-module (guix packages) | ||
| 30 | |||
| 31 | #:use-module (ice-9 string-fun)) | ||
| 23 | 32 | ||
| 24 | (define (replace-char old-char new-char str) | 33 | (define (replace-char old-char new-char str) |
| 25 | (string-map (lambda (char) | 34 | (string-map (lambda (char) |
| @@ -64,3 +73,42 @@ package.") | |||
| 64 | (base32 "13la49jnadsi5f2a70qagv87j7qzcpdccmbp2lyscaxlkmzy253z")))))) | 73 | (base32 "13la49jnadsi5f2a70qagv87j7qzcpdccmbp2lyscaxlkmzy253z")))))) |
| 65 | 74 | ||
| 66 | (define-public clhep clhep-2.4.7.1) | 75 | (define-public clhep clhep-2.4.7.1) |
| 76 | |||
| 77 | ;; | ||
| 78 | ;; Davix | ||
| 79 | ;; | ||
| 80 | (define-public davix | ||
| 81 | (package | ||
| 82 | (name "davix") | ||
| 83 | (version "0.8.7") | ||
| 84 | (source | ||
| 85 | (origin | ||
| 86 | (method git-fetch) | ||
| 87 | (uri (git-reference | ||
| 88 | (url "https://github.com/cern-fts/davix") | ||
| 89 | (commit (string-append "R_" (string-replace-substring version "." "_"))) | ||
| 90 | (recursive? #t))) ; submodules | ||
| 91 | (file-name (string-append name "-" version)) | ||
| 92 | (sha256 | ||
| 93 | (base32 "1w0alvkhc23iy42kqrb543jja4v6xs7z600vhn890hprj3fmpis2")))) | ||
| 94 | (build-system cmake-build-system) | ||
| 95 | (native-inputs (list python)) | ||
| 96 | (inputs | ||
| 97 | (list `(,util-linux "lib") ; For <uuid/uuid.h> | ||
| 98 | curl | ||
| 99 | libxml2 | ||
| 100 | openssl)) | ||
| 101 | (arguments | ||
| 102 | (list #:configure-flags | ||
| 103 | #~(list "-DEMBEDDED_LIBCURL=FALSE" | ||
| 104 | "-DLIBCURL_BACKEND_BY_DEFAULT=TRUE"))) | ||
| 105 | (home-page "https://davix.web.cern.ch/") | ||
| 106 | (synopsis "Manage files over HTTP-based protocols") | ||
| 107 | (description | ||
| 108 | "Davix aims to make the task of managing files over | ||
| 109 | HTTP-based protocols simple. It is being developed by the | ||
| 110 | IT-SDC-ID section at CERN, and while the project’s purpose | ||
| 111 | is its use on the CERN grid, the functionality offered is | ||
| 112 | generic.") | ||
| 113 | (license license:lgpl2.1+))) | ||
| 114 | |||
