[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#47350] [PATCH 10/29] gnu: Add julia-colors.
From: |
zimoun |
Subject: |
[bug#47350] [PATCH 10/29] gnu: Add julia-colors. |
Date: |
Tue, 23 Mar 2021 20:46:32 +0100 |
* gnu/packages/julia-xyz.scm (julia-colors): New variable.
---
gnu/packages/julia-xyz.scm | 40 ++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 3213efd715..84c98b32af 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -121,6 +121,46 @@ operations. It can wrap any @code{IO} type automatically
making incremental
reading and writing faster.")
(license license:expat)))
+(define-public julia-colors
+ (package
+ (name "julia-colors")
+ (version "0.12.6")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/JuliaGraphics/Colors.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "156zsszgwh6bmznsan0zyha6yvcxw3c5mvc5vr2qfsgxbyh36ln6"))))
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-test
+ (lambda _
+ (substitute* "test/parse.jl"
+ (("@test_logs \\(:warn, r\"Use \\\\\"SeaGreen\\\\\" or
\\\\\"seagreen\\\\\"\"\\)")
+ ""))
+ (substitute* "test/utilities.jl"
+ (("@test_logs \\(:warn, r\"Base\\\\\\.hex\\\\\\(c\\\\\\) has
been moved\"\\)")
+ "")
+ (("@test_logs \\(:warn, r\"will soon be changed\"\\)")
+ ""))
+ #t)))))
+ (build-system julia-build-system)
+ (propagated-inputs
+ `(("julia-colortypes" ,julia-colortypes)
+ ("julia-fixedpointnumbers" ,julia-fixedpointnumbers)
+ ("julia-reexport" ,julia-reexport)))
+ (home-page "https://github.com/JuliaGraphics/Colors.jl")
+ (synopsis "Tools for dealing with color")
+ (description "This package provides a wide array of functions for dealing
+with color. This includes conversion between colorspaces, measuring distance
+between colors, simulating color blindness, parsing colors, and generating
+color scales for graphics.")
+ (license license:expat)))
+
(define-public julia-colortypes
(package
(name "julia-colortypes")
--
2.28.0
- [bug#47350] [PATCH 00/29] Add Zygote (piece for Machine Learning with Julia), zimoun, 2021/03/23
- [bug#47350] [PATCH 01/29] gnu: Add julia-constructionbase., zimoun, 2021/03/23
- [bug#47350] [PATCH 09/29] gnu: Add julia-colortypes., zimoun, 2021/03/23
- [bug#47350] [PATCH 02/29] gnu: Add julia-macrotools., zimoun, 2021/03/23
- [bug#47350] [PATCH 04/29] gnu: Add julia-reexport., zimoun, 2021/03/23
- [bug#47350] [PATCH 03/29] gnu: Add julia-nanmath., zimoun, 2021/03/23
- [bug#47350] [PATCH 05/29] gnu: Add julia-irtools., zimoun, 2021/03/23
- [bug#47350] [PATCH 08/29] gnu: Add julia-abstractffts., zimoun, 2021/03/23
- [bug#47350] [PATCH 06/29] gnu: Add julia-staticarrays., zimoun, 2021/03/23
- [bug#47350] [PATCH 07/29] gnu: Add julia-unitful., zimoun, 2021/03/23
- [bug#47350] [PATCH 10/29] gnu: Add julia-colors.,
zimoun <=
- [bug#47350] [PATCH 12/29] gnu: Add julia-requires., zimoun, 2021/03/23
- [bug#47350] [PATCH 15/29] gnu: Add julia-finitedifferences., zimoun, 2021/03/23
- [bug#47350] [PATCH 13/29] gnu: Add julia-chainrulescore., zimoun, 2021/03/23
- [bug#47350] [PATCH 11/29] gnu: Add julia-example., zimoun, 2021/03/23
- [bug#47350] [PATCH 17/29] gnu: Add julia-fillarrays., zimoun, 2021/03/23
- [bug#47350] [PATCH 18/29] gnu: Add julia-commonsubexpressions., zimoun, 2021/03/23
- [bug#47350] [PATCH 14/29] gnu: Add julia-richardson., zimoun, 2021/03/23
- [bug#47350] [PATCH 16/29] gnu: Add julia-chainrulestestutils., zimoun, 2021/03/23
- [bug#47350] [PATCH 19/29] gnu: Add julia-calculus., zimoun, 2021/03/23
- [bug#47350] [PATCH 20/29] gnu: Add julia-diffresults., zimoun, 2021/03/23