gnu: Add julia-measures.

* gnu/packages/julia-xyz.scm (julia-measures-0.3.0): New variable.
master
nixo 2019-10-11 15:55:03 +02:00
parent 3d10140d21
commit ae91cdaf30
1 changed files with 34 additions and 0 deletions

View File

@ -1174,3 +1174,37 @@ which ignore NaN")
(description "Implementations of basic math functions which return NaN
instead of throwing a DomainError.")
(license license:expat)))
(define-public julia-measures
(package
(name "julia-measures")
(version "0.3.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/JuliaGraphics/Measures.jl")
(commit (string-append "v" version))))
(file-name "Measures")
(sha256
(base32 "020yf4a7wmm0jhkpzxgz4bif2l4l0zmrzagz0gc2hrvnz0kp9m3b"))))
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'precompile 'fix-toml
(lambda* (#:key outputs source #:allow-other-keys)
(julia-create-package-toml
outputs source
"Measures"
"442fdcdd-2543-5da2-b0f3-8c86c306513e"
"0.3.0"
'())
#t)))))
(build-system julia-build-system)
(home-page "https://github.com/JuliaGraphics/Measures.jl")
(synopsis "Unified measure and coordinates types")
(description "This library generalizes and unifies the notion of measures
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)))