mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-18 17:01:51 -05:00
gnu: Add rust-state-0.5.
* gnu/packages/crates-io.scm (rust-state-0.5): New variable. (rust-state-0.4): Inherit from rust-state-0.5.
This commit is contained in:
parent
d3f3faebcb
commit
8145225407
1 changed files with 26 additions and 8 deletions
|
@ -60572,8 +60572,33 @@ (define-public rust-standback-0.2
|
||||||
(description "New standard library, old compiler.")
|
(description "New standard library, old compiler.")
|
||||||
(license (list license:expat license:asl2.0))))
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
|
(define-public rust-state-0.5
|
||||||
|
(package
|
||||||
|
(name "rust-state")
|
||||||
|
(version "0.5.3")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "state" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0fzji31ijbkimbzdy4dln9mp5xp7lm1a0dnqxv4n10hywphnds6v"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs
|
||||||
|
(("rust-loom" ,rust-loom-0.5))
|
||||||
|
#:cargo-development-inputs
|
||||||
|
(("rust-static-assertions" ,rust-static-assertions-1))))
|
||||||
|
(home-page "https://github.com/SergioBenitez/state")
|
||||||
|
(synopsis "Library for safe global and thread-local state management")
|
||||||
|
(description
|
||||||
|
"This package provides a library for safe global and thread-local state
|
||||||
|
management.")
|
||||||
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
(define-public rust-state-0.4
|
(define-public rust-state-0.4
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-state-0.5)
|
||||||
(name "rust-state")
|
(name "rust-state")
|
||||||
(version "0.4.2")
|
(version "0.4.2")
|
||||||
(source
|
(source
|
||||||
|
@ -60583,17 +60608,10 @@ (define-public rust-state-0.4
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "10v4k9bgjryc9m40c8nnhyrby2ngkhpx841p3k4halgxlp8af59h"))))
|
(base32 "10v4k9bgjryc9m40c8nnhyrby2ngkhpx841p3k4halgxlp8af59h"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t
|
`(#:skip-build? #t
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
(("rust-lazy-static" ,rust-lazy-static-1))))
|
(("rust-lazy-static" ,rust-lazy-static-1))))))
|
||||||
(home-page "https://github.com/SergioBenitez/state")
|
|
||||||
(synopsis "Library for safe global and thread-local state management")
|
|
||||||
(description
|
|
||||||
"This package provides a library for safe global and thread-local state
|
|
||||||
management.")
|
|
||||||
(license (list license:expat license:asl2.0))))
|
|
||||||
|
|
||||||
(define-public rust-static-assertions-1
|
(define-public rust-static-assertions-1
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue