From 25517f3f774e50effde6205b2f1b21433e9e51b0 Mon Sep 17 00:00:00 2001 From: q-posev Date: Tue, 26 Jul 2022 14:05:30 +0200 Subject: [PATCH] Update the Guix manifest file for trexio package --- tools/trexio.scm | 37 +++++++++++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) diff --git a/tools/trexio.scm b/tools/trexio.scm index 5f8deb9..4b75519 100644 --- a/tools/trexio.scm +++ b/tools/trexio.scm @@ -4,12 +4,12 @@ #:use-module (gnu packages glib) #:use-module (gnu packages gcc) #:use-module (gnu packages autotools) - #:use-module (gnu packages maths) + #:use-module (gnu packages maths) ;; contains hdf5 #:use-module (guix download) #:use-module (guix build-system gnu) #:use-module (guix licenses)) -(define-public trexio +(define-public trexio-2.0 (package (name "trexio") (version "2.0") @@ -20,6 +20,7 @@ ".tar.gz")) (sha256 (base32 + ;; the hash below is produced by guix download "1d2cn4w2r9gfid5b9wrq9q290kqdnbjdmvli76s1i5r58kdg5vkf" )))) (build-system gnu-build-system) @@ -31,4 +32,36 @@ (home-page "https://trex-coe.github.io/trexio") (license bsd-3))) +(define-public trexio-2.1 + (package/inherit trexio-2.0 + (version "2.1.0") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/TREX-CoE/trexio/releases/download/v" version + "/trexio-" version + ".tar.gz")) + (sha256 + (base32 + ;; the hash below is produced by guix download + "10syfw4mq3wpp9anahmxnm7660bm1ya5xd9l5njai3xr8g4nca13" + )))))) + +(define-public trexio-2.2 + (package/inherit trexio-2.0 + (version "2.2.0") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/TREX-CoE/trexio/releases/download/v" version + "/trexio-" version + ".tar.gz")) + (sha256 + (base32 + ;; the hash below is produced by guix download + "1n9n1gbk5hgvg73am991xrv7ap002rz719a3nvh8m8ff9x10qd76" + )))))) + +(define-public trexio + ;; Default version of TREXIO. + trexio-2.2) + trexio