GNU bug report logs -
#77930
[PATCH] gnu: Add guile-slugify
Previous Next
Reported by: Ayush Jha <ayushjha <at> protonmail.com>
Date: Sat, 19 Apr 2025 22:45:02 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hello,
Ayush Jha <ayushjha <at> protonmail.com> writes:
> Adds slugify library for guile versions 3.0 and 2.2
>
> Change-Id: I549000465584a7fe721aea17db5eb340ba8490b6
> Signed-off-by: Ayush Jha <ayushjha <at> protonmail.com>
Nice. Bonus point if you write a commit log that follows our
conventions—you can use ‘./etc/committer.scm’ to do that, but otherwise
we can do it on your behalf.
> +(define-public guile-slugify
> + (let ((commit "3fbf2684d02b1689ce61df2d6ad983d1b1bf452d")
> + (revision "1"))
I suppose there’s no release tag?
> + (snippet #~(for-each delete-file
> + '("guix.scm" "test.scm" "LICENSE" "README.md")))))
Why delete these files? I would keep them unless there’s a good reason
to do this.
> + (build-system guile-build-system)
> + (native-inputs (list guile-3.0))
> + (home-page "http://github.com/ayys/slugify.scm")
> + (synopsis "A slugify library for Guile inspired by Django's slugify function")
Maybe “Produce URL-safe identifiers from arbitrary string”? See
<https://guix.gnu.org/manual/devel/en/html_node/Synopses-and-Descriptions.html>.
> + (description
> + "A simple Guile Scheme implementation of `slugify`, inspired by Django’s slugify.
> +Converts human-readable text into clean, lowercase, URL-safe identifiers.")
Likewise, could you make it a full sentence?
> +(define-public guile2.2-slugify
> + (package
> + (inherit guile-slugify)
> + (name "guile2.2-slugify")
Unless there’s a need for Guile 2.2 support, I would omit it.
Thanks,
Ludo’.
This bug report was last modified 18 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.