gnu: rss-bridge: Update to 2019-01-13.

* gnu/packages/web.scm (rss-bridge): Update to 2019-01-13.
[source]: Use git-fetch.
[native-inputs]: Remove gzip and tar.
This commit is contained in:
Arun Isaac 2019-01-31 16:08:17 +05:30
parent e1c3ffcfcd
commit a382860bd4
No known key found for this signature in database
GPG Key ID: 2E25EE8B61802BB3
1 changed files with 10 additions and 15 deletions

View File

@ -15,7 +15,7 @@
;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com> ;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
;;; Copyright © 2016 Clément Lassieur <clement@lassieur.org> ;;; Copyright © 2016 Clément Lassieur <clement@lassieur.org>
;;; Copyright © 2016, 2017 Nils Gillmann <ng0@n0.is> ;;; Copyright © 2016, 2017 Nils Gillmann <ng0@n0.is>
;;; Copyright © 2016, 2017, 2018 Arun Isaac <arunisaac@systemreboot.net> ;;; Copyright © 2016, 2017, 2018, 2019 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2016, 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2016, 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2016 Bake Timmons <b3timmons@speedymail.org> ;;; Copyright © 2016 Bake Timmons <b3timmons@speedymail.org>
;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be> ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
@ -5285,20 +5285,18 @@ snippets on @url{https://commandlinefu.com}.")
(define-public rss-bridge (define-public rss-bridge
(package (package
(name "rss-bridge") (name "rss-bridge")
(version "2018-11-10") (version "2019-01-13")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/RSS-Bridge/rss-bridge/archive/" (uri (git-reference
version ".tar.gz")) (url "https://github.com/RSS-Bridge/rss-bridge")
(file-name (string-append name "-" version ".tar.gz")) (commit version)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1l9a82smh6k37bjvzbmkdlssxywlmr40ig4cykgsns1iiszwv4ia")))) "1m0dq491954f0d7k4508ddlywk09whcz9j21rc4yk3lbwpf0nd4c"))))
(build-system trivial-build-system) (build-system trivial-build-system)
(native-inputs
`(("gzip" ,gzip)
("tar" ,tar)))
(arguments (arguments
'(#:modules ((guix build utils)) '(#:modules ((guix build utils))
#:builder #:builder
@ -5307,12 +5305,9 @@ snippets on @url{https://commandlinefu.com}.")
(ice-9 match)) (ice-9 match))
(let* ((out (assoc-ref %outputs "out")) (let* ((out (assoc-ref %outputs "out"))
(share-rss-bridge (string-append out "/share/rss-bridge"))) (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) (mkdir-p share-rss-bridge)
(invoke "tar" "xvf" (assoc-ref %build-inputs "source") (copy-recursively (assoc-ref %build-inputs "source") share-rss-bridge)
"--strip-components" "1" "-C" share-rss-bridge))))) #t))))
(home-page "https://github.com/RSS-Bridge/rss-bridge") (home-page "https://github.com/RSS-Bridge/rss-bridge")
(synopsis "Generate Atom feeds for social networking websites") (synopsis "Generate Atom feeds for social networking websites")
(description "rss-bridge generates Atom feeds for social networking (description "rss-bridge generates Atom feeds for social networking