GNU bug report logs - #46543
[PATCH] gnu: Add pup.

Previous Next

Package: guix-patches;

Reported by: Stefan Reichör <stefan <at> xsteve.at>

Date: Mon, 15 Feb 2021 19:56:01 UTC

Severity: normal

Tags: patch

Done: 宋文武 <iyzsong <at> outlook.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: 宋文武 <iyzsong <at> outlook.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#46543: closed ([PATCH] gnu: Add pup.)
Date: Tue, 16 Feb 2021 08:14:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 16 Feb 2021 16:14:55 +0800
with message-id <OSZP286MB0664B5EFC6EE1FDACECF75FDA3879 <at> OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM>
and subject line Re: bug#46543: [PATCH] gnu: Add pup.
has caused the debbugs.gnu.org bug report #46543,
regarding [PATCH] gnu: Add pup.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
46543: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=46543
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefan Reichör <stefan <at> xsteve.at>
To: guix-patches <at> gnu.org
Cc: Stefan Reichör <stefan <at> xsteve.at>
Subject: [PATCH] gnu: Add pup.
Date: Mon, 15 Feb 2021 20:54:42 +0100
* gnu/packages/web.scm (pup): New variable.
---
 gnu/packages/web.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 96d5f8f0b3..01c3746c8a 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -47,6 +47,7 @@
 ;;; Copyright © 2020 Michael Rohleder <mike <at> rohleder.de>
 ;;; Copyright © 2020, 2021 Ryan Prior <rprior <at> protonmail.com>
 ;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407 <at> posteo.ro>
+;;; Copyright © 2021 Stefan Reichör <stefan <at> xsteve.at>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4869,6 +4870,33 @@ little effort, and the program to do so is often shorter and simpler than
 you'd expect.")
     (license (list license:expat license:cc-by3.0))))
 
+(define-public pup
+  (let ((revision "1")
+        (commit "681d7bb639334bf485476f5872c5bdab10931f9a"))
+    (package
+      (name "pup")
+      (version (git-version "0.4.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/ericchiang/pup")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1hx1k0qlc1bq6gg5d4yprn4d7kvqzagg6mi5mvb39zdq6c4y17vr"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/ericchiang/pup"))
+      (home-page "https://github.com/ericchiang/pup")
+      (synopsis "Parse HTML at the command line")
+      (description
+       "@command{pup} is a command line tool for processing HTML.  It reads from stdin,
+prints to stdout, and allows the user to filter parts of the page using CSS
+selectors.  Inspired by @command{jq}, @command{pup} aims to be a fast and
+flexible way of exploring HTML from the terminal.")
+      (license license:expat))))
+
 (define-public uhttpmock
   (package
     (name "uhttpmock")
-- 
2.25.1



[Message part 3 (message/rfc822, inline)]
From: 宋文武 <iyzsong <at> outlook.com>
To: Stefan Reichör <stefan <at> xsteve.at>
Cc: 46543-done <at> debbugs.gnu.org
Subject: Re: bug#46543: [PATCH] gnu: Add pup.
Date: Tue, 16 Feb 2021 16:14:55 +0800
Stefan Reichör <stefan <at> xsteve.at> writes:

> * gnu/packages/web.scm (pup): New variable.

Pushed, thank you!


This bug report was last modified 4 years and 97 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.