mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-08 16:06:16 -05:00
gnu: Add rust-rawpointer-0.2.
* gnu/packages/crates-io.scm (rust-rawpointer-0.2):New variable. (rust-rawpointer-0.1): Inherit from rust-rawpointer-0.2.
This commit is contained in:
parent
8511b51650
commit
c450d81a16
1 changed files with 23 additions and 9 deletions
|
@ -14412,8 +14412,30 @@ (define-public rust-raw-window-handle-0.3
|
|||
"Interoperability library for Rust Windowing applications.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-rawpointer-0.2
|
||||
(package
|
||||
(name "rust-rawpointer")
|
||||
(version "0.2.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "rawpointer" version))
|
||||
(file-name (string-append name "-" version ".crate"))
|
||||
(sha256
|
||||
(base32
|
||||
"1qy1qvj17yh957vhffnq6agq0brvylw27xgks171qrah75wmg8v0"))))
|
||||
(build-system cargo-build-system)
|
||||
(home-page "https://github.com/bluss/rawpointer/")
|
||||
(synopsis "Extra methods for raw pointers")
|
||||
(description "Extra methods for raw pointers. For example
|
||||
@code{.post_inc()} and @code{.pre_dec()} (c.f. @code{ptr++} and @code{--ptr})
|
||||
and @code{ptrdistance}.")
|
||||
(license (list license:asl2.0
|
||||
license:expat))))
|
||||
|
||||
(define-public rust-rawpointer-0.1
|
||||
(package
|
||||
(inherit rust-rawpointer-0.2)
|
||||
(name "rust-rawpointer")
|
||||
(version "0.1.0")
|
||||
(source
|
||||
|
@ -14423,15 +14445,7 @@ (define-public rust-rawpointer-0.1
|
|||
(file-name (string-append name "-" version ".crate"))
|
||||
(sha256
|
||||
(base32
|
||||
"06ghpm9y7gacks78s3maakha07kbnwrxif5q37r2l7z1sali3b7b"))))
|
||||
(build-system cargo-build-system)
|
||||
(home-page "https://github.com/bluss/rawpointer/")
|
||||
(synopsis "Extra methods for raw pointers")
|
||||
(description "Extra methods for raw pointers. For example
|
||||
@code{.post_inc()} and @code{.pre_dec()} (c.f. @code{ptr++} and @code{--ptr})
|
||||
and @code{ptrdistance}.")
|
||||
(license (list license:asl2.0
|
||||
license:expat))))
|
||||
"06ghpm9y7gacks78s3maakha07kbnwrxif5q37r2l7z1sali3b7b"))))))
|
||||
|
||||
(define-public rust-rawslice-0.1
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue