[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/07: gnu: Add mini.
From: |
guix-commits |
Subject: |
05/07: gnu: Add mini. |
Date: |
Mon, 11 Sep 2023 17:56:41 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit a35bfb61168ee706a94556a5bf834d27c022d2bd
Author: Sergio Pastor Pérez <sergio.pastorperez@outlook.es>
AuthorDate: Sun Sep 10 17:42:05 2023 +0200
gnu: Add mini.
* gnu/packages/image.scm (mini): New variable.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/image.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 75f9e3c691..b41c1eac73 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -1931,6 +1931,45 @@ medical image data, e.g. magnetic resonance image (MRI)
and functional MRI
(home-page "https://niftilib.sourceforge.net")
(license license:public-domain)))
+(define-public mini
+ (package
+ (name "mini")
+ (version "0.9.14")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/pulzed/mINI")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "01wn7h9rjz9h6cr11dd62jsb3315d1h6c33pdmwi2l7d8a4n3h8d"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (delete 'build)
+ (delete 'configure)
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion "tests"
+ (for-each (lambda (test)
+ (let ((test-name (basename test
+ ".cpp")))
+ (invoke "./build.sh" test-name)
+ (invoke "./run.sh" test-name)))
+ (find-files "." ".cpp"))))))
+ (replace 'install
+ (lambda _
+ (install-file "src/mini/ini.h"
+ (string-append #$output "/include/mini")))))))
+ (home-page "https://github.com/pulzed/mINI")
+ (synopsis "INI file reader and writer header library")
+ (description
+ "This is a tiny, header-only C++ library for manipulating INI files.")
+ (license license:expat)))
+
(define-public gpick
(package
(name "gpick")
- branch master updated (ab971e9c19 -> 5ff9afb5fd), guix-commits, 2023/09/11
- 01/07: gnu: yelp: Provide dependencies to display "man:" URIs., guix-commits, 2023/09/11
- 05/07: gnu: Add mini.,
guix-commits <=
- 03/07: gnu: Add emacs-notmuch-indicator., guix-commits, 2023/09/11
- 04/07: gnu: emacs-php-mode: Update URL., guix-commits, 2023/09/11
- 02/07: gnu: Add emacs-yeetube., guix-commits, 2023/09/11
- 06/07: gnu: Add picket., guix-commits, 2023/09/11
- 07/07: gnu: emacs-mastodon: Update to 1.0.0-1.20dec88., guix-commits, 2023/09/11