diff options
author | Vinicius Monego <monego@posteo.net> | 2021-09-18 16:13:22 +0000 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-11-03 13:28:41 +0100 |
commit | 3970091d7f47b5bd2d9e4112e3a22469c80d27e4 (patch) | |
tree | 6ceab8b57134f00acf069dc7daddc8cdad47f8d7 | |
parent | 01de4d19a10e0051b0c3a11fb487494f039bdfe3 (diff) | |
download | guix-3970091d7f47b5bd2d9e4112e3a22469c80d27e4.tar.gz |
gnu: Add rust-migrations-macros-1.
* gnu/packages/crates-io.scm (rust-migrations-macros-1): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r-- | gnu/packages/crates-io.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8b08e259cd..b91583c92b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -28004,6 +28004,38 @@ quality, high performance hash algorithm.") migration mechanism.") (license (list license:expat license:asl2.0)))) +(define-public rust-migrations-macros-1 + (package + (name "rust-migrations-macros") + (version "1.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "migrations_macros" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "173qgwans6n2jf6b7qajq273rvg1r9c34p5fflzr53gx14lz2lwp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-migrations-internals" + ,rust-migrations-internals-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)) + #:cargo-development-inputs + (("rust-tempdir" ,rust-tempdir-0.3)))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("sqlite" ,sqlite))) + (home-page "https://diesel.rs") + (synopsis "Code generation macros for Diesel's embedded migrations") + (description "This package provides code generation macros for Diesel's +embedded migrations.") + (license (list license:expat license:asl2.0)))) + (define-public rust-mimalloc-0.1 (package (name "rust-mimalloc") |