From 6298c93880dfe218b26153ad7d36fc0fcb646113 Mon Sep 17 00:00:00 2001 From: nixo Date: Fri, 11 Oct 2019 16:01:01 +0200 Subject: [PATCH] gnu: Add julia-staticarrays. * gnu/packages/julia-xyz.scm (julia-staticarrays-0.11.0): New variable. --- gnu/packages/julia-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index adb5f6b0c4..8c3209a472 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -1300,3 +1300,28 @@ algorithms for building plotting components.") (description "Generic implementation of the marching squares algorithm for tracing contour curves on a scalar 2D field.") (license license:expat))) + +(define-public julia-staticarrays + (package + (name "julia-staticarrays") + (version "0.11.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaArrays/StaticArrays.jl") + (commit (string-append "v" version)))) + (file-name "StaticArrays") + (sha256 + (base32 "0ni4rdq8qq4c7m49my885ispilqvhbza0id92j16rqzhdff8bghg")))) + (build-system julia-build-system) + (home-page "https://github.com/JuliaArrays/StaticArrays.jl") + (synopsis "Statically sized arrays for Julia") + (description "@code{StaticArrays} provides a framework for implementing +statically sized arrays in Julia, using the abstract type +@code{StaticArray{Size,T,N} <: AbstractArray{T,N}}. Subtypes of StaticArray +will provide fast implementations of common array and linear algebra +operations. Note that here \"statically sized\" means that the size can be +determined from the type, and \"static\" does not necessarily imply +immutable.") + (license license:expat)))