From a033f81099a9ab9255da73c13e5ba95ef37e0b02 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 27 May 2021 16:18:52 +0300 Subject: gnu: Add julia-colorschemes. * gnu/packages/julia-xyz.scm (julia-colorschemes): New variable. --- gnu/packages/julia-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 2977be03e7..ebc2bb58ef 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -309,6 +309,31 @@ between colors, simulating color blindness, parsing colors, and generating color scales for graphics.") (license license:expat))) +(define-public julia-colorschemes + (package + (name "julia-colorschemes") + (version "3.12.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaGraphics/ColorSchemes.jl") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "08k39hbdf3jn0001f7qxa99xvagrnh9764911hs6cmxkvp061sa4")))) + (build-system julia-build-system) + (propagated-inputs + `(("julia-colors" ,julia-colors) + ("julia-colortypes" ,julia-colortypes) + ("julia-fixedpointnumbers" ,julia-fixedpointnumbers) + ("julia-staticarrays" ,julia-staticarrays))) + (home-page "https://github.com/JuliaGraphics/ColorSchemes.jl") + (synopsis "Colorschemes, colormaps, gradients, and palettes") + (description "This package provides a collection of colorschemes.") + (license license:expat))) + (define-public julia-colortypes (package (name "julia-colortypes") -- cgit 1.4.1