From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
To: 73876@debbugs.gnu.org
Cc: Nicolas Graves <ngraves@ngraves.fr>
Subject: [bug#73876] [PATCH v2 1/3] gnu: Add libversion.
Date: Sun, 20 Oct 2024 16:21:33 +0200 [thread overview]
Message-ID: <20241020142144.22877-1-ngraves@ngraves.fr> (raw)
In-Reply-To: <20241019085518.18205-1-ngraves@ngraves.fr>
* gnu/packages/version-control.scm (libversion): New variable.
---
gnu/packages/version-control.scm | 34 +++++++++++++++++++++++++++++++-
1 file changed, 33 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 6bd37fee82..b14ec77ff5 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -47,7 +47,7 @@
;;; Copyright © 2022 Maxime Devos <maximedevos@telenet.be>
;;; Copyright © 2022 Dhruvin Gandhi <contact@dhruvin.dev>
;;; Copyright © 2015, 2022 David Thompson <davet@gnu.org>
-;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr>
+;;; Copyright © 2023, 2024 Nicolas Graves <ngraves@ngraves.fr>
;;; Copyright © 2023 Bruno Victal <mirai@makinata.eu>
;;; Copyright © 2023 Kjartan Oli Agustsson <kjartanoli@disroot.org>
;;; Copyright © 2023 Steve George <steve@futurile.net>
@@ -1251,6 +1251,38 @@ (define-public libgit2-1.3
;; Tests may be disabled if cross-compiling.
(format #t "Test suite not run.~%"))))))))))
+(define-public libversion
+ (package
+ (name "libversion")
+ (version "3.0.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/repology/libversion")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "186dq3x9w8k5xp4b84ms7f5cm10si3yzs52iscgv0xs58c7rfja4"))))
+ (build-system cmake-build-system)
+ (home-page "https://github.com/repology/libversion")
+ (synopsis "Version string comparison library")
+ (description "This package provides a very advanced string comparison
+library, used by the @url{https://repology.org, Repology} project, and able to
+compare versions with:
+
+@itemize
+@item insignificant components
+@item leading zero
+@item unusual separators
+@item letter suffixes
+@item alphanumeric prerelease components
+@item prerelease keywords
+@item patch, post and pl keywords
+@item customizable handling of ambiguous p keyword
+@end itemize")
+ (license license:expat)))
+
(define-public git-crypt
(package
(name "git-crypt")
--
2.46.0
next prev parent reply other threads:[~2024-10-20 14:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-19 8:49 [bug#73876] [PATCH 0/3] Add postgresql-libversion Nicolas Graves via Guix-patches via
2024-10-19 9:09 ` [bug#73876] [PATCH 1/3] gnu: Add libversion Nicolas Graves via Guix-patches via
2024-10-19 9:09 ` [bug#73876] [PATCH 2/3] gnu: final-postgresql: Move to (gnu packages databases) Nicolas Graves via Guix-patches via
2024-10-19 9:09 ` [bug#73876] [PATCH 3/3] gnu: Add postgresql-libversion Nicolas Graves via Guix-patches via
2024-10-20 14:21 ` Nicolas Graves via Guix-patches via [this message]
2024-10-20 14:21 ` [bug#73876] [PATCH v2 2/3] " Nicolas Graves via Guix-patches via
2024-10-20 14:21 ` [bug#73876] [PATCH v2 3/3] gnu: databases: Rewrite final-postgresql for postgresql-service Nicolas Graves via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241020142144.22877-1-ngraves@ngraves.fr \
--to=guix-patches@gnu.org \
--cc=73876@debbugs.gnu.org \
--cc=ngraves@ngraves.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).