GNU bug report logs -
#77938
[PATCH] gnu: guile-srfi-234-manual: info manual for guile-srfi-234
Previous Next
To reply to this bug, email your comments to 77938 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#77938
; Package
guix-patches
.
(Sun, 20 Apr 2025 12:23:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Yuval Langer <yuval.langer <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 20 Apr 2025 12:23:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/guile-xyz.scm (guile-srfi-234-manual): New variable.
* gnu/packages/guile-xyz.scm (guile-srfi-234): Add guile-srfi-234-manual as propagated input.
---
gnu/packages/guile-xyz.scm | 44 ++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 537e84d3f82..323b0f1e12d 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -4634,6 +4634,49 @@ procedures, and procedures created with it have predictable behavior when
applied to surplus arguments.")
(license license:expat)))
+(define-public guile-srfi-234-manual
+ (let ((version "1.0.0")
+ (revision "1")
+ (commit "2c5eb7308ba0da2cbf525ca853dcc7d626dd1a09"))
+ (package
+ (name "guile-srfi-234-manual")
+ (version (git-version version revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://codeberg.org/kakafarm/guile-srfi-234-manual")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1bdlz9018dbfj4w5hv6qin3q1cfy72i1hh7g5154p1b5vydxr58p"))))
+ (build-system copy-build-system)
+ (arguments
+ (list
+ #:install-plan #~'(("srfi-234.info" "share/info/"))
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'patch-source-shebangs 'compile-the-files
+ (lambda _
+ (import (ice-9 ftw))
+ (system* "emacs"
+ "--batch"
+ "--eval"
+ "(progn
+ (find-file \"srfi-234.org\")
+ (org-texinfo-export-to-info))"))))))
+ (native-inputs (list emacs texinfo))
+ (home-page "https://codeberg.org/kakafarm/guile-srfi-234-manual")
+ (synopsis "Topological sorting module for Guile Scheme")
+ (description
+ "Topological sorting is an algorithm that takes a graph consisting of
+nodes and other nodes that depend on them, forming a partial order, and
+returns a list representing a total ordering of the graph. If the graph is
+cyclic, the topological sort will fail. The procedure topological-sort returns
+three values. If sorting succeeds, the first value contains the result and the
+second and third are #false. If sorting fails, the result is #false and the
+second and third value may provide additional information about the error.")
+ (license license:expat))))
+
(define-public guile-srfi-234
(let ((version "1.0.0")
(revision "1")
@@ -4660,6 +4703,7 @@ applied to surplus arguments.")
(("srfi 234") "srfi srfi-234"))
(rename-file "srfi/234.sld" "srfi/srfi-234.scm"))))))
(native-inputs (list guile-3.0))
+ (propagated-inputs (list guile-srfi-234-manual))
(home-page "https://github.com/scheme-requests-for-implementation/srfi-234")
(synopsis "Topological sorting module for Guile Scheme")
(description
--
2.30.2
This bug report was last modified 3 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.