diff options
| author | David Elsing <david.elsing@posteo.net> | 2025-06-25 01:44:54 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-08 12:17:14 +0100 |
| commit | bc16afca293e0d52354b795b198e03ac958c78ce (patch) | |
| tree | b46ffd300e00e5a96e88cfcb9b411a764efd7c71 /gnu | |
| parent | f1e29c13630d03da47a98c0901e11ae994b86441 (diff) | |
gnu: Add fortran-toml-f.
* gnu/packages/fortran-xyz.scm: New module.
(fortran-toml-f): New variable.
* gnu/local.mk (GNU_SYSTEM_MODULES): Register new module.
Change-Id: I785c224305b62080889184fd1338c16b5a6695b5
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/local.mk | 1 | ||||
| -rw-r--r-- | gnu/packages/fortran-xyz.scm | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/gnu/local.mk b/gnu/local.mk index 010bb5e8040..5d578c7055a 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -310,6 +310,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/fpga.scm \ %D%/packages/forth.scm \ %D%/packages/fortran-check.scm \ + %D%/packages/fortran-xyz.scm \ %D%/packages/freedesktop.scm \ %D%/packages/freeipmi.scm \ %D%/packages/fsf.scm \ diff --git a/gnu/packages/fortran-xyz.scm b/gnu/packages/fortran-xyz.scm new file mode 100644 index 00000000000..f95385d915a --- /dev/null +++ b/gnu/packages/fortran-xyz.scm @@ -0,0 +1,61 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2025 David Elsing <david.elsing@posteo.net> +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. + +(define-module (gnu packages fortran-xyz) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix build-system meson) + #:use-module (guix git-download) + #:use-module (guix packages) + #:use-module (gnu packages fortran-check) + #:use-module (gnu packages gcc) + #:use-module (gnu packages pkg-config)) + +;;; Please: Try to add new module packages in alphabetic order. +;;; +;;; Code: + +(define-public fortran-toml-f + (package + (name "fortran-toml-f") + (version "0.4.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/toml-f/toml-f") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0lfhk0qqf00gcsl9h78fi3s4k9q8x1aiyp90vyqdv98dnpi9ripr")))) + (build-system meson-build-system) + (native-inputs + (list fortran-test-drive + gfortran + pkg-config)) + (home-page "https://github.com/toml-f/toml-f") + (synopsis "Fortran TOML parser") + (description + "This library provides an implementation of TOML data serialization and +deserialization in Fortran.") + ;; Dual license + (license (list license:expat license:asl2.0)))) + +;;; +;;; Avoid adding new packages to the end of this file. To reduce the chances +;;; of a merge conflict, place them above in alphabetical order. +;;; |
