mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-17 20:27:36 -05:00
gnu: r-vdiffr: Update to 1.0.2.
* gnu/packages/cran.scm (r-vdiffr): Update to 1.0.2. [source]: Remove snippet. [arguments]: Remove. [inputs]: Remove freetype and harfbuzz; add libpng and zlib. [propagated-inputs]: Remove r-bh, r-devtools, r-fontquiver, r-freetypeharfbuzz, r-gdtools, r-htmlwidgets, r-purrr, r-r6, r-rcpp, r-shiny, and r-usethis; add r-cpp11 and r-lifecycle. [native-inputs]: Remove esbuild and js-jquery.
This commit is contained in:
parent
94be433332
commit
ce84ba5bd7
1 changed files with 6 additions and 39 deletions
|
@ -28255,61 +28255,28 @@ (define-public r-freetypeharfbuzz
|
||||||
(define-public r-vdiffr
|
(define-public r-vdiffr
|
||||||
(package
|
(package
|
||||||
(name "r-vdiffr")
|
(name "r-vdiffr")
|
||||||
(version "0.3.3")
|
(version "1.0.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (cran-uri "vdiffr" version))
|
(uri (cran-uri "vdiffr" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0i0xdr8dakbkkgrhp0zvlnv3rxhc8h5naqq416mr5zv9q8i4p8jc"))
|
"1zjwjw8lqqnx7cxj2aik5rn1g67zsyf0bq08yfwwmsi7v2x6ly3x"))))
|
||||||
(snippet
|
|
||||||
'(begin
|
|
||||||
(delete-file "inst/htmlwidgets/lib/jquery.min.js")))))
|
|
||||||
(properties `((upstream-name . "vdiffr")))
|
(properties `((upstream-name . "vdiffr")))
|
||||||
(build-system r-build-system)
|
(build-system r-build-system)
|
||||||
(arguments
|
|
||||||
`(#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
(add-after 'unpack 'process-javascript
|
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
|
||||||
(with-directory-excursion "inst/htmlwidgets/lib/"
|
|
||||||
(let ((source (assoc-ref inputs "js-jquery"))
|
|
||||||
(target "jquery.min.js"))
|
|
||||||
(format #true "Processing ~a --> ~a~%"
|
|
||||||
source target)
|
|
||||||
(invoke "esbuild" source "--minify"
|
|
||||||
(string-append "--outfile=" target)))))))))
|
|
||||||
(inputs
|
(inputs
|
||||||
`(("freetype" ,freetype)
|
`(("libpng" ,libpng)
|
||||||
("harfbuzz" ,harfbuzz)))
|
("zlib" ,zlib)))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("r-bh" ,r-bh)
|
`(("r-cpp11" ,r-cpp11)
|
||||||
("r-devtools" ,r-devtools)
|
|
||||||
("r-diffobj" ,r-diffobj)
|
("r-diffobj" ,r-diffobj)
|
||||||
("r-fontquiver" ,r-fontquiver)
|
|
||||||
("r-freetypeharfbuzz" ,r-freetypeharfbuzz)
|
|
||||||
("r-gdtools" ,r-gdtools)
|
|
||||||
("r-glue" ,r-glue)
|
("r-glue" ,r-glue)
|
||||||
("r-htmltools" ,r-htmltools)
|
("r-htmltools" ,r-htmltools)
|
||||||
("r-htmlwidgets" ,r-htmlwidgets)
|
("r-lifecycle" ,r-lifecycle)
|
||||||
("r-purrr" ,r-purrr)
|
|
||||||
("r-r6" ,r-r6)
|
|
||||||
("r-rcpp" ,r-rcpp)
|
|
||||||
("r-rlang" ,r-rlang)
|
("r-rlang" ,r-rlang)
|
||||||
("r-shiny" ,r-shiny)
|
|
||||||
("r-testthat" ,r-testthat)
|
("r-testthat" ,r-testthat)
|
||||||
("r-usethis" ,r-usethis)
|
|
||||||
("r-xml2" ,r-xml2)))
|
("r-xml2" ,r-xml2)))
|
||||||
(native-inputs
|
|
||||||
`(("esbuild" ,esbuild)
|
|
||||||
("js-jquery"
|
|
||||||
,(origin
|
|
||||||
(method url-fetch)
|
|
||||||
(uri "https://code.jquery.com/jquery-1.12.4.js")
|
|
||||||
(sha256
|
|
||||||
(base32
|
|
||||||
"0x9mrc1668icvhpwzvgafm8xm11x9lfai9nwr66aw6pjnpwkc3s3"))))))
|
|
||||||
(home-page "https://github.com/r-lib/vdiffr")
|
(home-page "https://github.com/r-lib/vdiffr")
|
||||||
(synopsis "Visual regression testing and graphical diffing")
|
(synopsis "Visual regression testing and graphical diffing")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue