all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Arun Isaac <arunisaac@systemreboot.net>
Cc: 27970@debbugs.gnu.org
Subject: [bug#27970] [PATCH] gnu: Add rss-bridge.
Date: Wed, 16 Aug 2017 16:24:47 +0200	[thread overview]
Message-ID: <87o9rfk2ts.fsf@elephly.net> (raw)
In-Reply-To: <732e9060.AEQAOGPqjLYAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZhfn5@mailjet.com>


Hi Arun,

> * gnu/packages/web.scm (rss-bridge): New variable.
[…]
> +
> +(define-public rss-bridge
> +  (package
> +    (name "rss-bridge")
> +    (version "2017-08-03")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append "https://github.com/RSS-Bridge/rss-bridge/archive/"
> +                           version ".tar.gz"))
> +       (file-name (string-append name "-" version ".tar.gz"))
> +       (sha256
> +        (base32
> +         "05s16y552hbyj91s7bnlkx1bi64s6aw0fjy29az8via3i3b21yhl"))))
> +    (build-system trivial-build-system)
> +    (native-inputs
> +     `(("gzip" ,gzip)
> +       ("tar" ,tar)))
> +    (arguments
> +     '(#:modules ((guix build utils))
> +       #:builder
> +       (begin
> +         (use-modules (guix build utils)
> +                      (ice-9 match))
> +         (let* ((out (assoc-ref %outputs "out"))
> +                (share-rss-bridge (string-append out "/share/rss-bridge")))
> +           (set-path-environment-variable
> +            "PATH" '("bin") (map (match-lambda ((_ . input) input))
> +                                 %build-inputs))
> +           (mkdir-p share-rss-bridge)
> +           (system* "tar" "xvf" (assoc-ref %build-inputs "source")
> +                    "--strip-components" "1" "-C" share-rss-bridge)
> +           #t))))
> +    (home-page "https://github.com/RSS-Bridge/rss-bridge")
> +    (synopsis "Generate ATOM feeds for social networking websites")
> +    (description "rss-bridge generates ATOM feeds for social networking

I think this should be “Atom”, not “ATOM”.

> +websites lacking feeds.  Supported websites include Facebook, Twitter,
> +Instagram and YouTube.")
> +    (license (list l:public-domain
> +                   l:expat)))) ;; vendor/simplehtmldom/simple_html_dom.php

How is this supposed to be used?  If these are just PHP files I think it
may be worth prepending “php-” to the package name and the variable
name.

What do you think?

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

  reply	other threads:[~2017-08-16 14:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-05 17:01 [bug#27970] [PATCH] gnu: Add rss-bridge Arun Isaac
2017-08-16 14:24 ` Ricardo Wurmus [this message]
2017-08-17 16:52   ` Arun Isaac
     [not found]   ` <62f53276.ADkAACsNiF4AAAAAAAAAAAOzWwAAAAACwQwAAAAAAAW9WABZlcnr@mailjet.com>
2017-08-17 19:49     ` Ricardo Wurmus
2017-08-18  1:53       ` bug#27970: " Arun Isaac

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o9rfk2ts.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=27970@debbugs.gnu.org \
    --cc=arunisaac@systemreboot.net \
    /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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.