summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGhislain Vaillant <ghislain.vaillant@inria.fr>2026-08-14 15:53:00 +0200
committerGhislain Vaillant <ghislain.vaillant@inria.fr>2026-08-15 23:21:03 +0200
commitb475f87f172b1f1c7e20c1917488a066b95eedca (patch)
tree82e36e458da458639c1ad04f69bbd71eb1e6f989
parent55ba4856085a084960d8f3a1c00e096368ba1287 (diff)
hep: Add yoda.
* guix-science/packages/hep.scm (siscone): New variable.
-rw-r--r--guix-science/packages/hep.scm55
1 files changed, 55 insertions, 0 deletions
diff --git a/guix-science/packages/hep.scm b/guix-science/packages/hep.scm
index 55e3ce4..ae9d21a 100644
--- a/guix-science/packages/hep.scm
+++ b/guix-science/packages/hep.scm
@@ -5,18 +5,25 @@
5 #:use-module ((guix-science packages physics) 5 #:use-module ((guix-science packages physics)
6 #:select (root)) 6 #:select (root))
7 #:use-module (gnu packages astronomy) 7 #:use-module (gnu packages astronomy)
8 #:use-module (gnu packages autotools)
8 #:use-module (gnu packages boost) 9 #:use-module (gnu packages boost)
9 #:use-module (gnu packages check) 10 #:use-module (gnu packages check)
10 #:use-module (gnu packages cmake) 11 #:use-module (gnu packages cmake)
12 #:use-module (gnu packages compression)
11 #:use-module (gnu packages graphviz) 13 #:use-module (gnu packages graphviz)
14 #:use-module (gnu packages maths)
15 #:use-module (gnu packages pkg-config)
16 #:use-module (gnu packages python)
12 #:use-module (gnu packages python-build) 17 #:use-module (gnu packages python-build)
13 #:use-module (gnu packages python-check) 18 #:use-module (gnu packages python-check)
14 #:use-module (gnu packages python-compression) 19 #:use-module (gnu packages python-compression)
15 #:use-module (gnu packages python-science) 20 #:use-module (gnu packages python-science)
16 #:use-module (gnu packages python-web) 21 #:use-module (gnu packages python-web)
17 #:use-module (gnu packages python-xyz) 22 #:use-module (gnu packages python-xyz)
23 #:use-module (gnu packages serialization)
18 #:use-module (gnu packages statistics) 24 #:use-module (gnu packages statistics)
19 #:use-module (guix build-system cmake) 25 #:use-module (guix build-system cmake)
26 #:use-module (guix build-system gnu)
20 #:use-module (guix build-system pyproject) 27 #:use-module (guix build-system pyproject)
21 #:use-module (guix gexp) 28 #:use-module (guix gexp)
22 #:use-module (guix git) 29 #:use-module (guix git)
@@ -443,3 +450,51 @@ Python.")
443 "This package provides example files (e.g. ROOT) for testing and developing 450 "This package provides example files (e.g. ROOT) for testing and developing
444HEP packages against.") 451HEP packages against.")
445 (license license:bsd-3))) 452 (license license:bsd-3)))
453
454(define-public yoda
455 (package
456 (name "yoda")
457 (version "2.1.3")
458 (source
459 (origin
460 (method git-fetch)
461 (uri (git-reference
462 (url "https://gitlab.com/hepcedar/yoda.git")
463 (commit (string-append "yoda-" version))))
464 (file-name (git-file-name name version))
465 (sha256
466 (base32 "0ilcin5pgh853aqxrjiv5cw0s7bfnb1cbivwx7iwinn94h5znvsn"))))
467 (build-system gnu-build-system)
468 (arguments
469 (list
470 #:tests? #f ;FIXME: Fix compile errors.
471 #:configure-flags
472 #~(list (string-append "--with-highfive="
473 #$(this-package-native-input "highfive"))
474 (string-append "--with-yaml-cpp="
475 #$(this-package-input "yaml-cpp")))
476 #:phases
477 #~(modify-phases %standard-phases
478 (add-after 'unpack 'fix-runpath-validation
479 (lambda _
480 (let* ((lib (string-append #$output "/lib"))
481 (rpath (string-append "-Wl,-rpath=" lib)))
482 (substitute* "pyext/build.py.in"
483 (("@LDFLAGS@")
484 (string-append rpath " @LDFLAGS@")))))))))
485 (inputs (list hdf5 yaml-cpp zlib))
486 (native-inputs (list autoconf
487 automake
488 highfive
489 libtool
490 pkg-config
491 python-cython
492 python-wrapper))
493 (home-page "https://yoda.hepforge.org/")
494 (synopsis "Yet more Objects for Data Analysis")
495 (description
496 "YODA is a small set of data analysis (specifically histogramming) classes
497being developed by MCnet members as a lightweight common system for MC event
498generator validation analyses, particularly as the core histogramming system in
499Rivet.")
500 (license license:gpl3)))