aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-11-11 09:44:41 +0000
committerRicardo Wurmus <rekado@elephly.net>2021-11-11 15:39:16 +0000
commit7af81d8c7f588c71d179839dfd280a29382ef0b8 (patch)
treea4cc5fee11f25ce91c8efb6d5968b024383e0516 /gnu/packages
parent02bf5e143162f8c28725db7523452043701871e1 (diff)
downloadguix-7af81d8c7f588c71d179839dfd280a29382ef0b8.tar
guix-7af81d8c7f588c71d179839dfd280a29382ef0b8.tar.gz
gnu: Add rust-nalgebra-macros-0.1.
* gnu/packages/crates-io.scm (rust-nalgebra-macros-0.1): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm36
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a6d98a0fc9..e29f3c501a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30599,6 +30599,42 @@ statically-sized or dynamically-sized matrices.")
(("rust-rand-xorshift" ,rust-rand-xorshift-0.1)
("rust-serde-json" ,rust-serde-json-1))))))
+(define-public rust-nalgebra-macros-0.1
+ (package
+ (name "rust-nalgebra-macros")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "nalgebra-macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "063jvvvlwmzzxfr4wyiil2cn1yqj3arvghwsr2nk4ilv2jwc1z01"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'configure 'patch-Cargo.toml
+ (lambda _
+ (substitute* '("Cargo.toml"
+ "guix-vendor/rust-nalgebra-macros-0.1.0.tar.gz/Cargo.toml"
+ "guix-vendor/rust-nalgebra-0.26.2.tar.gz/Cargo.toml"
+ "guix-vendor/rust-average-0.13.1.tar.gz/Cargo.toml")
+ ;; The resolver feature is not supported by this version of Cargo.
+ (("resolver = \"2\".*") "")))))
+ #:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))
+ #:cargo-development-inputs
+ (("rust-nalgebra" ,rust-nalgebra-0.26))))
+ (home-page "https://nalgebra.org")
+ (synopsis "Procedural macros for nalgebra")
+ (description "This package provides procedural macros for the nalgebra
+linear algebra library.")
+ (license license:asl2.0)))
+
(define-public rust-named-pipe-0.4
(package
(name "rust-named-pipe")