style: use a more opinionated style when there's no problem

pull/1/head
anemofilia 2023-09-25 14:57:27 -03:00
parent d9a1fc0018
commit 4b9b1e326b
No known key found for this signature in database
GPG Key ID: 5A8F3D62C87A2B33
2 changed files with 7 additions and 22 deletions

View File

@ -15,11 +15,7 @@
(method url-fetch/zipbomb)
(uri (string-append
"https://github.com/andreberg/Meslo-Font/raw/master/"
"dist/v"
version
"Meslo%20LG%20v"
version
".zip"))
"dist/v" version "Meslo%20LG%20v" version ".zip"))
(sha256
(base32
"1l08mxlzaz3i5bamnfr49s2k4k23vdm64b8nz2ha33ysimkbgg6h"))))
@ -42,11 +38,7 @@
(method url-fetch/zipbomb)
(uri (string-append
"https://github.com/andreberg/Meslo-Font/raw/master/"
"dist/v"
version
"Meslo%20LG%20DZ%20v"
version
".zip"))
"dist/v" version "Meslo%20LG%20DZ%20v" version ".zip"))
(sha256
(base32
"0lnbkrvcpgz9chnvix79j6fiz36wj6n46brb7b1746182rl1l875"))))))

View File

@ -26,25 +26,18 @@
(source (origin
(method url-fetch)
(uri (string-append
"https://codeberg.org/grisha/newsraft/archive/newsraft-"
version ".tar.gz"))
"https://codeberg.org/grisha/newsraft/"
"archive/newsraft-" version ".tar.gz"))
(sha256
(base32
"0r3z8b8qwwnz7093nicxxv9cfxzg4i0mznd4vgwgpv16lm6q455w"))))
(build-system gnu-build-system)
(native-inputs (list gnu-make pkg-config scdoc))
(inputs (list curl
expat
gumbo-parser
ncurses
sqlite
yajl))
(inputs (list curl expat gumbo-parser ncurses sqlite yajl))
(arguments
(list #:tests? #f
#:make-flags #~(list (string-append "CC="
#$(cc-for-target))
(string-append "PREFIX="
#$output)
#:make-flags #~(list (string-append "CC=" #$(cc-for-target))
(string-append "PREFIX=" #$output)
"CFLAGS=-DCURL_WRITEFUNC_ERROR=0xFFFFFFFF")
#:phases #~(modify-phases %standard-phases
(delete 'configure))))