summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGhislain Vaillant <ghislain.vaillant@inria.fr>2026-08-20 21:00:10 +0200
committerGhislain Vaillant <ghislain.vaillant@inria.fr>2026-08-21 08:57:12 +0200
commit16295c14e2f6f22de897a46561f9fba6a5bfbd78 (patch)
treef695107607aacf185616b9964c54377dc5cc898e
parent94edaa19cd058838832e5f5a11e7659ca6be7f0f (diff)
hep: Add photos.
* guix-science/packages/hep.scm (photos): New variable.
-rw-r--r--guix-science/packages/hep.scm42
1 files changed, 42 insertions, 0 deletions
diff --git a/guix-science/packages/hep.scm b/guix-science/packages/hep.scm
index 2f43922..1db0aea 100644
--- a/guix-science/packages/hep.scm
+++ b/guix-science/packages/hep.scm
@@ -520,6 +520,48 @@ and in addition provides the 2-, 3-, and 4-point tensor coefficient functions.")
520 "Implementation of calculation of the hadron jet cross sections in C++.") 520 "Implementation of calculation of the hadron jet cross sections in C++.")
521 (license license:gpl2))) 521 (license license:gpl2)))
522 522
523(define-public photos
524 (package
525 (name "photos")
526 (version "3.64")
527 (source
528 (origin
529 (method url-fetch)
530 (uri (string-append "https://photospp.web.cern.ch/photospp/resources"
531 "/PHOTOS."
532 version
533 "/PHOTOS."
534 version
535 ".tar.gz"))
536 (file-name (string-append name "-" version ".tar.gz"))
537 (sha256
538 (base32 "1vihbbfq575fv4f6592r2r130qm9g5pf7is916j4qr8g7kc4bicj"))))
539 (build-system gnu-build-system)
540 (arguments
541 (list
542 #:tests? #f ;requires mc-tester
543 #:configure-flags
544 #~(list "--with-hepmc" "--with-hepmc3")
545 #:phases
546 #~(modify-phases %standard-phases
547 (add-after 'unpack 'fix-makefile-definitions
548 (lambda _
549 (substitute* "platform/make.inc.in"
550 (("^LD.*=.*@")
551 "LD = @CXX@"))))
552
553 (add-before 'bootstrap 'remove-configure-script
554 (lambda _
555 (delete-file "configure"))))))
556 (inputs (list hepmc2 hepmc3))
557 (native-inputs (list autoconf automake))
558 (home-page "https://photospp.web.cern.ch/photospp/")
559 (synopsis "PHOTOS Monte Carlo for precision simulation of QED in decays")
560 (description
561 "The PHOTOS Monte Carlo is used for the generation of bremsstrahlung in the
562decay of particles and resonances.")
563 (license license:gpl3)))
564
523(define-public python-hepstats 565(define-public python-hepstats
524 (package 566 (package
525 (name "python-hepstats") 567 (name "python-hepstats")