unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Vinicius Monego <monego@posteo.net>
To: 51662@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#51662] [PATCH 3/7] gnu: Add rust-snake-case-0.3.
Date: Sun,  7 Nov 2021 14:15:25 +0000	[thread overview]
Message-ID: <20211107141529.59868-3-monego@posteo.net> (raw)
In-Reply-To: <20211107141529.59868-1-monego@posteo.net>

* gnu/packages/crates-io.scm (rust-snake-case-0.3): New variable.
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d79bc8676d..b583e8b8aa 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47844,6 +47844,29 @@ More importantly, this library also provides the ability to un-escape a given
 escaped text to recover the original string.")
     (license license:gpl3)))
 
+(define-public rust-snake-case-0.3
+  (package
+    (name "rust-snake-case")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "snake-case" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1v4f132rk9wxiw8hb3kgnixirzr8kbfhg2lgsf4b85vbg02a0jfn"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:rust ,rust-1.52 ; fix for E0658
+       #:cargo-inputs (("rust-serde" ,rust-serde-1))))
+    (home-page "https://github.com/emilk/snake_case")
+    (synopsis "String-like type that only contains non-empty snake_case")
+    (description
+     "This package provides a String-like type that can only contain valid
+non-empty snake_case.")
+    (license license:expat)))
+
 (define-public rust-snap-1
   (package
     (name "rust-snap")
-- 
2.30.2





  parent reply	other threads:[~2021-11-07 14:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-07 14:13 [bug#51662] [PATCH 0/7] More crates for NewsFlash Vinicius Monego
2021-11-07 14:15 ` [bug#51662] [PATCH 1/7] gnu: Add rust-color-backtrace-0.5 Vinicius Monego
2021-11-07 14:15   ` [bug#51662] [PATCH 2/7] gnu: Add rust-xmltree-0.10 Vinicius Monego
2021-11-07 14:15   ` Vinicius Monego [this message]
2021-11-07 14:15   ` [bug#51662] [PATCH 4/7] gnu: Add rust-diffus-derive-0.10 Vinicius Monego
2021-11-07 14:15   ` [bug#51662] [PATCH 5/7] gnu: Add rust-diffus-0.10 Vinicius Monego
2021-11-07 14:15   ` [bug#51662] [PATCH 6/7] gnu: Add rust-log-mdc-0.1 Vinicius Monego
2021-11-07 14:15   ` [bug#51662] [PATCH 7/7] gnu: Add rust-log4rs-1 Vinicius Monego
2021-11-07 20:40 ` bug#51662: [PATCH 0/7] More crates for NewsFlash Efraim Flashner

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=20211107141529.59868-3-monego@posteo.net \
    --to=monego@posteo.net \
    --cc=51662@debbugs.gnu.org \
    /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).