diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 1fdef3a03f..282248599e 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -2215,3 +2215,39 @@ library for parsing HTML.") (description "A CSS Selector library in Julia, inspired by, and mostly a direct translation of, the Cascadia CSS Selector library, written in Go,") (license license:expat))) + +(define-public julia-graphics + (package + (name "julia-graphics") + (version "0.4.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaGraphics/Graphics.jl") + (commit (string-append "v" version)))) + (file-name "Graphics") + (sha256 + (base32 "03d98j49fn7zkhxki5n1b1br9p9hs380dpdp0a480m7yh1c45091")))) + (propagated-inputs `(("julia-colors" ,julia-colors) + ("julia-nanmath" ,julia-nanmath) + ("julia-compat" ,julia-compat))) + (build-system julia-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'precompile 'fix-toml + (lambda* (#:key outputs source #:allow-other-keys) + (julia-create-package-toml + outputs source + "Graphics" + "a2bd30eb-e257-5431-a919-1863eab51364" + "0.4.0" + '(("Compat" . "34da2185-b29b-5c13-b0c7-acf172513d20") + ("Colors" . "5ae59095-9a9b-59fe-a467-6f913c188581") + ("NaNMath" . "77ba4419-2d1f-58cd-9bb1-8ffee604a2e3"))) + #t))))) + (home-page "https://github.com/JuliaGraphics/Graphics.jl") + (synopsis "Holding place for Julia Base graphics") + (description "Holding place for Julia Base graphics.") + (license license:expat)))