guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

161/188: gnu: Add rust-semver-0.10.


From: guix-commits
Subject: 161/188: gnu: Add rust-semver-0.10.
Date: Mon, 12 Oct 2020 02:25:31 -0400 (EDT)

arunisaac pushed a commit to branch master
in repository guix.

commit 640e6c8dca46cc42103316f9f2596168d8355f85
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Mon Sep 21 00:10:48 2020 +0530

    gnu: Add rust-semver-0.10.
    
    * gnu/packages/crates-io.scm (rust-semver-0.10): New variable.
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ef3cfff..f123f37 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -23441,6 +23441,33 @@ macOS and iOS.")
     (description "Rust semaphore library.")
     (license license:expat)))
 
+(define-public rust-semver-0.10
+  (package
+    (name "rust-semver")
+    (version "0.10.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "semver" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1401i88135h2paxwvf0b51hf585rdzxa8yxg7j800gk2z8lfqk1r"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-diesel" ,rust-diesel-1)
+        ("rust-semver-parser" ,rust-semver-parser-0.7)
+        ("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs
+       (("rust-serde-derive" ,rust-serde-derive-1)
+        ("rust-serde-json" ,rust-serde-json-1))))
+    (home-page "https://docs.rs/crate/semver/";)
+    (synopsis "Semantic version parsing and comparison")
+    (description "This package provides semantic version parsing and
+comparison.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-semver-0.9
   (package
     (name "rust-semver")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]