gnu: Add julia-zygoterules.

* gnu/packages/julia-xyz.scm (julia-zygoterules): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
zimoun 2021-03-25 02:05:15 +01:00 committed by Ludovic Courtès
parent 57e034d568
commit 568cebc258
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1199,3 +1199,25 @@ (define-public julia-unitful
(description "This package supports SI units and also many other unit
system.")
(license license:expat)))
(define-public julia-zygoterules
(package
(name "julia-zygoterules")
(version "0.2.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/FluxML/ZygoteRules.jl")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "07i2mf6rr5b8i6l82qgwl5arsb5pwyyzyfasgnszhdqllk9501bs"))))
(build-system julia-build-system)
(propagated-inputs
`(("julia-macrotools" ,julia-macrotools)))
(home-page "https://github.com/FluxML/ZygoteRules.jl")
(synopsis "Add minimal custom gradients to Zygote")
(description "Minimal package which enables to add custom gradients to
Zygote, without depending on Zygote itself.")
(license license:expat)))