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)))