From f3597e364d371121435cd5f8421a18e222b304d7 Mon Sep 17 00:00:00 2001 From: nixo Date: Fri, 11 Oct 2019 15:56:07 +0200 Subject: [PATCH] gnu: Add julia-colortypes. * gnu/packages/julia-xyz.scm (julia-colortypes-0.8.0): New variable. --- gnu/packages/julia-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index d965091b3f..7b40adcd50 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -1208,3 +1208,27 @@ used in @code{Compose}, @code{Compose3D}, and @code{Escher}. It allows building up and representing expressions involving differing types of units that are then evaluated, resolving them into absolute units.") (license license:expat))) + +(define-public julia-colortypes + (package + (name "julia-colortypes") + (version "0.8.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaGraphics/ColorTypes.jl") + (commit (string-append "v" version)))) + (file-name "ColorTypes") + (sha256 + (base32 "0yskbz6598aaa36502jzq59aqqy0daxcrcxcmhk6jnbb5a1psr95")))) + (propagated-inputs `(("julia-compat" ,julia-compat) + ("julia-fixedpointnumbers" ,julia-fixedpointnumbers))) + (build-system julia-build-system) + (home-page "https://github.com/JuliaGraphics/ColorTypes.jl") + (synopsis "Basic color definitions and traits") + (description "This \"minimalistic\" package serves as the foundation for +working with colors in Julia. It defines basic color types and their +constructors, and sets up traits and show methods to make them easier to work +with.") + (license license:expat)))