diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-01-29 23:11:20 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-01-31 09:50:32 +0100 |
commit | dc7912ce77023624db8a7e523e9438e9c3d4f21a (patch) | |
tree | c864c01a08f65f4c7646e307f9c816693a67ff9f /gnu/packages | |
parent | bd5f593edfa15ad2f9d6a10197faa82abba4ef93 (diff) | |
download | guix-patches-dc7912ce77023624db8a7e523e9438e9c3d4f21a.tar guix-patches-dc7912ce77023624db8a7e523e9438e9c3d4f21a.tar.gz |
gnu: Add rust-core-graphics-0.19.
* gnu/packages/crates-graphics.scm (rust-core-graphics-0.19): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-graphics.scm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index 5f1607ab61..e9e8eff361 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -376,6 +376,26 @@ for computer graphics.") "This package provides bindings to Core Graphics for macOS.") (license (list license:expat license:asl2.0)))) +(define-public rust-core-graphics-0.19 + (package + (inherit rust-core-graphics-0.21) + (name "rust-core-graphics") + (version "0.19.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "core-graphics" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08z9pgwfc0wb5v3ns7rnb2010q9g42b5vfwhp9fv4spawrs9725k")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-core-foundation" ,rust-core-foundation-0.7) + ("rust-foreign-types" ,rust-foreign-types-0.3) + ("rust-libc" ,rust-libc-0.2)))))) + (define-public rust-core-graphics-0.17 (package (inherit rust-core-graphics-0.21) |