diff options
| -rw-r--r-- | guix-science/packages/hep.scm | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/guix-science/packages/hep.scm b/guix-science/packages/hep.scm index b38fcf0..bf2265a 100644 --- a/guix-science/packages/hep.scm +++ b/guix-science/packages/hep.scm | |||
| @@ -25,6 +25,7 @@ | |||
| 25 | #:use-module (gnu packages serialization) | 25 | #:use-module (gnu packages serialization) |
| 26 | #:use-module (gnu packages statistics) | 26 | #:use-module (gnu packages statistics) |
| 27 | #:use-module (gnu packages swig) | 27 | #:use-module (gnu packages swig) |
| 28 | #:use-module (gnu packages time) | ||
| 28 | #:use-module (guix build-system cmake) | 29 | #:use-module (guix build-system cmake) |
| 29 | #:use-module (guix build-system gnu) | 30 | #:use-module (guix build-system gnu) |
| 30 | #:use-module (guix build-system pyproject) | 31 | #:use-module (guix build-system pyproject) |
| @@ -767,6 +768,46 @@ physics from the Standard Model to BSM theories, and from perturbative jet, | |||
| 767 | boson and top-quarks to hadron decays, inclusive QCD, and Heavy Ion physics.") | 768 | boson and top-quarks to hadron decays, inclusive QCD, and Heavy Ion physics.") |
| 768 | (license license:gpl3))) | 769 | (license license:gpl3))) |
| 769 | 770 | ||
| 771 | ;; FIXME: Build with rivet support. | ||
| 772 | ;; FIXME: Build with zlib support. | ||
| 773 | (define-public thepeg | ||
| 774 | ;; Upstream does not tag releases. | ||
| 775 | (let ((commit "5afed9e448f4be43c32c629e11edc011bfd12707") | ||
| 776 | (revision "0") | ||
| 777 | (version "2.3.0")) | ||
| 778 | (package | ||
| 779 | (name "thepeg") | ||
| 780 | (version (git-version version revision commit)) | ||
| 781 | (source | ||
| 782 | (origin | ||
| 783 | (method git-fetch) | ||
| 784 | (uri (git-reference | ||
| 785 | (url "https://gitlab.com/hep-mirrors/thepeg.git") | ||
| 786 | (commit commit))) | ||
| 787 | (file-name (git-file-name name version)) | ||
| 788 | (sha256 | ||
| 789 | (base32 "1jij79ycb3x3cid06iz9x3xln8sypgdwxph5j8srrgk5x6ccdqqx")))) | ||
| 790 | (build-system gnu-build-system) | ||
| 791 | (arguments | ||
| 792 | (list | ||
| 793 | #:configure-flags | ||
| 794 | #~(list "--with-hepmc" "--with-hepmcversion=3" "--without-zlib") | ||
| 795 | #:phases | ||
| 796 | #~(modify-phases %standard-phases | ||
| 797 | (add-after 'unpack 'fix-lhapdf-flags | ||
| 798 | (lambda _ | ||
| 799 | (substitute* "m4/lhapdf.m4" | ||
| 800 | (("LHAPDF_LDFLAGS=.*\"") | ||
| 801 | "LHAPDF_LDFLAGS=\"`${lhaconfig} --ldflags`\""))))))) | ||
| 802 | (inputs (list fastjet gsl hepmc3 lhapdf)) | ||
| 803 | (native-inputs (list autoconf automake boost libtool time)) | ||
| 804 | (home-page "https://thepeg.hepforge.org/") | ||
| 805 | (synopsis "Toolkit for High Energy Physics Event Generation") | ||
| 806 | (description | ||
| 807 | "ThePEG is a toolkit for implementing HEP event generators, used as the | ||
| 808 | common event-generation framework underlying Herwig 7.") | ||
| 809 | (license license:gpl3)))) | ||
| 810 | |||
| 770 | (define-public yoda | 811 | (define-public yoda |
| 771 | (package | 812 | (package |
| 772 | (name "yoda") | 813 | (name "yoda") |
