From 24fc0370d0d12f34cffd44801cc6382fc5cc5f23 Mon Sep 17 00:00:00 2001 From: Charles Date: Sat, 30 Sep 2023 15:29:08 -0500 Subject: [PATCH] gnu: Add cl-ini. * gnu/packages/lisp-xyz.scm (sbcl-cl-ini, ecl-cl-ini, cl-ini): New variables. --- gnu/packages/lisp-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index c8a9cc47b1..5ba5c7d519 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -3502,6 +3502,37 @@ (define-public cl-py-configparser (define-public ecl-py-configparser (sbcl-package->ecl-package sbcl-py-configparser)) +(define-public sbcl-cl-ini + (let ((commit "e630acb405022a7ae11969bf908669fee1191ab7") + (revision "0")) + (package + (name "sbcl-cl-ini") + (version (git-version "0.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/compufox/cl-ini") + (commit commit))) + (file-name (git-file-name "sbcl-cl-ini" version)) + (sha256 + (base32 + "12vy3gspqn0wmkyz5id1xrgv1scgb16m7pkvmbmi19vlpj2iyq7p")))) + (build-system asdf-build-system/sbcl) + (native-inputs (list sbcl-prove)) + (inputs (list sbcl-cl-str)) + (home-page "https://github.com/compufox/cl-ini") + (synopsis "INI file parser for Common Lisp") + (description + "Parse INI formatted files into a Common Lisp list structure.") + (license license:expat)))) + +(define-public cl-ini + (sbcl-package->cl-source-package sbcl-cl-ini)) + +(define-public ecl-cl-ini + (sbcl-package->ecl-package sbcl-cl-ini)) + (define-public sbcl-pythonic-string-reader (let ((commit "47a70ba1e32362e03dad6ef8e6f36180b560f86a")) (package