gnu: r-v8: Use new input style.

* gnu/packages/cran.scm (r-v8)[arguments]: Use standard name as label.
[inputs]: Use new style.
This commit is contained in:
Ricardo Wurmus 2022-01-05 21:36:29 +01:00
parent 36d2a03edc
commit 62dc81a958
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -484,19 +484,17 @@ (define-public r-v8
(substitute* "configure"
(("^PKG_LIBS=.*")
(string-append "PKG_LIBS="
(assoc-ref inputs "node")
(assoc-ref inputs "libnode")
"/lib/libnode.so.64\n")))
(setenv "INCLUDE_DIR"
(string-append
(assoc-ref inputs "node")
(assoc-ref inputs "libnode")
"/include/node"))
(setenv "LIB_DIR"
(string-append
(assoc-ref inputs "node") "/lib"))
#t)))))
(assoc-ref inputs "libnode") "/lib")))))))
(inputs
`(("node" ,libnode)
("zlib" ,zlib)))
(list libnode zlib))
(propagated-inputs
(list r-curl r-jsonlite r-rcpp))
(native-inputs