aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-05-27 15:16:17 +0300
committerEfraim Flashner <efraim@flashner.co.il>2021-05-27 16:53:00 +0300
commit34ab622dc355e425ae45414cc36cff93ccd5717a (patch)
treeebf6facd17c1fc71b20ce976cbdd377342bf6eaf /gnu/packages
parent35311e3b25c161175f983be888606b3b371acad0 (diff)
downloadguix-34ab622dc355e425ae45414cc36cff93ccd5717a.tar.gz
guix-34ab622dc355e425ae45414cc36cff93ccd5717a.zip
gnu: Add julia-versionparsing.
* gnu/packages/julia-xyz.scm (julia-versionparsing): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/julia-xyz.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 38a82c7de2..448197ca06 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -1789,6 +1789,31 @@ working with @acronym{URIs,Uniform Resource Identifiers}, as defined in RFC
system.")
(license license:expat)))
+(define-public julia-versionparsing
+ (package
+ (name "julia-versionparsing")
+ (version "1.2.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/JuliaInterop/VersionParsing.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "060s72dsnpavgilf7f7315lw2sn4npk8lkndmj6bg7i23hppiwva"))))
+ (build-system julia-build-system)
+ (home-page "https://github.com/JuliaInterop/VersionParsing.jl")
+ (synopsis "Flexible VersionNumber parsing in Julia")
+ (description "The @code{VersionParsing} package implements flexible parsing
+of version-number strings into Julia's built-in @code{VersionNumber} type, via
+the @code{vparse(string)} function. Unlike the @code{VersionNumber(string)}
+constructor, @code{vparse(string)} can handle version-number strings in a much
+wider range of formats than are encompassed by the semver standard. This is
+useful in order to support @code{VersionNumber} comparisons applied to
+\"foreign\" version numbers from external packages.")
+ (license license:expat)))
+
(define-public julia-zipfile
(package
(name "julia-zipfile")