mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: Add rust-pyo3-macros-0.20.
* gnu/packages/crates-io.scm (rust-pyo3-macros-0.20): New variable. (rust-pyo3-macros-0.19): Inherit from rust-pyo3-macros-0.20. Change-Id: I766cd3f45d4d531ec7285825061e69543c858d6b
This commit is contained in:
parent
40c7e59605
commit
7d5b963f96
1 changed files with 25 additions and 7 deletions
|
@ -53733,8 +53733,32 @@ (define-public rust-pyo3-macros-backend-0.15
|
|||
("rust-syn" ,rust-syn-1))))
|
||||
(native-inputs (list python))))
|
||||
|
||||
(define-public rust-pyo3-macros-0.20
|
||||
(package
|
||||
(name "rust-pyo3-macros")
|
||||
(version "0.20.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "pyo3-macros" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1lsfyx1shdyi7zybs3maakh2h3zsij3l5wap35qval0dwjs3ixq5"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
|
||||
("rust-pyo3-macros-backend" ,rust-pyo3-macros-backend-0.20)
|
||||
("rust-quote" ,rust-quote-1)
|
||||
("rust-syn" ,rust-syn-2))))
|
||||
(home-page "https://github.com/pyo3/pyo3")
|
||||
(synopsis "Proc macros for PyO3")
|
||||
(description
|
||||
"This package provides compiler macros for use with PyO3.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-pyo3-macros-0.19
|
||||
(package
|
||||
(inherit rust-pyo3-macros-0.20)
|
||||
(name "rust-pyo3-macros")
|
||||
(version "0.19.2")
|
||||
(source (origin
|
||||
|
@ -53744,18 +53768,12 @@ (define-public rust-pyo3-macros-0.19
|
|||
(sha256
|
||||
(base32
|
||||
"1lggr5pnpmdj0cznlhw7ykm1qka3wlymwzfxqql6a4vyb6clrsyz"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-proc-macro2" ,rust-proc-macro2-1)
|
||||
("rust-pyo3-macros-backend" ,rust-pyo3-macros-backend-0.19)
|
||||
("rust-quote" ,rust-quote-1)
|
||||
("rust-syn" ,rust-syn-1))))
|
||||
(home-page "https://github.com/pyo3/pyo3")
|
||||
(synopsis "Proc macros for PyO3")
|
||||
(description
|
||||
"This package provides compiler macros for use with PyO3.")
|
||||
(license license:asl2.0)))
|
||||
("rust-syn" ,rust-syn-1))))))
|
||||
|
||||
(define-public rust-pyo3-macros-0.18
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue