File gnu/packages/syndication.scm changed (mode: 100644) (index ba626593a7..e174df0d9e) |
53 |
53 |
(define-public newsboat |
(define-public newsboat |
54 |
54 |
(package |
(package |
55 |
55 |
(name "newsboat") |
(name "newsboat") |
56 |
|
(version "2.20.1") |
|
|
56 |
|
(version "2.21") |
57 |
57 |
(source |
(source |
58 |
58 |
(origin |
(origin |
59 |
59 |
(method url-fetch) |
(method url-fetch) |
|
61 |
61 |
"/newsboat-" version ".tar.xz")) |
"/newsboat-" version ".tar.xz")) |
62 |
62 |
(sha256 |
(sha256 |
63 |
63 |
(base32 |
(base32 |
64 |
|
"0rimjikni96m52vhymgsg1b9g99af6ggyzd1lpvhgqsznxwj0y42")) |
|
65 |
|
(modules '((guix build utils))) |
|
66 |
|
(snippet |
|
67 |
|
'(begin |
|
68 |
|
(substitute* "rust/libnewsboat/Cargo.toml" |
|
69 |
|
(("= 1.0.17") "1.0.17")) |
|
70 |
|
#t)))) |
|
|
64 |
|
"0ccwbb3maini18453wjqn8m3bd7zzm6dn5a9vpb8smxv8vfv6ihc")))) |
71 |
65 |
(build-system cargo-build-system) |
(build-system cargo-build-system) |
72 |
66 |
(native-inputs |
(native-inputs |
73 |
67 |
`(("gettext" ,gettext-minimal) |
`(("gettext" ,gettext-minimal) |
|
77 |
71 |
("asciidoctor" ,ruby-asciidoctor))) |
("asciidoctor" ,ruby-asciidoctor))) |
78 |
72 |
(inputs |
(inputs |
79 |
73 |
`(("curl" ,curl) |
`(("curl" ,curl) |
80 |
|
("json-c" ,json-c-0.13) |
|
|
74 |
|
("json-c" ,json-c) |
81 |
75 |
("libxml2" ,libxml2) |
("libxml2" ,libxml2) |
82 |
76 |
("ncurses" ,ncurses) |
("ncurses" ,ncurses) |
83 |
77 |
("stfl" ,stfl) |
("stfl" ,stfl) |
|
93 |
87 |
("rust-chrono" ,rust-chrono-0.4) |
("rust-chrono" ,rust-chrono-0.4) |
94 |
88 |
("rust-clap" ,rust-clap-2) |
("rust-clap" ,rust-clap-2) |
95 |
89 |
("rust-curl-sys" ,rust-curl-sys-0.4) |
("rust-curl-sys" ,rust-curl-sys-0.4) |
96 |
|
("rust-dirs" ,rust-dirs-2.0) |
|
97 |
|
("rust-gettext-rs" ,rust-gettext-rs-0.4) |
|
|
90 |
|
("rust-gettext-rs" ,rust-gettext-rs-0.5) |
98 |
91 |
("rust-gettext-sys" ,rust-gettext-sys-0.19) |
("rust-gettext-sys" ,rust-gettext-sys-0.19) |
|
92 |
|
("rust-lazy-static" ,rust-lazy-static-1) |
99 |
93 |
("rust-libc" ,rust-libc-0.2) |
("rust-libc" ,rust-libc-0.2) |
100 |
|
("rust-libz-sys" ,rust-libz-sys-1) |
|
101 |
94 |
("rust-natord" ,rust-natord-1.0) |
("rust-natord" ,rust-natord-1.0) |
102 |
95 |
("rust-nom" ,rust-nom-5) |
("rust-nom" ,rust-nom-5) |
103 |
96 |
("rust-once-cell" ,rust-once-cell-1) |
("rust-once-cell" ,rust-once-cell-1) |
104 |
|
("rust-percent-encoding" ,rust-percent-encoding-2) |
|
105 |
|
("rust-rand" ,rust-rand-0.6) |
|
106 |
|
("rust-smallvec" ,rust-smallvec-0.6) |
|
|
97 |
|
("rust-rand" ,rust-rand-0.7) |
107 |
98 |
("rust-url" ,rust-url-2) |
("rust-url" ,rust-url-2) |
108 |
99 |
("rust-unicode-width" ,rust-unicode-width-0.1) |
("rust-unicode-width" ,rust-unicode-width-0.1) |
109 |
100 |
("rust-xdg" ,rust-xdg-2.2)) |
("rust-xdg" ,rust-xdg-2.2)) |
|
119 |
110 |
(delete-file-recursively |
(delete-file-recursively |
120 |
111 |
(string-append vendor-dir "/" ,name "-" ,version ".tar.xz")) |
(string-append vendor-dir "/" ,name "-" ,version ".tar.xz")) |
121 |
112 |
#t)) |
#t)) |
|
113 |
|
(add-after 'unpack 'patch-source |
|
114 |
|
(lambda _ |
|
115 |
|
(substitute* "Makefile" |
|
116 |
|
(("Cargo.lock") "")) |
|
117 |
|
#t)) |
122 |
118 |
(replace 'build |
(replace 'build |
123 |
119 |
(lambda* args |
(lambda* args |
124 |
120 |
((assoc-ref gnu:%standard-phases 'build) |
((assoc-ref gnu:%standard-phases 'build) |