guix-commits
[Top][All Lists]
Advanced

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

03/272: gnu: Add rust-nipper-0.1.


From: guix-commits
Subject: 03/272: gnu: Add rust-nipper-0.1.
Date: Sat, 13 Feb 2021 05:53:42 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit 28e8df3a0373004bcdb066e349fd4beca7cbbea6
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue Feb 9 11:31:21 2021 +0100

    gnu: Add rust-nipper-0.1.
    
    * gnu/packages/crates-io.scm (rust-nipper-0.1): New variable.
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8759d9b..0205591 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21579,6 +21579,34 @@ cryptographic library.")
 release (fork of debug_unreachable)")
     (license license:expat)))
 
+(define-public rust-nipper-0.1
+  (package
+    (name "rust-nipper")
+    (version "0.1.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "nipper" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0l003qvzivrqq2lj2cdn4q5x0fg6xczld13m41x492x0g91hwvap"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-cssparser" ,rust-cssparser-0.27)
+        ("rust-html5ever" ,rust-html5ever-0.25)
+        ("rust-markup5ever" ,rust-markup5ever-0.10)
+        ("rust-selectors" ,rust-selectors-0.22)
+        ("rust-tendril" ,rust-tendril-0.4))))
+    (home-page "https://github.com/importcjj/nipper";)
+    (synopsis "HTML manipulation with CSS selectors")
+    (description
+     "Nipper is based on HTML crate html5ever and the CSS selector crate
+selectors.  You can use the jQuery-like syntax to query and manipulate an HTML
+document quickly.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-nix-0.19
   (package
     (name "rust-nix")



reply via email to

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