me
/
guix
Archived
1
0
Fork 0

gnu: r-leaflet: Update to 2.2.0.

* gnu/packages/cran.scm (r-leaflet): Update to 2.2.0.
[source]: Do not delete jquery.min.js, because it is no longer included.
[arguments]: Adjust minification accordingly.
[native-inputs]: Remove js-jquery.
[propagated-inputs]: Remove r-base64enc and r-markdown; add r-jquerylib and
r-xfun.
master
Ricardo Wurmus 2023-09-13 22:41:25 +02:00
parent 9049506d8b
commit f2d690c6c5
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 6 additions and 16 deletions

View File

@ -9912,20 +9912,19 @@ information between package updates.")
(define-public r-leaflet (define-public r-leaflet
(package (package
(name "r-leaflet") (name "r-leaflet")
(version "2.1.2") (version "2.2.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (cran-uri "leaflet" version)) (uri (cran-uri "leaflet" version))
(sha256 (sha256
(base32 "0fa0f9fcrxbqhmcm45l0byws56d8gg0bi3vx4m65mn4rihg6gn16")) (base32 "0k0zplbhmvld6q1id17s827z1230kvnz16c4hlvp6jn9g26yy0dq"))
(snippet (snippet
'(for-each '(for-each
delete-file delete-file
(list "inst/htmlwidgets/lib/leaflet/leaflet.js" (list "inst/htmlwidgets/lib/leaflet/leaflet.js"
"inst/htmlwidgets/lib/leaflet-measure/leaflet-measure.min.js" "inst/htmlwidgets/lib/leaflet-measure/leaflet-measure.min.js"
"inst/htmlwidgets/lib/leaflet-omnivore/leaflet-omnivore.min.js" "inst/htmlwidgets/lib/leaflet-omnivore/leaflet-omnivore.min.js"
"inst/htmlwidgets/lib/jquery/jquery.min.js"
"inst/htmlwidgets/plugins/Leaflet-MiniMap/Control.MiniMap.min.js" "inst/htmlwidgets/plugins/Leaflet-MiniMap/Control.MiniMap.min.js"
"inst/htmlwidgets/plugins/Leaflet.awesome-markers/bootstrap.min.js" "inst/htmlwidgets/plugins/Leaflet.awesome-markers/bootstrap.min.js"
"inst/htmlwidgets/plugins/Leaflet.awesome-markers/leaflet.awesome-markers.min.js" "inst/htmlwidgets/plugins/Leaflet.awesome-markers/leaflet.awesome-markers.min.js"
@ -9956,8 +9955,6 @@ information between package updates.")
"htmlwidgets/lib/leaflet-measure/leaflet-measure.min.js") "htmlwidgets/lib/leaflet-measure/leaflet-measure.min.js")
(,(assoc-ref inputs "js-leaflet-omnivore") (,(assoc-ref inputs "js-leaflet-omnivore")
"htmlwidgets/lib/leaflet-omnivore/leaflet-omnivore.min.js") "htmlwidgets/lib/leaflet-omnivore/leaflet-omnivore.min.js")
(,(assoc-ref inputs "js-jquery")
"htmlwidgets/lib/jquery/jquery.min.js")
("htmlwidgets/plugins/Leaflet-MiniMap/Control.MiniMap.js" ("htmlwidgets/plugins/Leaflet-MiniMap/Control.MiniMap.js"
"htmlwidgets/plugins/Leaflet-MiniMap/Control.MiniMap.min.js") "htmlwidgets/plugins/Leaflet-MiniMap/Control.MiniMap.min.js")
(,(assoc-ref inputs "js-bootstrap3") (,(assoc-ref inputs "js-bootstrap3")
@ -9992,13 +9989,6 @@ information between package updates.")
(sha256 (sha256
(base32 (base32
"1j1qjagwj0m3q322z9wxxnpkd8zbk6g3kl047dsbmqad6gmqvgha")))) "1j1qjagwj0m3q322z9wxxnpkd8zbk6g3kl047dsbmqad6gmqvgha"))))
("js-jquery"
,(origin
(method url-fetch)
(uri "https://code.jquery.com/jquery-1.12.4.js")
(sha256
(base32
"0x9mrc1668icvhpwzvgafm8xm11x9lfai9nwr66aw6pjnpwkc3s3"))))
("js-leaflet" ("js-leaflet"
,(origin ,(origin
(method url-fetch) (method url-fetch)
@ -10061,19 +10051,19 @@ information between package updates.")
(base32 (base32
"0vyrbf6gv2lyh4c2bzp5349ivwvvg28gpn87y52a7jdb13rlkpab")))))) "0vyrbf6gv2lyh4c2bzp5349ivwvvg28gpn87y52a7jdb13rlkpab"))))))
(propagated-inputs (propagated-inputs
(list r-base64enc (list r-crosstalk
r-crosstalk
r-htmltools r-htmltools
r-htmlwidgets r-htmlwidgets
r-jquerylib
r-leaflet-providers r-leaflet-providers
r-magrittr r-magrittr
r-markdown
r-png r-png
r-raster r-raster
r-rcolorbrewer r-rcolorbrewer
r-scales r-scales
r-sp r-sp
r-viridis)) r-viridis
r-xfun))
(home-page "https://rstudio.github.io/leaflet/") (home-page "https://rstudio.github.io/leaflet/")
(synopsis "Create interactive web maps with the JavaScript Leaflet library") (synopsis "Create interactive web maps with the JavaScript Leaflet library")
(description (description