diff options
Diffstat (limited to 'gnu/packages/crates-graphics.scm')
-rw-r--r-- | gnu/packages/crates-graphics.scm | 6869 |
1 files changed, 0 insertions, 6869 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm deleted file mode 100644 index 9c4975b97b..0000000000 --- a/gnu/packages/crates-graphics.scm +++ /dev/null @@ -1,6869 +0,0 @@ -;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2020 Valentin Ignatev <valentignatev@gmail.com> -;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com> -;;; Copyright © 2020, 2021, 2023-2025 Efraim Flashner <efraim@flashner.co.il> -;;; Copyright © 2020 John Soo <jsoo1@asu.edu> -;;; Copyright © 2020 Gabriel Arazas <foo.dogsquared@gmail.com> -;;; Copyright © 2020 Raghav Gururajan <raghavgururajan@disroot.org> -;;; Copyright © 2020 Danny Milosavljevic <dannym@scratchpost.org> -;;; Copyright © 2020 Tobias Geerinckx-Rice <me@tobias.gr> -;;; Copyright © 2020 Leo Famulari <leo@famulari.name> -;;; Copyright © 2020-2022 Nicolas Goaziou <mail@nicolasgoaziou.fr> -;;; Copyright © 2020 Antoine Côté <antoine.cote@posteo.net> -;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com> -;;; Copyright © 2021 Zheng Junjie <873216071@qq.com> -;;; Copyright © 2022 Marius Bakke <marius@gnu.org> -;;; Copyright © 2023, 2024 Jaeme Sifat <jaeme@runbox.com> -;;; Copyright © 2024 Troy Figiel <troy@troyfigiel.com> -;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus@gmail.com> -;;; Copyright © 2024 Giacomo Leidi <goodoldpaul@autistici.org> -;;; -;;; This file is part of GNU Guix. -;;; -;;; GNU Guix is free software; you can redistribute it and/or modify it -;;; under the terms of the GNU General Public License as published by -;;; the Free Software Foundation; either version 3 of the License, or (at -;;; your option) any later version. -;;; -;;; GNU Guix is distributed in the hope that it will be useful, but -;;; WITHOUT ANY WARRANTY; without even the implied warranty of -;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -;;; GNU General Public License for more details. -;;; -;;; You should have received a copy of the GNU General Public License -;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. - -(define-module (gnu packages crates-graphics) - #:use-module (guix build-system cargo) - #:use-module (guix download) - #:use-module (guix gexp) - #:use-module ((guix licenses) #:prefix license:) - #:use-module (guix packages) - #:use-module (gnu packages) - #:use-module (gnu packages assembly) - #:use-module (gnu packages compression) - #:use-module (gnu packages crates-apple) - #:use-module (gnu packages crates-check) - #:use-module (gnu packages crates-compression) - #:use-module (gnu packages crates-io) - #:use-module (gnu packages crates-web) - #:use-module (gnu packages crates-windows) - #:use-module (gnu packages fontutils) - #:use-module (gnu packages freedesktop) - #:use-module (gnu packages gl) - #:use-module (gnu packages glib) - #:use-module (gnu packages image) - #:use-module (gnu packages image-processing) - #:use-module (gnu packages llvm) - #:use-module (gnu packages pkg-config) - #:use-module (gnu packages python) - #:use-module (gnu packages version-control) - #:use-module (gnu packages video) - #:use-module (gnu packages vulkan) - #:use-module (gnu packages xdisorg) - #:use-module (gnu packages xml) - #:use-module (gnu packages xorg)) - -;;; -;;; Please: Try to add new module packages in alphabetic order. - -(define-public rust-andrew-0.3 - (package - (name "rust-andrew") - (version "0.3.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "andrew" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1kx79z6mh7wwp4pz683bdya54h7w7wpzjcwf834fwbv4vl4znjlc")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-rusttype" ,rust-rusttype-0.9) - ("rust-walkdir" ,rust-walkdir-2) - ("rust-xdg" ,rust-xdg-2) - ("rust-xml-rs" ,rust-xml-rs-0.8)))) - (home-page "https://github.com/trimental/andrew") - (synopsis "Provides convenient drawing of objects to buffers") - (description - "The @code{andrew} crate provides convenient drawing of objects such as -shapes, lines and text to buffers.") - (license license:expat))) - -(define-public rust-andrew-0.2 - (package - (inherit rust-andrew-0.3) - (name "rust-andrew") - (version "0.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "andrew" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0pmklwcwy8g1jras46fz8xcny779zfqpg4riksrbdhkjk3w0jzwv")))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-line-drawing" ,rust-line-drawing-0.7) - ("rust-rusttype" ,rust-rusttype-0.7) - ("rust-walkdir" ,rust-walkdir-2) - ("rust-xdg" ,rust-xdg-2) - ("rust-xml-rs" ,rust-xml-rs-0.8)) - #:cargo-development-inputs - (("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.4)))) - (inputs - (list wayland)))) - -(define-public rust-ansi-colours-1 - (package - (name "rust-ansi-colours") - (version "1.2.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "ansi_colours" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1zimwh84gs1r0g0chy6x5lm9v0ksxxlzwy8nyj80f6cq08zc9vhl")) - (modules '((guix build utils))) - (snippet - '(begin (substitute* "Cargo.toml" - (((string-append ">= ([[:digit:]]+\\.[[:digit:]]+)," - " <= ([[:digit:]]+\\.[[:digit:]]+)") - _ version _) - (string-append ">=" version))))))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-ansi-term" ,rust-ansi-term-0.12) - ("rust-anstyle" ,rust-anstyle-1) - ("rust-rgb" ,rust-rgb-0.8) - ("rust-termcolor" ,rust-termcolor-1)) - #:cargo-development-inputs - (("rust-crc64" ,rust-crc64-2) - ("rust-criterion" ,rust-criterion-0.5) - ("rust-empfindung" ,rust-empfindung-0.2) - ("rust-lab" ,rust-lab-0.11) - ("rust-rgb" ,rust-rgb-0.8)))) - (home-page "https://github.com/mina86/ansi_colours") - (synopsis "Palette converter between true-colour and ANSI terminal") - (description - "@code{ansi_colours} is a library which converts between 24-bit sRGB -colours and 8-bit colour palette used by ANSI terminals such as @code{xterm} on -@code{rxvt-unicode} in 256-colour mode. -The most common use case is when using 24-bit colours in a terminal emulator -which only support 8-bit colour palette. This package allows true-colours to be -approximated by values supported by the terminal.") - (license license:lgpl3+))) - -(define-public rust-ansi-term-0.12 - (package - (name "rust-ansi-term") - (version "0.12.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "ansi_term" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1ljmkbilxgmhavxvxqa7qvm6f3fjggi7q2l3a72q9x0cxjvrnanm")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-serde" ,rust-serde-1) - ("rust-winapi" ,rust-winapi-0.3)) - #:cargo-development-inputs - (("rust-doc-comment" ,rust-doc-comment-0.3) - ("rust-regex" ,rust-regex-1) - ("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://github.com/ogham/rust-ansi-term") - (synopsis "Library for ANSI terminal colours and styles") - (description - "This is a library for controlling colours and formatting, such as red bold -text or blue underlined text, on ANSI terminals.") - (license license:expat))) - -(define-public rust-ansi-term-0.11 - (package - (inherit rust-ansi-term-0.12) - (name "rust-ansi-term") - (version "0.11.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "ansi_term" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "16wpvrghvd0353584i1idnsgm0r3vchg8fyrm0x8ayv1rgvbljgf")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-winapi" ,rust-winapi-0.3)))))) - -(define-public rust-ansi-term-0.9 - (package - (inherit rust-ansi-term-0.11) - (name "rust-ansi-term") - (version "0.9.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "ansi_term" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1xif1bh938qpfc3d0f9xgidibpm65xix11w9gszwqnia00q7rb13")))) - (arguments `()))) - -(define-public rust-ansi-to-tui-7 - (package - (name "rust-ansi-to-tui") - (version "7.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "ansi-to-tui" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0b4iynqcqaav8i55w8lk7ypm6xr845vh32lcw8vxffff3qgmwmb7")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-nom" ,rust-nom-7) - ("rust-ratatui" ,rust-ratatui-0.29) - ("rust-simdutf8" ,rust-simdutf8-0.1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-thiserror" ,rust-thiserror-1)) - #:cargo-development-inputs - (("rust-anyhow" ,rust-anyhow-1) - ("rust-criterion" ,rust-criterion-0.5) - ("rust-pretty-assertions" ,rust-pretty-assertions-1)))) - (home-page "https://github.com/uttarayan21/ansi-to-tui") - (synopsis - "Library to convert ansi color coded text into @code{ratatui::text::Text}") - (description - "This package provides a library to convert ansi color coded text into -@code{ratatui::text::Text} type from the ratatui library.") - (license license:expat))) - -(define-public rust-ansiterm-0.12 - (package - (name "rust-ansiterm") - (version "0.12.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "ansiterm" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1k14pywvgd829swxzji0nchk4n6yvr9xz6lkwv96v8ax77sqgdaa")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-ansi-colours" ,rust-ansi-colours-1) - ("rust-serde" ,rust-serde-1) - ("rust-winapi" ,rust-winapi-0.3)) - #:cargo-development-inputs (("rust-doc-comment" ,rust-doc-comment-0.3) - ("rust-regex" ,rust-regex-1) - ("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://github.com/rustadopt/ansiterm-rs") - (synopsis "Library for ANSI terminal colours and styles (bold, underline)") - (description - "This package provides a library for ANSI terminal colours and -styles (bold, underline).") - (license license:expat))) - -(define-public rust-aom-sys-0.3 - (package - (name "rust-aom-sys") - (version "0.3.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "aom-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0bc1dzl3c95s44q7c1i0vnj7fhiqf44in8w22nw5vmp1vgbpadk2")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69) - ("rust-system-deps" ,rust-system-deps-6)))) - (native-inputs (list pkg-config)) - (inputs (list clang libaom llvm)) - (home-page "https://github.com/rust-av/aom-rs") - (synopsis "FFI bindings to aom") - (description "This package provides FFI bindings to aom.") - (license license:expat))) - -(define-public rust-ascii-canvas-3 - (package - (name "rust-ascii-canvas") - (version "3.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "ascii-canvas" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1in38ziqn4kh9sw89ys4naaqzvvjscfs0m4djqbfq7455v5fq948")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-term" ,rust-term-0.7)) - #:cargo-development-inputs (("rust-diff" ,rust-diff-0.1)))) - (home-page "https://github.com/nikomatsakis/ascii-canvas") - (synopsis "Simple canvas for drawing lines and styled text and emitting to -the terminal") - (description "@code{ASCII} canvas is a simple Rust library that allows you -to draw lines and colored text and then write them to the terminal. It uses -the term library to handle the ANSI nonsense and hence it works on Windows, -Mac, and Unix.") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-ascii-canvas-2 - (package - (inherit rust-ascii-canvas-3) - (name "rust-ascii-canvas") - (version "2.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "ascii-canvas" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0a9s8vrbc5jr6ry5ygjyfqmbs9gyya1v6dsxzsczpai8z4nvg3pz")))) - (arguments - `(#:skip-build? #t ;; TODO: failes due to an unresolved import - #:cargo-inputs (("rust-term" ,rust-term-0.5)))))) - -(define-public rust-ash-0.37 - (package - (name "rust-ash") - (version "0.37.3+1.3.251") - (source - (origin - (method url-fetch) - (uri (crate-uri "ash" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0jndbsi5c8xifh4fdp378xpbyzdhs7y38hmbhih0lsv8bn1w7s9r")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-test-flags - '("--release" "--" - "--skip=entry::Entry::try_enumerate_instance_version" - "--skip=src/lib.rs") - #:cargo-inputs (("rust-libloading" ,rust-libloading-0.7)))) - (home-page "https://github.com/MaikKlein/ash") - (synopsis "Vulkan bindings for Rust") - (description "Vulkan bindings for Rust.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-ash-window-0.12 - (package - (name "rust-ash-window") - (version "0.12.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "ash-window" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1armbqzr0x905yypvh9ywgjj91kn93y5mxd6gkwaiwr9gid2h4mr")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-ash" ,rust-ash-0.37) - ("rust-raw-window-handle" ,rust-raw-window-handle-0.5) - ("rust-raw-window-metal" ,rust-raw-window-metal-0.3)) - #:cargo-development-inputs (("rust-ash" ,rust-ash-0.37) - ("rust-winit" ,rust-winit-0.27)))) - (native-inputs (list pkg-config vulkan-loader)) - (inputs (list expat fontconfig freetype)) - (home-page "https://github.com/MaikKlein/ash") - (synopsis "Interop library between ash and raw-window-handle") - (description "Interop library between ash and raw-window-handle.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-av-data-0.4 - (package - (name "rust-av-data") - (version "0.4.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "av-data" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "13ih12xbhjykwrncdsvnibjanjymmxbn2mqc3014r4hpsfjpp9pw")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-byte-slice-cast" ,rust-byte-slice-cast-1) - ("rust-bytes" ,rust-bytes-1) - ("rust-num-derive" ,rust-num-derive-0.4) - ("rust-num-rational" ,rust-num-rational-0.4) - ("rust-num-traits" ,rust-num-traits-0.2)))) - (home-page "https://github.com/rust-av/rust-av") - (synopsis "Multimedia data structures") - (description "This package provides multimedia data structures.") - (license license:expat))) - -(define-public rust-avif-parse-1 - (package - (name "rust-avif-parse") - (version "1.3.2") - (source (origin - (method url-fetch) - (uri (crate-uri "avif-parse" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "02gjhprg6hs79shpb7mljc68zsz0f75dall1pkhqcax0f5jmpdvz")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-arrayvec" ,rust-arrayvec-0.7) - ("rust-bitreader" ,rust-bitreader-0.3) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-fallible-collections" ,rust-fallible-collections-0.5) - ("rust-leb128" ,rust-leb128-0.2) - ("rust-log" ,rust-log-0.4)) - #:cargo-development-inputs - (("rust-env-logger" ,rust-env-logger-0.11) - ("rust-walkdir" ,rust-walkdir-2)))) - (home-page "https://github.com/kornelski/avif-parse") - (synopsis "Parser for AVIF image files") - (description "This AVIF parser allows extracting the AV1 payload and alpha -channel metadata out of AVIF image files. The parser is a fork of Mozilla's -MP4 parser used in Firefox, so it's designed to be robust and safely handle -untrusted data.") - (license license:mpl2.0))) - -(define-public rust-avif-parse-0.13 - (package - (inherit rust-avif-parse-1) - (name "rust-avif-parse") - (version "0.13.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "avif-parse" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1vylrjq77mpl6flmd85j5f2qimh6vjn03syvq8agb62x56khm0xj")))) - (arguments - `(#:cargo-inputs - (("rust-bitreader" ,rust-bitreader-0.3) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-fallible-collections" ,rust-fallible-collections-0.4) - ("rust-log" ,rust-log-0.4) - ("rust-static-assertions" ,rust-static-assertions-1)) - #:cargo-development-inputs - (("rust-env-logger" ,rust-env-logger-0.8) - ("rust-walkdir" ,rust-walkdir-2)))))) - -(define-public rust-avif-serialize-0.8 - (package - (name "rust-avif-serialize") - (version "0.8.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "avif-serialize" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0qnxpnwl5yn31xh3ymr546jbazj3xi1nzvay47502cf4j0908dg3")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.7)) - #:cargo-development-inputs - (("rust-avif-parse" ,rust-avif-parse-1) - ("rust-fallible-collections" ,rust-fallible-collections-0.4) - ("rust-mp4parse" ,rust-mp4parse-0.17)))) - (home-page "https://lib.rs/avif-serialize") - (synopsis "Writer for AVIF header structure (MPEG/HEIF/MIAF/ISO-BMFF)") - (description - "This package provides a minimal writer for AVIF header structure. This -is a tiny alternative to @code{libavif}. It creates the jungle of -MPEG/HEIF/MIAF/ISO-BMFF ``boxes'' as appropriate for AVIF files. It supports -alpha channel embedding.") - (license license:bsd-3))) - -(define-public rust-avif-serialize-0.7 - (package - (inherit rust-avif-serialize-0.8) - (name "rust-avif-serialize") - (version "0.7.7") - (source (origin - (method url-fetch) - (uri (crate-uri "avif-serialize" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0d2makdw756978i8s3qhlhh1h91y5maxriay6r4kmsmk8pky2qfc")))) - (arguments - `(#:tests? #f ; Undeclared dependencies - #:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.7)) - #:cargo-development-inputs (("rust-avif-parse" ,rust-avif-parse-1)))))) - -(define-public rust-avif-serialize-0.6.5-yanked - (package - (inherit rust-avif-serialize-0.7) - (name "rust-avif-serialize") - (version "0.6.5") ; This version was yanked! - (source - (origin - (method url-fetch) - (uri (crate-uri "avif-serialize" version)) - (file-name (string-append name "-" version "-yanked.tar.gz")) - (sha256 - (base32 "130wq838lslkcqcp2kjci7q3aq9qpir07pvxndc81xqbn63wvdjg")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-arrayvec" ,rust-arrayvec-0.5)))) - (properties '((crate-version-yanked? . #t))))) - -(define-public rust-avif-serialize-0.6 - ;; There are no non-yanked versions of this semver. - (deprecated-package "rust-avif-serialize" rust-avif-serialize-0.6.5-yanked)) - -(define-public rust-box-drawing-0.1 - (package - (name "rust-box-drawing") - (version "0.1.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "box_drawing" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0jx4rrxy4xmgmplmgl398vrng67sfl8qny7n7d91fyw6zpaxh9za")))) - (build-system cargo-build-system) - (home-page "https://gitlab.com/chronos.alfa/box_drawing.git") - (synopsis "Simple library containing constants for UTF-8 box drawing") - (description - "This package provides a simple library containing constants for UTF-8 box -drawing.") - (license license:expat))) - -(define-public rust-cgl-0.3 - (package - (name "rust-cgl") - (version "0.3.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "cgl" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1zs7skrsyrsm759vfy2cygkx52fx91b567a12bpaz1sf4d8hbv8c")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t ; only available on macOS - #:cargo-inputs (("rust-libc" ,rust-libc-0.2)))) - (home-page "https://github.com/servo/cgl-rs") - (synopsis "Rust bindings for CGL on Mac") - (description "Rust bindings for CGL on Mac.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-cgl-0.2 - (package - (inherit rust-cgl-0.3) - (name "rust-cgl") - (version "0.2.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "cgl" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0j8ayr8pbwvyv6l8r7m5z197rs3pqn97085w9j4rfn7yfh5yrrsm")))) - (arguments - `(#:skip-build? #t ; only available on macOS - #:cargo-inputs - (("rust-gleam" ,rust-gleam-0.6) - ("rust-libc" ,rust-libc-0.2)))))) - -(define-public rust-cgmath-0.18 - (package - (name "rust-cgmath") - (version "0.18.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "cgmath" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "05sk7c1c1jg5ygqvc3y77kxddp177gwazfibhd864ag3800x760s")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-approx" ,rust-approx-0.4) - ("rust-mint" ,rust-mint-0.5) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-rand" ,rust-rand-0.8) - ("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs - (("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://github.com/brendanzab/cgmath") - (synopsis "Linear algebra and mathematics library") - (description - "This package provides a linear algebra and mathematics library -for computer graphics.") - (license license:asl2.0))) - -(define-public rust-cgmath-0.17 - (package - (inherit rust-cgmath-0.18) - (name "rust-cgmath") - (version "0.17.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "cgmath" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1rvgila6ivr0dh1bxza450a4yfwdi2pwj3h1vnwg0jy4xk6l8f98")))) - (arguments - `(#:skip-build? #t ; Crate won't build without glium. - #:cargo-inputs - (("rust-approx" ,rust-approx-0.3) - ("rust-mint" ,rust-mint-0.5) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-rand" ,rust-rand-0.6) - ("rust-serde" ,rust-serde-1) - ("rust-simd" ,rust-simd-0.2)) - #:cargo-development-inputs - (;("rust-glium" ,rust-glium-0.23) - ("rust-serde-json" ,rust-serde-json-1)))))) - -(define-public rust-cgmath-0.16 - (package - (inherit rust-cgmath-0.17) - (name "rust-cgmath") - (version "0.16.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "cgmath" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "07754c03v3srzf64ghsl3fggrdi4kjy6l3vyq2d2wfjfixybb934")))) - (arguments - `(#:skip-build? #t ; Crate won't build without glium. - #:cargo-inputs - (("rust-approx" ,rust-approx-0.1) - ("rust-mint" ,rust-mint-0.5) - ("rust-num-traits" ,rust-num-traits-0.1) - ("rust-rand" ,rust-rand-0.4) - ("rust-serde" ,rust-serde-1) - ("rust-simd" ,rust-simd-0.2)) - #:cargo-development-inputs - (;("rust-glium" ,rust-glium-0.19) - ("rust-serde-json" ,rust-serde-json-1)))))) - -(define-public rust-colorous-1 - (package - (name "rust-colorous") - (version "1.0.15") - (source - (origin - (method url-fetch) - (uri (crate-uri "colorous" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "146g6rl0083r1h8y5nzq9ca28jqqw3mmapc0bfzg7f91z7ygk1hb")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-development-inputs (("rust-ab-glyph" ,rust-ab-glyph-0.2) - ("rust-dejavu" ,rust-dejavu-2) - ("rust-image" ,rust-image-0.25) - ("rust-imageproc" ,rust-imageproc-0.25)))) - (home-page "https://github.com/dtolnay/colorous") - (synopsis "Professional color schemes ported from d3-scale-chromatic") - (description "Professional color schemes ported from d3-scale-chromatic.") - (license license:asl2.0))) - -(define-public rust-core-graphics-0.24 - (package - (name "rust-core-graphics") - (version "0.24.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "core-graphics" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1w8n8gqqm8swkanaibilqya8ryldp9fvf80byjxsaprn493a75gs")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t ; link kind `framework` is only supported on Apple targets - #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) - ("rust-core-foundation" ,rust-core-foundation-0.10) - ("rust-core-graphics-types" ,rust-core-graphics-types-0.2) - ("rust-foreign-types" ,rust-foreign-types-0.5) - ("rust-libc" ,rust-libc-0.2)))) - (home-page "https://github.com/servo/core-foundation-rs") - (synopsis "Bindings to Core Graphics for macOS") - (description - "This package provides bindings to Core Graphics for @code{macOS}.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-core-graphics-0.23 - (package - (inherit rust-core-graphics-0.24) - (name "rust-core-graphics") - (version "0.23.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "core-graphics" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "10dhv3gk4kmbzl14xxkrhhky4fdp8h6nzff6h0019qgr6nz84xy0")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) - ("rust-core-foundation" ,rust-core-foundation-0.9) - ("rust-core-graphics-types" ,rust-core-graphics-types-0.1) - ("rust-foreign-types" ,rust-foreign-types-0.5) - ("rust-libc" ,rust-libc-0.2)))))) - -(define-public rust-core-graphics-0.22 - (package - (inherit rust-core-graphics-0.23) - (name "rust-core-graphics") - (version "0.22.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "core-graphics" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1yz4xzbz36vbmlra0viazzlicp8kap1ldgshsp5nzz4g7fmvp095")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-core-foundation" ,rust-core-foundation-0.9) - ("rust-core-graphics-types" ,rust-core-graphics-types-0.1) - ("rust-foreign-types" ,rust-foreign-types-0.3) - ("rust-libc" ,rust-libc-0.2)))))) - -(define-public rust-core-graphics-0.21 - (package - (inherit rust-core-graphics-0.22) - (name "rust-core-graphics") - (version "0.21.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "core-graphics" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0y5rxchfhvjw25d19h9kz5pzshdngs26frgvx2n3w86gg11pr9jj")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-core-foundation" ,rust-core-foundation-0.9) - ("rust-foreign-types" ,rust-foreign-types-0.3) - ("rust-libc" ,rust-libc-0.2)))))) - -(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) - (name "rust-core-graphics") - (version "0.17.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "core-graphics" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1acm3vygngnilzlr6klym5ywh7kfzh2xxrh2l41152hwmdl0jyan")))) - (arguments - `(#:skip-build? #t ; only for macOS - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-core-foundation" ,rust-core-foundation-0.6) - ("rust-foreign-types" ,rust-foreign-types-0.3) - ("rust-libc" ,rust-libc-0.2)))))) - -(define-public rust-core-graphics-types-0.2 - (package - (name "rust-core-graphics-types") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "core-graphics-types" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1sqka1rz84lr3p69i1s6lggnpnznmrw4ngc5q76w9xhky80s2i1x")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t ; link kind `framework` is only supported on Apple targets - #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) - ("rust-core-foundation" ,rust-core-foundation-0.10) - ("rust-libc" ,rust-libc-0.2)))) - (home-page "https://github.com/servo/core-foundation-rs") - (synopsis "Bindings for some fundamental Core Graphics types") - (description - "This package provides bindings for some fundamental Core Graphics types.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-core-graphics-types-0.1 - (package - (inherit rust-core-graphics-types-0.2) - (name "rust-core-graphics-types") - (version "0.1.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "core-graphics-types" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1bxg8nxc8fk4kxnqyanhf36wq0zrjr552c58qy6733zn2ihhwfa5")))) - (arguments - `(#:skip-build? #t ; link kind `framework` is only supported on Apple targets - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-core-foundation" ,rust-core-foundation-0.9) - ("rust-libc" ,rust-libc-0.2)))))) - -(define-public rust-core-video-sys-0.1 - (package - (name "rust-core-video-sys") - (version "0.1.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "core-video-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0a1qbn50jrb5hxrfshyb7y0f3pbf4ily6i6nciv7bn8ac4isvv1l")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-0.1) - ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.7) - ("rust-core-graphics" ,rust-core-graphics-0.19) - ("rust-libc" ,rust-libc-0.2) - ("rust-metal" ,rust-metal-0.18) - ("rust-objc" ,rust-objc-0.2)))) - (home-page "https://github.com/luozijun/rust-core-video-sys") - (synopsis "Bindings to CoreVideo.framework for macOS and iOS") - (description - "This package provides bindings to CoreVideo.framework for macOS -and iOS.") - (license license:expat))) - -(define-public rust-cursor-icon-1 - (package - (name "rust-cursor-icon") - (version "1.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "cursor-icon" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "14brf4vd6az9hnszwzqj7xyfaymqx9806d4i7xmwlaja3wjsr9ln")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs - (("rust-wayland-client" ,rust-wayland-client-0.31) - ("rust-wayland-cursor" ,rust-wayland-cursor-0.31)))) - (home-page "https://github.com/rust-windowing/cursor-icon") - (synopsis "Cross platform cursor icon type") - (description "This package provides a cross platform cursor icon type.") - (license (list license:expat license:asl2.0 license:zlib)))) - -(define-public rust-d3d12-0.7 - (package - (name "rust-d3d12") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "d3d12" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "084z4nz0ddmsjn6qbrgxygr55pvpi3yjrrkvmzyxs79b56ml8vp1")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t ; unresolved imports `winapi::shared`, `winapi::um` - #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) - ("rust-libloading" ,rust-libloading-0.8) - ("rust-winapi" ,rust-winapi-0.3)))) - (home-page "https://github.com/gfx-rs/d3d12-rs") - (synopsis "Low level D3D12 API wrapper") - (description "Low level D3D12 API wrapper.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-dark-light-1 - (package - (name "rust-dark-light") - (version "1.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "dark-light" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0g1sq0byf5h9w12b02aza8vbrq81as4yh67yvgf419vz2sbzlxia")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-dconf-rs" ,rust-dconf-rs-0.3) - ("rust-detect-desktop-environment" ,rust-detect-desktop-environment-0.2) - ("rust-dirs" ,rust-dirs-4) - ("rust-objc" ,rust-objc-0.2) - ("rust-rust-ini" ,rust-rust-ini-0.18) - ("rust-web-sys" ,rust-web-sys-0.3) - ("rust-winreg" ,rust-winreg-0.10) - ("rust-zbus" ,rust-zbus-4)))) - (home-page "https://github.com/frewsxcv/rust-dark-light") - (synopsis "Detect if dark mode or light mode is enabled") - (description - "This package provides a way to detect if dark mode or light mode is enabled.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-dav1d-0.10 - (package - (name "rust-dav1d") - (version "0.10.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "dav1d" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1qd13sm1bfbc5chjgrzk4syffkky994lkyzhqrqklqxg1fj58jqd")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-av-data" ,rust-av-data-0.4) - ("rust-bitflags" ,rust-bitflags-2) - ("rust-dav1d-sys" ,rust-dav1d-sys-0.8) - ("rust-static-assertions" ,rust-static-assertions-1)))) - (native-inputs - (list pkg-config)) - (inputs - (list dav1d clang llvm)) - (home-page "https://github.com/rust-av/dav1d-rs") - (synopsis "Libdav1d bindings") - (description "This package provides libdav1d bindings in rust.") - (license license:expat))) - -(define-public rust-dav1d-sys-0.8 - (package - (name "rust-dav1d-sys") - (version "0.8.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "dav1d-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "158fqp97ny3206sydnimc2jy1c1gcxa4llqvvkp3ii2dixg1rjvf")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) - ("rust-system-deps" ,rust-system-deps-6)))) - (native-inputs - (list pkg-config)) - (inputs - (list dav1d)) - (home-page "https://github.com/rust-av/dav1d-rs") - (synopsis "FFI bindings to dav1d") - (description "This package provides FFI bindings to dav1d.") - (license license:expat))) - -(define-public rust-dcv-color-primitives-0.6 - (package - (name "rust-dcv-color-primitives") - (version "0.6.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "dcv-color-primitives" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0k3384cfwhc8z9pxj0gb6dz8sjcwsamnpbrkbc570sfhzvnn5b87")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-paste" ,rust-paste-1) - ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3) - ("rust-getrandom" ,rust-getrandom-0.2) - ("rust-itertools" ,rust-itertools-0.10) - ("rust-perf-event" ,rust-perf-event-0.4) - ("rust-rand" ,rust-rand-0.8) - ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) - (home-page "https://github.com/aws/dcv-color-primitives") - (synopsis "Library to perform image color model conversion") - (description - "This package provides a library to perform image color model conversion.") - (license license:expat-0))) - -(define-public rust-deltae-0.3 - (package - (name "rust-deltae") - (version "0.3.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "deltae" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1d3hw9hpvicl9x0x34jr2ybjk5g5ym1lhbyz6zj31110gq8zaaap")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-development-inputs (("rust-clap" ,rust-clap-4)))) - (home-page "https://gitlab.com/ryanobeirne/deltae") - (synopsis "Calculate delta-e between two colors") - (description "Calculate Delta E between two colors in CIE Lab space.") - (license license:expat))) - -(define-public rust-dpi-0.1 - (package - (name "rust-dpi") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "dpi" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0lzz48gpgbwdrw0s8vib0589ij9jizv1vzsphm4xd9kw58lhwp7j")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-mint" ,rust-mint-0.5) - ("rust-serde" ,rust-serde-1)))) - (home-page "https://github.com/rust-windowing/winit") - (synopsis "Types for handling UI scaling") - (description "This package provides types for handling UI scaling.") - (license license:asl2.0))) - -(define-public rust-drm-0.12 - (package - (name "rust-drm") - (version "0.12.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "drm" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1ldmrglplhrcfmpyjy2ga4hg89c89f0kzmky3b0j85b0pm5qr24q")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) - ("rust-bytemuck" ,rust-bytemuck-1) - ("rust-drm-ffi" ,rust-drm-ffi-0.8) - ("rust-drm-fourcc" ,rust-drm-fourcc-2) - ("rust-rustix" ,rust-rustix-0.38)) - #:cargo-development-inputs (("rust-image" ,rust-image-0.24) - ("rust-rustix" ,rust-rustix-0.38) - ("rust-rustyline" ,rust-rustyline-13)))) - (home-page "https://github.com/Smithay/drm-rs") - (synopsis "Safe, low-level bindings to the Direct Rendering Manager API") - (description - "Safe, low-level bindings to the Direct Rendering Manager API.") - (license license:expat))) - -(define-public rust-drm-0.11 - (package - (inherit rust-drm-0.12) - (name "rust-drm") - (version "0.11.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "drm" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1pnwicchrbkmfx9rn222q7a8jalzm6faa9pgnkdffnnpc2gady50")))) - (arguments - `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) - ("rust-bytemuck" ,rust-bytemuck-1) - ("rust-drm-ffi" ,rust-drm-ffi-0.7) - ("rust-drm-fourcc" ,rust-drm-fourcc-2) - ("rust-rustix" ,rust-rustix-0.38)) - #:cargo-development-inputs (("rust-image" ,rust-image-0.24) - ("rust-rustix" ,rust-rustix-0.38) - ("rust-rustyline" ,rust-rustyline-13)))))) - -(define-public rust-drm-ffi-0.9 - (package - (name "rust-drm-ffi") - (version "0.9.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "drm-ffi" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "12vff80hdpp81gj5lqw25xnkppwsxc4wklpn8nc556wsv5ci9r6q")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-drm-sys" ,rust-drm-sys-0.8) - ("rust-rustix" ,rust-rustix-0.38)))) - (home-page "https://github.com/Smithay/drm-rs") - (synopsis "Safe, low-level bindings to the Direct Rendering Manager API") - (description - "Safe, low-level bindings to the Direct Rendering Manager API.") - (license license:expat))) - -(define-public rust-drm-ffi-0.8 - (package - (inherit rust-drm-ffi-0.9) - (name "rust-drm-ffi") - (version "0.8.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "drm-ffi" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0lwd4zvimd4132cpay3vs41gf1sv3s4gx37a997wnz4bwhkqgjcp")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-drm-sys" ,rust-drm-sys-0.7) - ("rust-rustix" ,rust-rustix-0.38)))))) - -(define-public rust-drm-ffi-0.7 - (package - (inherit rust-drm-ffi-0.8) - (name "rust-drm-ffi") - (version "0.7.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "drm-ffi" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1iiardadqms7gaad50qq9624xzw0asfbnpyh5biq693r0n24ycs1")))) - (arguments - `(#:cargo-inputs (("rust-drm-sys" ,rust-drm-sys-0.6) - ("rust-rustix" ,rust-rustix-0.38)))))) - -(define-public rust-drm-ffi-0.6 - (package - (inherit rust-drm-ffi-0.8) - (name "rust-drm-ffi") - (version "0.6.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "drm-ffi" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0par8xcrpnz1h53yam4ai9jpqc9as337vclzsn4hw9xnqhciqzds")))) - (arguments - `(#:cargo-inputs (("rust-drm-sys" ,rust-drm-sys-0.5) - ("rust-nix" ,rust-nix-0.27)))))) - -(define-public rust-drm-fourcc-2 - (package - (name "rust-drm-fourcc") - (version "2.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "drm-fourcc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1x76v9a0pkgym4n6cah4barnai9gsssm7gjzxskw2agwibdvrbqa")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.57) - ("rust-regex" ,rust-regex-1) - ("rust-serde" ,rust-serde-1)))) - (home-page "https://github.com/danielzfranklin/drm-fourcc-rs") - (synopsis "Enum with every valid Direct Rendering Manager format fourcc") - (description "This package provides an enum with every valid @acronym{DRM, -Direct Rendering Manager} format fourcc.") - (license license:expat))) - -(define-public rust-drm-sys-0.8 - (package - (name "rust-drm-sys") - (version "0.8.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "drm-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1345z72hd2rna4qxd2zcpbzvw0z7ywfndk6g2ngdci69vg46dyxs")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69) - ("rust-libc" ,rust-libc-0.2) - ("rust-linux-raw-sys" ,rust-linux-raw-sys-0.6) - ("rust-pkg-config" ,rust-pkg-config-0.3)))) - (home-page "https://github.com/Smithay/drm-rs") - (synopsis "Bindings to the Direct Rendering Manager API") - (description - "This package provides bindings to the Direct Rendering Manager API.") - (license license:expat))) - -(define-public rust-drm-sys-0.7 - (package - (inherit rust-drm-sys-0.8) - (name "rust-drm-sys") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "drm-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "11irvbzb0rbsm5zxgxsbaca8f6nvkl8kvwk3hwp6q6bf1gjdsfgx")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69) - ("rust-libc" ,rust-libc-0.2) - ("rust-linux-raw-sys" ,rust-linux-raw-sys-0.6) - ("rust-pkg-config" ,rust-pkg-config-0.3)))))) - -(define-public rust-drm-sys-0.6 - (package - (inherit rust-drm-sys-0.7) - (name "rust-drm-sys") - (version "0.6.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "drm-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0xiir3qkl6ccw898zbhdnckxyjlgzws5xfh526qiiwcj3y4gy29d")))) - (arguments - `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69) - ("rust-libc" ,rust-libc-0.2) - ("rust-linux-raw-sys" ,rust-linux-raw-sys-0.6) - ("rust-pkg-config" ,rust-pkg-config-0.3)))))) - -(define-public rust-drm-sys-0.5 - (package - (inherit rust-drm-sys-0.7) - (name "rust-drm-sys") - (version "0.5.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "drm-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1bhmwzbraxclivn2h83ab7aqdcly82sy7w85az6mcah6d021qkrs")))) - (arguments - `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.66) - ("rust-pkg-config" ,rust-pkg-config-0.3)))))) - -(define-public rust-enable-ansi-support-0.2 - (package - (name "rust-enable-ansi-support") - (version "0.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "enable-ansi-support" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0q5wv5b9inh7kzc2464ch51ffk920f9yb0q9xvvlp9cs5apg6kxa")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-windows-sys" ,rust-windows-sys-0.42)))) - (home-page "https://github.com/sunshowers-code/enable-ansi-support") - (synopsis "Enable ANSI escape code support on Windows 10") - (description - "This package provides ANSI escape code support on Windows 10.") - (license license:expat))) - -(define-public rust-enterpolation-0.2 - (package - (name "rust-enterpolation") - (version "0.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "enterpolation" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0ah41msghasm0i97awa67rv3mg6p3j0xijswy1gpdipprg4gbb8z")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Not all files included. - #:cargo-inputs - (("rust-assert-float-eq" ,rust-assert-float-eq-1) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-serde" ,rust-serde-1) - ("rust-topology-traits" ,rust-topology-traits-0.1)) - #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) - ("rust-image" ,rust-image-0.24) - ("rust-palette" ,rust-palette-0.7)))) - (home-page "https://github.com/NicolasKlenert/enterpolation") - (synopsis "Library for create and compute interpolations and extrapolations") - (description - "This package provides a library for creating and computing interpolations, -extrapolations and smoothing of generic data points.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-euclid-0.22 - (package - (name "rust-euclid") - (version "0.22.11") - (source - (origin - (method url-fetch) - (uri (crate-uri "euclid" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0j4yb01x9dn5hbbbigd3mwdplv4m29k5drmhmc95lj3yfi5xp75d")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-arbitrary" ,rust-arbitrary-1) - ("rust-bytemuck" ,rust-bytemuck-1) - ("rust-mint" ,rust-mint-0.5) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs - (("rust-serde-test" ,rust-serde-test-1)))) - (home-page "https://github.com/servo/euclid") - (synopsis "Geometry primitives") - (description "Geometry primitives written in Rust.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-eui48-0.4 - (package - (name "rust-eui48") - (version "0.4.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "eui48" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0sqbmcnvilanzjagknmpf85pnji2b9hn2pqzd5rygrfkwikghk4c")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-regex" ,rust-regex-1) - ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1)) - #:cargo-development-inputs - (("rust-bincode" ,rust-bincode-1)))) - (home-page "https://github.com/abaumhauer/eui48") - (synopsis "Library to generate and parse IEEE EUI-48 and EUI-64") - (description - "This package provides a library to generate and parse IEEE EUI-48 and -EUI-64, also known as MAC-48 media access control addresses.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-evdev-0.11 - (package - (name "rust-evdev") - (version "0.11.7") - (source - (origin - (method url-fetch) - (uri (crate-uri "evdev" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1zknxkgkyh9fx3mq4div9kcgvgsiy91vzd5sq7bdinsn467sfx65")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-bitvec" ,rust-bitvec-1) - ("rust-cfg-if" ,rust-cfg-if-1) - ("rust-futures-core" ,rust-futures-core-0.3) - ("rust-libc" ,rust-libc-0.2) - ("rust-nix" ,rust-nix-0.23) - ("rust-paste" ,rust-paste-1) - ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-tokio" ,rust-tokio-1)) - #:cargo-development-inputs (("rust-itertools" ,rust-itertools-0.10) - ("rust-tokio" ,rust-tokio-1)))) - (home-page "https://github.com/cmr/evdev") - (synopsis "Evdev interface for Linux") - (description "This package provides an evdev interface for Linux.") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-exr-1 - (package - (name "rust-exr") - (version "1.73.0") - (source (origin - (method url-fetch) - (uri (crate-uri "exr" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1q47yq78q9k210r6jy1wwrilxwwxqavik9l3l426rd17k7srfcgq")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Not all files included - #:cargo-inputs - (("rust-bit-field" ,rust-bit-field-0.10) - ("rust-half" ,rust-half-2) - ("rust-lebe" ,rust-lebe-0.5) - ("rust-miniz-oxide" ,rust-miniz-oxide-0.8) - ("rust-rayon-core" ,rust-rayon-core-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-zune-inflate" ,rust-zune-inflate-0.2)) - #:cargo-development-inputs - (("rust-bencher" ,rust-bencher-0.1) - ("rust-image" ,rust-image-0.25) - ("rust-rand" ,rust-rand-0.8) - ("rust-rayon" ,rust-rayon-1) - ("rust-walkdir" ,rust-walkdir-2)))) - (home-page "https://github.com/johannesvollmer/exrs") - (synopsis "Read and write OpenEXR files without any unsafe code") - (description "Read and write OpenEXR files without any unsafe code") - (license license:bsd-3))) - -(define-public rust-fast-image-resize-5 - (package - (name "rust-fast-image-resize") - (version "5.1.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "fast_image_resize" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "19fiq2lw8yvv0jbnz3scliwhs5hc3n2c3ipnxdz15z3rqp668lmm")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; use of undeclared crate or module `testing` - #:cargo-inputs (("rust-bytemuck" ,rust-bytemuck-1) - ("rust-cfg-if" ,rust-cfg-if-1) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-image" ,rust-image-0.25) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-rayon" ,rust-rayon-1) - ("rust-thiserror" ,rust-thiserror-1)) - #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) - ("rust-itertools" ,rust-itertools-0.14) - ("rust-libvips" ,rust-libvips-1) - ("rust-nix" ,rust-nix-0.29) - ("rust-png" ,rust-png-0.17) - ("rust-resize" ,rust-resize-0.8) - ("rust-rgb" ,rust-rgb-0.8) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-tera" ,rust-tera-1) - ("rust-walkdir" ,rust-walkdir-2)))) - (home-page "https://github.com/cykooz/fast_image_resize") - (synopsis "Library for fast image resizing with use of SIMD instructions") - (description - "This package provides a library for fast image resizing with use of -SIMD instructions.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-fast-image-resize-2 - (package - (inherit rust-fast-image-resize-5) - (name "rust-fast-image-resize") - (version "2.7.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "fast_image_resize" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0nnm59h7dl2bpi5k2wcd7zz14nl00sa33jiipbjbn48f0i09ly6c")))) - (arguments - `(#:tests? #f ; Unresolved import `testing' - #:cargo-inputs - (("rust-num-traits" ,rust-num-traits-0.2) - ("rust-thiserror" ,rust-thiserror-1)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.4) - ("rust-image" ,rust-image-0.24) - ("rust-itertools" ,rust-itertools-0.10) - ("rust-nix" ,rust-nix-0.26) - ("rust-png" ,rust-png-0.17) - ("rust-resize" ,rust-resize-0.7) - ("rust-rgb" ,rust-rgb-0.8) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-walkdir" ,rust-walkdir-2)))))) - -(define-public rust-fast-srgb8-1 - (package - (name "rust-fast-srgb8") - (version "1.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "fast-srgb8" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "18g6xwwh4gnkyx1352hnvwagpv0n4y98yp2llm8vyvwxh487abnx")))) - (build-system cargo-build-system) - (home-page "https://github.com/thomcc/fast-srgb8") - (synopsis "Conversions between linear float and 8-bit @code{sRGB}") - (description - "This package provides very fast conversions between linear float and -8-bit @code{sRGB} (with @code{no_std} support).") - (license (list license:expat license:asl2.0 license:cc0)))) - -(define-public rust-gfx-0.18 - (package - (name "rust-gfx") - (version "0.18.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "gfx" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "02lf16bgyvdk5imzw0r0xyxjrsyv2ficmf9kiarzvf5zx1bl0xgb")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-draw-state" ,rust-draw-state-0.8) - ("rust-gfx-core" ,rust-gfx-core-0.9) - ("rust-log" ,rust-log-0.4) - ("rust-mint" ,rust-mint-0.5)))) - (home-page "https://github.com/gfx-rs/gfx") - (synopsis "High-performance, bindless graphics API") - (description - "This package provides a high-performance, bindless graphics API.") - (license license:asl2.0))) - -(define-public rust-gfx-core-0.9 - (package - (name "rust-gfx-core") - (version "0.9.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "gfx_core" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0haldr99n12d90vqgvl77n59hywlklhdff85j2aljaz1yapdvyvm")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-log" ,rust-log-0.4) - ("rust-mint" ,rust-mint-0.5) - ("rust-draw-state" ,rust-draw-state-0.8) - ("rust-serde" ,rust-serde-1) - ("rust-bitflags" ,rust-bitflags-1)))) - (home-page "https://github.com/gfx-rs/gfx") - (synopsis "Core library of Gfx-rs") - (description "This package is a core library of Gfx-rs.") - (license license:asl2.0))) - -(define-public rust-gif-0.13 - (package - (name "rust-gif") - (version "0.13.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "gif" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1whrkvdg26gp1r7f95c6800y6ijqw5y0z8rgj6xihpi136dxdciz")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Not all files included. - #:cargo-inputs (("rust-color-quant" ,rust-color-quant-1) - ("rust-weezl" ,rust-weezl-0.1)) - #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) - ("rust-glob" ,rust-glob-0.3) - ("rust-png" ,rust-png-0.17) - ("rust-rayon" ,rust-rayon-1)))) - (home-page "https://github.com/image-rs/image-gif") - (synopsis "GIF decoder and encoder") - (description "This package provides a GIF decoder and encoder in Rust.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-gif-0.12 - (package - (inherit rust-gif-0.13) - (name "rust-gif") - (version "0.12.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gif" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0ibhjyrslfv9qm400gp4hd50v9ibva01j4ab9bwiq1aycy9jayc0")))) - (arguments - `(#:tests? #f ; Not all files included. - #:cargo-inputs (("rust-color-quant" ,rust-color-quant-1) - ("rust-weezl" ,rust-weezl-0.1)) - #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) - ("rust-glob" ,rust-glob-0.3) - ("rust-png" ,rust-png-0.17)))))) - -(define-public rust-gif-0.11 - (package - (inherit rust-gif-0.12) - (name "rust-gif") - (version "0.11.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "gif" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "01hbw3isapzpzff8l6aw55jnaqx2bcscrbwyf3rglkbbfp397p9y")))) - (arguments - `(#:tests? #f ; Not all files included. - #:cargo-inputs - (("rust-color-quant" ,rust-color-quant-1) - ("rust-weezl" ,rust-weezl-0.1)) - #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) - ("rust-glob" ,rust-glob-0.3) - ("rust-png" ,rust-png-0.17)))))) - -(define-public rust-gif-0.10 - (package - (inherit rust-gif-0.11) - (name "rust-gif") - (version "0.10.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "gif" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1bw174f7civdfgryvc8pvyhicpr96hzdajnda4s3y8iv3ch907a7")))) - (arguments - `(#:tests? #f ; tests not included in release - #:cargo-inputs - (("rust-color-quant" ,rust-color-quant-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-lzw" ,rust-lzw-0.10)) - #:cargo-development-inputs - (("rust-glob" ,rust-glob-0.3)))))) - -(define-public rust-gl-0.14 - (package - (name "rust-gl") - (version "0.14.0") - (source (origin - (method url-fetch) - (uri (crate-uri "gl" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "015lgy3qpzdw7mnh59a4y4hdjq1fhv7nkqlmh1h6fzc212qxlkm9")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-development-inputs - (("rust-glutin" ,rust-glutin-0.21)) - #:cargo-inputs - (("rust-gl-generator" ,rust-gl-generator-0.14)))) - (home-page "https://github.com/brendanzab/gl-rs/") - (synopsis "OpenGL bindings for rust") - (description "This package provides OpenGL bindings for rust.") - (license license:asl2.0))) - -(define-public rust-gl-generator-0.14 - (package - (name "rust-gl-generator") - (version "0.14.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gl_generator" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0k8j1hmfnff312gy7x1aqjzcm8zxid7ij7dlb8prljib7b1dz58s")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-khronos-api" ,rust-khronos-api-3) - ("rust-log" ,rust-log-0.4) - ("rust-xml-rs" ,rust-xml-rs-0.8)))) - (home-page "https://github.com/brendanzab/gl-rs/") - (synopsis "Code generators for bindings to the Khronos OpenGL APIs") - (description - "Code generators for creating bindings to the Khronos OpenGL APIs.") - (license license:asl2.0))) - -(define-public rust-gl-generator-0.13 - (package - (inherit rust-gl-generator-0.14) - (name "rust-gl-generator") - (version "0.13.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "gl_generator" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0jpqjqpyrl73sf8y20p5rv50qz8glnsvv9infg8h4vi52zgbp66a")))))) - -(define-public rust-gl-generator-0.11 - (package - (inherit rust-gl-generator-0.13) - (name "rust-gl-generator") - (version "0.11.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gl_generator" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1gdchvay0k0g931b2ki33mkfixcw4radk5b8sqsm29rahxg3v8ir")))))) - -(define-public rust-gl-loader-0.1 - (package - (name "rust-gl-loader") - (version "0.1.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "gl_loader" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1lwr1gd7hrb2nk67zw4pc04vl4h868r5a7846zjr0548bzfrcbg3")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; missing `gl` crate - #:cargo-inputs (("rust-cc" ,rust-cc-1) - ("rust-libc" ,rust-libc-0.2)))) - (home-page "https://github.com/maeln/gl_loader") - (synopsis "Simple OpenGL function pointer loader based on Glad") - (description - "Simple @code{OpenGL} function pointer loader based on Glad.") - (license license:cecill))) - -(define-public rust-gleam-0.6 - (package - (name "rust-gleam") - (version "0.6.19") - (source - (origin - (method url-fetch) - (uri (crate-uri "gleam" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1iazvk3kvw3620gm6x8hy2x1lz51k04acl78cr3ppryhk5y0vqfa")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-gl-generator" ,rust-gl-generator-0.13)))) - (home-page "https://github.com/servo/gleam") - (synopsis "Generated OpenGL bindings and wrapper for Servo") - (description - "Generated OpenGL bindings and wrapper for Servo.") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-glow-0.12 - (package - (name "rust-glow") - (version "0.12.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "glow" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0a1p6c9nff09m4gn0xnnschcpjq35y7c12w69ar8l2mnwj0fa3ya")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-js-sys" ,rust-js-sys-0.3) - ("rust-log" ,rust-log-0.4) - ("rust-slotmap" ,rust-slotmap-1) - ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) - ("rust-web-sys" ,rust-web-sys-0.3)))) - (home-page "https://github.com/grovesNL/glow.git") - (synopsis "Bindings to run GL anywhere") - (description - "GL on Whatever: a set of bindings to run GL (Open GL, @code{OpenGL} ES, and -@code{WebGL}) anywhere, and avoid target-specific code.") - (license (list license:expat license:asl2.0 license:zlib)))) - -(define-public rust-glutin-0.32 - (package - (name "rust-glutin") - (version "0.32.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "glutin" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0j28jyhkwp4hjwji01n8m8nxyx8za643xvmhvs926qnf1j5jnr03")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) - ("rust-cfg-aliases" ,rust-cfg-aliases-0.2) - ("rust-cgl" ,rust-cgl-0.3) - ("rust-core-foundation" ,rust-core-foundation-0.9) - ("rust-dispatch" ,rust-dispatch-0.2) - ("rust-glutin-egl-sys" ,rust-glutin-egl-sys-0.7) - ("rust-glutin-glx-sys" ,rust-glutin-glx-sys-0.6) - ("rust-glutin-wgl-sys" ,rust-glutin-wgl-sys-0.6) - ("rust-libloading" ,rust-libloading-0.8) - ("rust-objc2" ,rust-objc2-0.5) - ("rust-objc2-app-kit" ,rust-objc2-app-kit-0.2) - ("rust-objc2-foundation" ,rust-objc2-foundation-0.2) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-raw-window-handle" ,rust-raw-window-handle-0.6) - ("rust-wayland-sys" ,rust-wayland-sys-0.31) - ("rust-windows-sys" ,rust-windows-sys-0.52) - ("rust-x11-dl" ,rust-x11-dl-2)))) - (home-page "https://github.com/rust-windowing/glutin") - (synopsis "Cross-platform OpenGL context provider") - (description - "This package provides a cross-platform @code{OpenGL} context provider.") - (license license:asl2.0))) - -(define-public rust-glutin-0.31 - (package - (inherit rust-glutin-0.32) - (name "rust-glutin") - (version "0.31.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "glutin" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0il7aija3y17p3sz6qqzxyahrgp5crqzbf002fnr3nc69spd9z0q")))) - (arguments - `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) - ("rust-cfg-aliases" ,rust-cfg-aliases-0.1) - ("rust-cgl" ,rust-cgl-0.3) - ("rust-core-foundation" ,rust-core-foundation-0.9) - ("rust-dispatch" ,rust-dispatch-0.2) - ("rust-glutin-egl-sys" ,rust-glutin-egl-sys-0.6) - ("rust-glutin-glx-sys" ,rust-glutin-glx-sys-0.5) - ("rust-glutin-wgl-sys" ,rust-glutin-wgl-sys-0.5) - ("rust-icrate" ,rust-icrate-0.0.4) - ("rust-libloading" ,rust-libloading-0.8) - ("rust-objc2" ,rust-objc2-0.4) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-raw-window-handle" ,rust-raw-window-handle-0.5) - ("rust-wayland-sys" ,rust-wayland-sys-0.31) - ("rust-windows-sys" ,rust-windows-sys-0.48) - ("rust-x11-dl" ,rust-x11-dl-2)))))) - -(define-public rust-glutin-0.30 - (package - (inherit rust-glutin-0.31) - (name "rust-glutin") - (version "0.30.10") - (source - (origin - (method url-fetch) - (uri (crate-uri "glutin" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1zk0cxchdy6fmnnwggylgg748wbk04mys9pv76nvh6974h1kpjcg")))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-cfg-aliases" ,rust-cfg-aliases-0.1) - ("rust-cgl" ,rust-cgl-0.3) - ("rust-core-foundation" ,rust-core-foundation-0.9) - ("rust-dispatch" ,rust-dispatch-0.2) - ("rust-glutin-egl-sys" ,rust-glutin-egl-sys-0.5) - ("rust-glutin-glx-sys" ,rust-glutin-glx-sys-0.4) - ("rust-glutin-wgl-sys" ,rust-glutin-wgl-sys-0.4) - ("rust-libloading" ,rust-libloading-0.7) - ("rust-objc2" ,rust-objc2-0.3) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-raw-window-handle" ,rust-raw-window-handle-0.5) - ("rust-wayland-sys" ,rust-wayland-sys-0.30) - ("rust-windows-sys" ,rust-windows-sys-0.45) - ("rust-x11-dl" ,rust-x11-dl-2)))))) - -(define-public rust-glutin-0.29 - (package - (inherit rust-glutin-0.31) - (name "rust-glutin") - (version "0.29.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "glutin" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "04y7s5m74j9gns5bdja0alkm0m0b727vf9k7rw6g5jpxjk99lk24")))) - (arguments - `(#:cargo-inputs (("rust-cgl" ,rust-cgl-0.3) - ("rust-cocoa" ,rust-cocoa-0.24) - ("rust-core-foundation" ,rust-core-foundation-0.9) - ("rust-glutin-egl-sys" ,rust-glutin-egl-sys-0.1) - ("rust-glutin-gles2-sys" ,rust-glutin-gles2-sys-0.1) - ("rust-glutin-glx-sys" ,rust-glutin-glx-sys-0.1) - ("rust-glutin-wgl-sys" ,rust-glutin-wgl-sys-0.1) - ("rust-libloading" ,rust-libloading-0.7) - ("rust-log" ,rust-log-0.4) - ("rust-objc" ,rust-objc-0.2) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-osmesa-sys" ,rust-osmesa-sys-0.1) - ("rust-parking-lot" ,rust-parking-lot-0.12) - ("rust-raw-window-handle" ,rust-raw-window-handle-0.5) - ("rust-wayland-client" ,rust-wayland-client-0.29) - ("rust-wayland-egl" ,rust-wayland-egl-0.29) - ("rust-winapi" ,rust-winapi-0.3) - ("rust-winit" ,rust-winit-0.27)))) - (native-inputs (list pkg-config)) - (inputs (list expat fontconfig freetype)))) - -(define-public rust-glutin-0.28 - (package - (inherit rust-glutin-0.30) - (name "rust-glutin") - (version "0.28.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "glutin" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1lpnf61x4jbm55bpdr10k1a1pl3cs719i9y4qibsdj2bajz9vsh0")))) - (arguments - `(#:cargo-inputs - (("rust-android-glue" ,rust-android-glue-0.2) - ("rust-cgl" ,rust-cgl-0.3) - ("rust-cocoa" ,rust-cocoa-0.24) - ("rust-core-foundation" ,rust-core-foundation-0.9) - ("rust-glutin-egl-sys" ,rust-glutin-egl-sys-0.1) - ("rust-glutin-emscripten-sys" ,rust-glutin-emscripten-sys-0.1) - ("rust-glutin-gles2-sys" ,rust-glutin-gles2-sys-0.1) - ("rust-glutin-glx-sys" ,rust-glutin-glx-sys-0.1) - ("rust-glutin-wgl-sys" ,rust-glutin-wgl-sys-0.1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libloading" ,rust-libloading-0.7) - ("rust-log" ,rust-log-0.4) - ("rust-objc" ,rust-objc-0.2) - ("rust-osmesa-sys" ,rust-osmesa-sys-0.1) - ("rust-parking-lot" ,rust-parking-lot-0.11) - ("rust-wayland-egl" ,rust-wayland-egl-0.29) - ("rust-winapi" ,rust-winapi-0.3) - ("rust-winit" ,rust-winit-0.26)))))) - -(define-public rust-glutin-0.21 - (package - (inherit rust-glutin-0.28) - (name "rust-glutin") - (version "0.21.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "glutin" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1ggyyqn7dvz4yx5ygqfvnxwfb78wvdm5y6xqw5my1b4x61dv6wak")))) - (arguments - `(#:cargo-test-flags - '("--release" "--lib" "--bins" "--tests") - #:cargo-inputs - (("rust-android-glue" ,rust-android-glue-0.2) - ("rust-cgl" ,rust-cgl-0.2) - ("rust-cocoa" ,rust-cocoa-0.18) - ("rust-core-foundation" ,rust-core-foundation-0.6) - ("rust-core-graphics" ,rust-core-graphics-0.17) - ("rust-glutin-egl-sys" ,rust-glutin-egl-sys-0.1) - ("rust-glutin-emscripten-sys" ,rust-glutin-emscripten-sys-0.1) - ("rust-glutin-gles2-sys" ,rust-glutin-gles2-sys-0.1) - ("rust-glutin-glx-sys" ,rust-glutin-glx-sys-0.1) - ("rust-glutin-wgl-sys" ,rust-glutin-wgl-sys-0.1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libloading" ,rust-libloading-0.5) - ("rust-objc" ,rust-objc-0.2) - ("rust-osmesa-sys" ,rust-osmesa-sys-0.1) - ("rust-parking-lot" ,rust-parking-lot-0.9) - ("rust-wayland-client" ,rust-wayland-client-0.21) - ("rust-winapi" ,rust-winapi-0.3) - ("rust-winit" ,rust-winit-0.19)))))) - -(define-public rust-glutin-egl-sys-0.7 - (package - (name "rust-glutin-egl-sys") - (version "0.7.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "glutin_egl_sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1lh2rj77yvdqjx913nrf7xs5h3ialkkldfn3ppz29x4mc6x80ijc")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-gl-generator" ,rust-gl-generator-0.14) - ("rust-windows-sys" ,rust-windows-sys-0.52)))) - (home-page "https://github.com/rust-windowing/glutin") - (synopsis "Egl bindings for glutin") - (description "This package provides the egl bindings for glutin.") - (license license:asl2.0))) - -(define-public rust-glutin-egl-sys-0.6 - (package - (inherit rust-glutin-egl-sys-0.7) - (name "rust-glutin-egl-sys") - (version "0.6.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "glutin_egl_sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1kcv5pdpdsyhzpiahga15kk7yd4m64ia2k6xqcrz97ihylimdk3p")))) - (arguments - `(#:cargo-inputs (("rust-gl-generator" ,rust-gl-generator-0.14) - ("rust-windows-sys" ,rust-windows-sys-0.48)))))) - -(define-public rust-glutin-egl-sys-0.5 - (package - (inherit rust-glutin-egl-sys-0.6) - (name "rust-glutin-egl-sys") - (version "0.5.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "glutin_egl_sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1iapzqscy4891crxdddddq4qqqday1sf0s0j762yqs2sdjr4wy5g")))) - (arguments - `(#:cargo-inputs (("rust-gl-generator" ,rust-gl-generator-0.14) - ("rust-windows-sys" ,rust-windows-sys-0.45)))))) - -(define-public rust-glutin-egl-sys-0.4 - (package - (inherit rust-glutin-egl-sys-0.6) - (name "rust-glutin-egl-sys") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "glutin_egl_sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0z9nm3d6qcgqg7f6qkbnsfs4cy90d8raw09inf2qc564nnmz1ap5")))) - (arguments - `(#:cargo-inputs - (("rust-gl-generator" ,rust-gl-generator-0.14) - ("rust-windows-sys" ,rust-windows-sys-0.45)))))) - -(define-public rust-glutin-egl-sys-0.1 - (package - (inherit rust-glutin-egl-sys-0.4) - (name "rust-glutin-egl-sys") - (version "0.1.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "glutin_egl_sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0g81bz7ppvaksvwcw1jg553g8b2shvmnfm9ms6hixwvinj20z438")))) - (arguments - `(#:cargo-inputs - (("rust-winapi" ,rust-winapi-0.3) - ("rust-gl-generator" ,rust-gl-generator-0.14)))))) - -(define-public rust-glutin-emscripten-sys-0.1 - (package - (name "rust-glutin-emscripten-sys") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "glutin_emscripten_sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1wb3qfxg3jh6ibb7bxmlmvf4jcpzck3pn0035g1sds3nvx343pl0")))) - (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page "https://github.com/tomaka/glutin") - (synopsis "Emscripten bindings for glutin") - (description "This package provides Emscripten bindings for glutin.") - (license license:asl2.0))) - -(define-public rust-glutin-gles2-sys-0.1 - (package - (name "rust-glutin-gles2-sys") - (version "0.1.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "glutin_gles2_sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "00wisv3a7818bpw5nnqwibmh1bw032izix2l3657q2kkidq4w2g8")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-gl-generator" ,rust-gl-generator-0.14) - ("rust-objc" ,rust-objc-0.2)))) - (home-page "https://github.com/tomaka/glutin") - (synopsis "Gles2 bindings for glutin") - (description "This package provides gles2 bindings for glutin.") - (license license:asl2.0))) - -(define-public rust-glutin-glx-sys-0.6 - (package - (name "rust-glutin-glx-sys") - (version "0.6.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "glutin_glx_sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "118ifprw3y4jwrr25x862gh9hwd7fniwpywr4ihqpa25h29v4ywa")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-gl-generator" ,rust-gl-generator-0.14) - ("rust-x11-dl" ,rust-x11-dl-2)))) - (home-page "https://github.com/rust-windowing/glutin") - (synopsis "Glx bindings for glutin") - (description "This package provides the glx bindings for glutin.") - (license license:asl2.0))) - -(define-public rust-glutin-glx-sys-0.5 - (package - (inherit rust-glutin-glx-sys-0.6) - (name "rust-glutin-glx-sys") - (version "0.5.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "glutin_glx_sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0krv3chf5sy83rsfwq267paczskpwnb5gcw0agac5p0hdilgsrd1")))) - (arguments - `(#:cargo-inputs (("rust-gl-generator" ,rust-gl-generator-0.14) - ("rust-x11-dl" ,rust-x11-dl-2)))))) - -(define-public rust-glutin-glx-sys-0.4 - (package - (inherit rust-glutin-glx-sys-0.5) - (name "rust-glutin-glx-sys") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "glutin_glx_sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "150l397l64p4r46wshh8zdlwifpcqpm93fm3csh4m5k8wmgwnlqv")))) - (arguments - `(#:cargo-inputs - (("rust-gl-generator" ,rust-gl-generator-0.14) - ("rust-x11-dl" ,rust-x11-dl-2)))))) - -(define-public rust-glutin-glx-sys-0.1 - (package - (inherit rust-glutin-glx-sys-0.4) - (name "rust-glutin-glx-sys") - (version "0.1.8") - (source - (origin - (method url-fetch) - (uri (crate-uri "glutin_glx_sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0s14s3v2dddkx141w2x65s8ik54mrn432hisbc65i62hhrshagfr")))) - (arguments - `(#:cargo-inputs - (("rust-gl-generator" ,rust-gl-generator-0.14) - ("rust-x11-dl" ,rust-x11-dl-2)))))) - -(define-public rust-glutin-wgl-sys-0.6 - (package - (name "rust-glutin-wgl-sys") - (version "0.6.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "glutin_wgl_sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0gng2810jb5x133lmy17qifjx6s90lnprm86afg7mfls505y0kic")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-gl-generator" ,rust-gl-generator-0.14)))) - (home-page "https://github.com/rust-windowing/glutin") - (synopsis "Wgl bindings for glutin") - (description "This package provides the wgl bindings for glutin.") - (license license:asl2.0))) - -(define-public rust-glutin-wgl-sys-0.5 - (package - (inherit rust-glutin-wgl-sys-0.6) - (name "rust-glutin-wgl-sys") - (version "0.5.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "glutin_wgl_sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1b9f6qjc8gwhfxac4fpxkvv524l493f6b6q764nslpwmmjnri03c")))) - (arguments - `(#:cargo-inputs (("rust-gl-generator" ,rust-gl-generator-0.14)))))) - -(define-public rust-glutin-wgl-sys-0.4 - (package - (inherit rust-glutin-wgl-sys-0.5) - (name "rust-glutin-wgl-sys") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "glutin_wgl_sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0rc1c585ai9gav2nvdd5pn1x9gxv57yl5gg9cnyccgq3j273k2gg")))) - (arguments - `(#:cargo-inputs - (("rust-gl-generator" ,rust-gl-generator-0.14)))))) - -(define-public rust-glutin-wgl-sys-0.1 - (package - (inherit rust-glutin-wgl-sys-0.4) - (name "rust-glutin-wgl-sys") - (version "0.1.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "glutin_wgl_sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "15hns8b3i7iy366m61dg7jlr7wgzz8z8cakgbj3apnv92ld9b99x")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-gl-generator" ,rust-gl-generator-0.14)))))) - -(define-public rust-gpu-alloc-0.6 - (package - (name "rust-gpu-alloc") - (version "0.6.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gpu-alloc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0wd1wq7qs8ja0cp37ajm9p1r526sp6w0kvjp3xx24jsrjfx2vkgv")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) - ("rust-gpu-alloc-types" ,rust-gpu-alloc-types-0.3) - ("rust-serde" ,rust-serde-1) - ("rust-tracing" ,rust-tracing-0.1)))) - (home-page "https://github.com/zakarumych/gpu-alloc") - (synopsis "Implementation agnostic memory allocator for Vulkan like APIs") - (description - "Implementation agnostic memory allocator for Vulkan like APIs.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-gpu-alloc-types-0.3 - (package - (name "rust-gpu-alloc-types") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gpu-alloc-types" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "190wxsp9q8c59xybkfrlzqqyrxj6z39zamadk1q7v0xad2s07zwq")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)))) - (home-page "https://github.com/zakarumych/gpu-alloc") - (synopsis "Core types of gpu-alloc crate") - (description "Core types of gpu-alloc crate.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-image-0.25 - (package - (name "rust-image") - (version "0.25.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "image" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0fsnfgg8hr66ag5nxipvb7d50kbg40qfpbsql59qkwa2ssp48vyd")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-test-flags - '("--release" "--" - ;; Not all files included. - "--skip=codecs::bmp::decoder::test::read_rect" - "--skip=codecs::bmp::decoder::test::test_no_header" - "--skip=codecs::jpeg::decoder::tests::test_exif_orientation" - "--skip=codecs::openexr::test::compare_cropped" - "--skip=codecs::openexr::test::compare_exr_hdr" - "--skip=codecs::openexr::test::compare_rgba_rgb" - "--skip=codecs::png::tests::ensure_no_decoder_off_by_one" - "--skip=codecs::png::tests::underlying_error" - "--skip=codecs::qoi::tests::decode_test_image" - "--skip=codecs::tga::encoder::tests::compressed::round_trip_bw" - "--skip=dynimage::test::image_dimensions" - "--skip=dynimage::test::open_16bpc_png" - "--skip=imageops::sample::tests::resize_transparent_image" - "--skip=imageops::sample::tests::test_resize_same_size" - "--skip=imageops::sample::tests::test_sample_bilinear" - "--skip=imageops::sample::tests::test_sample_nearest" - "--skip=imageops::tests::fast_blur_approximates_gaussian_blur_well") - #:cargo-inputs (("rust-bytemuck" ,rust-bytemuck-1) - ("rust-byteorder-lite" ,rust-byteorder-lite-0.1) - ("rust-color-quant" ,rust-color-quant-1) - ("rust-dav1d" ,rust-dav1d-0.10) - ("rust-exr" ,rust-exr-1) - ("rust-gif" ,rust-gif-0.13) - ("rust-image-webp" ,rust-image-webp-0.2) - ("rust-mp4parse" ,rust-mp4parse-0.17) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-png" ,rust-png-0.17) - ("rust-qoi" ,rust-qoi-0.4) - ("rust-ravif" ,rust-ravif-0.11) - ("rust-rayon" ,rust-rayon-1) - ("rust-rgb" ,rust-rgb-0.8) - ("rust-serde" ,rust-serde-1) - ("rust-tiff" ,rust-tiff-0.9) - ("rust-zune-core" ,rust-zune-core-0.4) - ("rust-zune-jpeg" ,rust-zune-jpeg-0.4)) - #:cargo-development-inputs (("rust-crc32fast" ,rust-crc32fast-1) - ("rust-criterion" ,rust-criterion-0.5) - ("rust-glob" ,rust-glob-0.3) - ("rust-num-complex" ,rust-num-complex-0.4) - ("rust-quickcheck" ,rust-quickcheck-1)))) - (home-page "https://github.com/image-rs/image") - (synopsis "Imaging library written in Rust") - (description - "This package is an imaging library written in Rust. It provides basic -filters and decoders for the most common image formats.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-image-0.24 - (package - (inherit rust-image-0.25) - (name "rust-image") - (version "0.24.9") - (source (origin - (method url-fetch) - (uri (crate-uri "image" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "17gnr6ifnpzvhjf6dwbl9hki8x6bji5mwcqp0048x1jm5yfi742n")))) - (arguments - `(#:tests? #f ; Not all files included. - #:cargo-inputs - (("rust-bytemuck" ,rust-bytemuck-1) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-color-quant" ,rust-color-quant-1) - ("rust-dav1d" ,rust-dav1d-0.10) - ("rust-dcv-color-primitives" ,rust-dcv-color-primitives-0.6) - ("rust-exr" ,rust-exr-1) - ("rust-gif" ,rust-gif-0.13) - ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.3) - ("rust-mp4parse" ,rust-mp4parse-0.17) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-png" ,rust-png-0.17) - ("rust-qoi" ,rust-qoi-0.4) - ("rust-ravif" ,rust-ravif-0.11) - ("rust-rayon" ,rust-rayon-1) - ("rust-rgb" ,rust-rgb-0.8) - ("rust-tiff" ,rust-tiff-0.9) - ("rust-webp" ,rust-webp-0.2)) - #:cargo-development-inputs - (("rust-crc32fast" ,rust-crc32fast-1) - ("rust-criterion" ,rust-criterion-0.5) - ("rust-glob" ,rust-glob-0.3) - ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.3) - ("rust-num-complex" ,rust-num-complex-0.4) - ("rust-quickcheck" ,rust-quickcheck-1)))))) - -(define-public rust-image-0.23 - (package - (inherit rust-image-0.24) - (name "rust-image") - (version "0.23.14") - (source - (origin - (method url-fetch) - (uri (crate-uri "image" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "18gn2f7xp30pf9aqka877knlq308khxqiwjvsccvzaa4f9zcpzr4")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bytemuck" ,rust-bytemuck-1) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-color-quant" ,rust-color-quant-1) - ("rust-gif" ,rust-gif-0.11) - ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1) - ("rust-num-iter" ,rust-num-iter-0.1) - ("rust-num-rational" ,rust-num-rational-0.3) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-png" ,rust-png-0.16) - ("rust-ravif" ,rust-ravif-0.6) - ("rust-rgb" ,rust-rgb-0.8) - ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1) - ("rust-tiff" ,rust-tiff-0.6)))))) - -(define-public rust-image-0.22 - (package - (inherit rust-image-0.23) - (name "rust-image") - (version "0.22.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "image" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0jpbd0p1q7xx6395ba9ikz2k4cfp26qczisa8m2v15w3hzd2mv88")))) - (arguments - `(#:tests? #f ; Some test images are missing from the release. - #:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-gif" ,rust-gif-0.10) - ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1) - ("rust-num-iter" ,rust-num-iter-0.1) - ("rust-num-rational" ,rust-num-rational-0.2) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-png" ,rust-png-0.15) - ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1) - ("rust-tiff" ,rust-tiff-0.3)) - #:cargo-development-inputs - (("rust-crc32fast" ,rust-crc32fast-1) - ("rust-glob" ,rust-glob-0.3) - ("rust-num-complex" ,rust-num-complex-0.2) - ("rust-quickcheck" ,rust-quickcheck-0.9)))))) - -(define-public rust-image-0.21 - (package - (inherit rust-image-0.22) - (name "rust-image") - (version "0.21.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "image" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1sv534xp8yyn7jj0q6yn2bgng1350f962g81sv8v7c6pgi31wdrm")))) - (arguments - `(#:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-gif" ,rust-gif-0.10) - ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1) - ("rust-lzw" ,rust-lzw-0.10) - ("rust-num-iter" ,rust-num-iter-0.1) - ("rust-num-rational" ,rust-num-rational-0.2) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-png" ,rust-png-0.14) - ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1) - ("rust-tiff" ,rust-tiff-0.2)) - #:cargo-development-inputs - (("rust-glob" ,rust-glob-0.3) - ("rust-num-complex" ,rust-num-complex-0.2) - ("rust-quickcheck" ,rust-quickcheck-0.6)))))) - -(define-public rust-image-0.20 - (package - (inherit rust-image-0.21) - (name "rust-image") - (version "0.20.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "image" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "01058n0jcw25pq5shn7lkvywv8c28xsxb3nwwyb4r16ijm1mnrj4")))) - (arguments - `(#:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-gif" ,rust-gif-0.10) - ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1) - ("rust-lzw" ,rust-lzw-0.10) - ("rust-num-iter" ,rust-num-iter-0.1) - ("rust-num-rational" ,rust-num-rational-0.2) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-png" ,rust-png-0.12) - ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1) - ("rust-tiff" ,rust-tiff-0.2)) - #:cargo-development-inputs - (("rust-glob" ,rust-glob-0.2) - ("rust-num-complex" ,rust-num-complex-0.2) - ("rust-quickcheck" ,rust-quickcheck-0.6)))))) - -(define-public rust-image-webp-0.2 - (package - (name "rust-image-webp") - (version "0.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "image-webp" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0zwg4gpnp69dpn8pdhgjy14mawwi3md02mp1162al6s64bl02zdp")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-byteorder-lite" ,rust-byteorder-lite-0.1) - ("rust-quick-error" ,rust-quick-error-2)) - #:cargo-development-inputs (("rust-paste" ,rust-paste-1) - ("rust-png" ,rust-png-0.17) - ("rust-rand" ,rust-rand-0.8) - ("rust-webp" ,rust-webp-0.3)))) - (inputs (list libwebp)) - (home-page "https://github.com/image-rs/image-webp") - (synopsis "WebP encoding and decoding in pure Rust") - (description - "This package provides @code{WebP} encoding and decoding in pure Rust.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-imageproc-0.25 - (package - (name "rust-imageproc") - (version "0.25.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "imageproc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "039zxplb99vq61ax305xz4p8lgyxwxkly5ca5sjm21wn11wgp4r3")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; `#![feature]` may not be used on the stable release channel - #:cargo-inputs (("rust-ab-glyph" ,rust-ab-glyph-0.2) - ("rust-approx" ,rust-approx-0.5) - ("rust-getrandom" ,rust-getrandom-0.2) - ("rust-image" ,rust-image-0.25) - ("rust-itertools" ,rust-itertools-0.12) - ("rust-katexit" ,rust-katexit-0.1) - ("rust-nalgebra" ,rust-nalgebra-0.32) - ("rust-num" ,rust-num-0.4) - ("rust-quickcheck" ,rust-quickcheck-1) - ("rust-rand" ,rust-rand-0.8) - ("rust-rand-distr" ,rust-rand-distr-0.4) - ("rust-rayon" ,rust-rayon-1) - ("rust-sdl2" ,rust-sdl2-0.36)) - #:cargo-development-inputs - (("rust-assert-approx-eq" ,rust-assert-approx-eq-1) - ("rust-proptest" ,rust-proptest-1) - ("rust-quickcheck" ,rust-quickcheck-1) - ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) - (home-page "https://github.com/image-rs/imageproc") - (synopsis "Image processing operations") - (description "This package provides image processing operations.") - (license license:expat))) - -(define-public rust-imageproc-0.23 - (package - (inherit rust-imageproc-0.25) - (name "rust-imageproc") - (version "0.23.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "imageproc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1mszh0jz8208r9h62aq61mda7xf6pwldcmcnl80n6ihx6n9ykbmn")))) - (arguments - `(#:tests? #f ; Not all files included - #:cargo-inputs (("rust-approx" ,rust-approx-0.5) - ("rust-conv" ,rust-conv-0.3) - ("rust-image" ,rust-image-0.24) - ("rust-itertools" ,rust-itertools-0.10) - ("rust-nalgebra" ,rust-nalgebra-0.30) - ("rust-num" ,rust-num-0.4) - ("rust-quickcheck" ,rust-quickcheck-0.9) - ("rust-rand" ,rust-rand-0.7) - ("rust-rand-distr" ,rust-rand-distr-0.2) - ("rust-rayon" ,rust-rayon-1) - ("rust-rusttype" ,rust-rusttype-0.9) - ("rust-sdl2" ,rust-sdl2-0.35)) - #:cargo-development-inputs - (("rust-assert-approx-eq" ,rust-assert-approx-eq-1) - ("rust-image" ,rust-image-0.24) - ("rust-quickcheck" ,rust-quickcheck-0.9) - ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))))) - -(define-public rust-imgref-1 - (package - (name "rust-imgref") - (version "1.11.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "imgref" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0254wzkakm31fdix6diqng0fkggknibh0b1iv570ap0djwykl9nh")))) - (build-system cargo-build-system) - (home-page "https://github.com/kornelski/imgref") - (synopsis "2D slice of a @code{Vec}") - (description - "This package provides a trivial struct for interchange of 2d-dimensional -pixel buffers with width, height and stride.") - (license license:cc0))) - -(define-public rust-jpeg-decoder-0.3 - (package - (name "rust-jpeg-decoder") - (version "0.3.1") - (source (origin - (method url-fetch) - (uri (crate-uri "jpeg-decoder" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1c1k53svpdyfhibkmm0ir5w0v3qmcmca8xr8vnnmizwf6pdagm7m")) - (modules '((guix build utils))) - (snippet - '(begin - (substitute* "Cargo.toml" - (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) - (string-append "\"^" version))))))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Not all files included - #:cargo-inputs - (("rust-rayon" ,rust-rayon-1)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3) - ("rust-png" ,rust-png-0.16) - ("rust-walkdir" ,rust-walkdir-2) - ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) - ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) - (home-page "https://github.com/image-rs/jpeg-decoder") - (synopsis "JPEG decoder") - (description "JPEG decoder written in Rust.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-jpeg-decoder-0.1 - (package - (inherit rust-jpeg-decoder-0.3) - (name "rust-jpeg-decoder") - (version "0.1.22") - (source - (origin - (method url-fetch) - (uri (crate-uri "jpeg-decoder" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1wnh0bmmswpgwhgmlizz545x8334nlbmkq8imy9k224ri3am7792")))) - (arguments - `(#:tests? #f ; Some test files missing. - #:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-rayon" ,rust-rayon-1)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3) - ("rust-png" ,rust-png-0.16) - ("rust-walkdir" ,rust-walkdir-2)))))) - -(define-public rust-katexit-0.1 - (package - (name "rust-katexit") - (version "0.1.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "katexit" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1368kfz2cfsqk2sa4gy2cdzy8ynffv24p8wq49y20b6f932084zb")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/termoshtt/katexit") - (synopsis "Insert KaTeX autorender script into rustdoc") - (description - "This package provides a @code{KaTeX} autorender script into rustdoc.") - (license license:asl2.0))) - -(define-public rust-keyframe-1 - (package - (name "rust-keyframe") - (version "1.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "keyframe" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1afr5ffns3k79xaqnw6rw3qn8sngwly6gxfnjn8d060mk3vqnw30")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t ; Done to avoid dev dependency on ggez, a game engine. - #:cargo-inputs (("rust-mint" ,rust-mint-0.5) - ("rust-num-traits" ,rust-num-traits-0.2)))) - (home-page "https://github.com/HannesMann/keyframe") - (synopsis "Simple library for animation in Rust") - (description - "This package provides a simple library for animation in Rust. -It's features include: - -@enumerate -@item Several easing functions, including user-defined Bézier curves and keyframable curves. -@item Animation sequences (like CSS keyframes). -@item @code{mint} integration for 2D/3D/4D support (points, rectangles, colors, etc). -@end enumerate") - (license license:expat))) - -(define-public rust-khronos-egl-5 - (package - (name "rust-khronos-egl") - (version "5.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "khronos-egl" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1qw31jzaly1kcn2smicmcm6g4y5sh0y5l8fnaca85ssaq0b2nf6i")))) - (build-system cargo-build-system) - (arguments - ;; error: doctest failed - `(#:tests? #f - #:cargo-inputs (("rust-libc" ,rust-libc-0.2) - ("rust-libloading" ,rust-libloading-0.8) - ("rust-pkg-config" ,rust-pkg-config-0.3)) - #:cargo-development-inputs - (("rust-gl" ,rust-gl-0.14) - ("rust-wayland-client" ,rust-wayland-client-0.28) - ("rust-wayland-egl" ,rust-wayland-egl-0.28) - ("rust-wayland-protocols" ,rust-wayland-protocols-0.28)))) - (native-inputs (list pkg-config wayland)) - (inputs (list mesa)) - (home-page "https://github.com/timothee-haudebourg/khronos-egl") - (synopsis "Rust bindings for EGL") - (description "This package provides Rust bindings for EGL.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-kmeans-colors-0.6 - (package - (name "rust-kmeans-colors") - (version "0.6.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "kmeans_colors" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "153qfhvvm7iisqjy6sy7mfw8x9h8y9y25z7ygvfkbp0i53xmz8g9")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-image" ,rust-image-0.24) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-palette" ,rust-palette-0.7) - ("rust-rand" ,rust-rand-0.8) - ("rust-rand-chacha" ,rust-rand-chacha-0.3) - ("rust-structopt" ,rust-structopt-0.3)))) - (home-page "https://github.com/okaneco/kmeans-colors") - (synopsis "Simple k-means clustering to find dominant colors in images") - (description - "This package provides simple k-means clustering to find dominant colors -in images. Backed by a generic k-means implementation offered as a standalone -library.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-libdav1d-sys-0.6 - (package - (name "rust-libdav1d-sys") - (version "0.6.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "libdav1d-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0wh5jgdm33ld6djxsc7cmwd1ifqys145zlbsf8516n625lscrj8j")) - (snippet - #~(begin (use-modules (guix build utils)) - (delete-file-recursively "vendor") - ;; Force linking to our packaged dav1d. - (delete-file "build.rs") - (with-output-to-file "build.rs" - (lambda _ - (format #t "fn main() {~@ - println!(\"cargo:rustc-link-lib=dav1d\");~@ - }~%"))))))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)))) - (inputs (list dav1d)) - (home-page "https://github.com/njaard/libavif-rs") - (synopsis "Link to dav1d AV1 decoder") - (description - "This package builds and links to the dav1d AV1 decoder.") - (license license:bsd-2))) - -(define-public rust-libvips-1 - (package - (name "rust-libvips") - (version "1.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "libvips" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0apwyz8dm9ysxmsry2savf3q0nd12k01pm33c1g5ph2s6s9hp29k")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-num-derive" ,rust-num-derive-0.4) - ("rust-num-traits" ,rust-num-traits-0.2)))) - (inputs (list glib vips)) - (home-page "https://github.com/olxgroup-oss/libvips-rust-bindings") - (synopsis "Safe bindings for libvips") - (description "This package provides safe bindings for libvips.") - (license license:expat))) - -(define-public rust-libwebp-sys-0.9 - (package - (name "rust-libwebp-sys") - (version "0.9.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "libwebp-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0cv7hxzh9p66q5c4ay30bvffh0y66abwmr2nliscwrbigkgk1kal")) - (snippet - #~(begin (use-modules (guix build utils)) - (delete-file-recursively "vendor") - ;; Force linking to our packaged libwebp. - (delete-file "build.rs") - (with-output-to-file "build.rs" - (lambda _ - (format #t "fn main() {~@ - println!(\"cargo:rustc-link-lib=webp\");~@ - }~%"))))))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Test fails to find all webp functions. - #:cargo-inputs (("rust-cc" ,rust-cc-1) - ("rust-glob" ,rust-glob-0.3)))) - (inputs (list libwebp)) - (home-page "https://github.com/NoXF/libwebp-sys") - (synopsis "Bindings to libwebp (bindgen, static linking)") - (description - "This package provides Bindings to libwebp (bindgen, static linking).") - (license license:expat))) - -(define-public rust-libwebp-sys-0.4 - (package - (inherit rust-libwebp-sys-0.9) - (name "rust-libwebp-sys") - (version "0.4.2") - (source (origin - (method url-fetch) - (uri (crate-uri "libwebp-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1gvjaqhjpzdskx8x4q1lfgw24jnbjgkx4s6dxpkkg2d2ba4d37s3")))) - (arguments - `(#:cargo-test-flags - '("--release" "--" - "--skip=tests::poke") - #:cargo-inputs - (("rust-cc" ,rust-cc-1)))))) - -(define-public rust-line-drawing-0.7 - (package - (name "rust-line-drawing") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "line_drawing" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1fcna7hq1g1kkkqy07hydscx5d2zgb6gskz3vnsvsif8h8ysvisw")))) - (build-system cargo-build-system) - (arguments - ;; This version does not specify any versions on dependants. - `(#:tests? #f ; Cannot compile line_drawing for the test suite. - #:cargo-inputs - (("rust-num-traits" ,rust-num-traits-0.2)) - #:cargo-development-inputs - (("rust-bresenham" ,rust-bresenham-0.1) - ("rust-image" ,rust-image-0.22) ; 0.17? - ("rust-rand" ,rust-rand-0.6)))) - (home-page "https://github.com/expenses/line_drawing") - (synopsis "Collection of line-drawing algorithms") - (description - "This package provides a collection of line-drawing algorithms for use in -graphics and video games.") - (license license:expat))) - -(define-public rust-lyon-geom-1 - (package - (name "rust-lyon-geom") - (version "1.0.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "lyon_geom" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0w45pmyn5bpyk39wyrgniam08z3dpg23dr1yid1xywkj13f9xxla")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.7) - ("rust-euclid" ,rust-euclid-0.22) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-serde" ,rust-serde-1)))) - (home-page "https://github.com/nical/lyon") - (synopsis "2D graphics rendering on the GPU using tessellation") - (description - "This package provides 2D graphics rendering on the GPU using tessellation.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-lyon-geom-0.17 - (package - (inherit rust-lyon-geom-1) - (name "rust-lyon-geom") - (version "0.17.7") - (source - (origin - (method url-fetch) - (uri (crate-uri "lyon_geom" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "13lcghic8l1j632wsrds9cjw7k3vw8dhc8iy81cx50zxvb5rrn3i")))) - (arguments - `(#:cargo-inputs - (("rust-arrayvec" ,rust-arrayvec-0.5) - ("rust-euclid" ,rust-euclid-0.22) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-serde" ,rust-serde-1)))))) - -(define-public rust-lyon-path-0.17 - (package - (name "rust-lyon-path") - (version "0.17.7") - (source - (origin - (method url-fetch) - (uri (crate-uri "lyon_path" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1h7vbfaanf3x7xch6md4q4ja3xmvsi41n7d6ga40vjk7yzymj2jv")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-lyon-geom" ,rust-lyon-geom-0.17) - ("rust-serde" ,rust-serde-1)))) - (home-page "https://github.com/nical/lyon") - (synopsis "Types and utilities to store, build and iterate over 2D paths") - (description - "Types and utilities to store, build and iterate over 2D paths.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-lyon-svg-0.17 - (package - (name "rust-lyon-svg") - (version "0.17.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "lyon_svg" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0fin6h9vwgz7gi2a1b0j9bp8a1aval2lvha1kzy7iijm4kgdcj3d")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? - #t - #:cargo-inputs - (("rust-lyon-path" ,rust-lyon-path-0.17) - ("rust-svgtypes" ,rust-svgtypes-0.5)))) - (home-page "https://github.com/nical/lyon") - (synopsis "SVG helpers for the lyon crates") - (description "This package provides SVG helpers for the lyon crates.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-mp4parse-0.17 - (package - (name "rust-mp4parse") - (version "0.17.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "mp4parse" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0w654hv04w1zi2m9b1kji2610mrfrc554xqw4par5kn6sc1m58v3")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-test-flags '("--release" "--" - "--skip=overflow_protection" - "--skip=public") - #:cargo-inputs (("rust-bitreader" ,rust-bitreader-0.3) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-fallible-collections" ,rust-fallible-collections-0.4) - ("rust-log" ,rust-log-0.4) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-static-assertions" ,rust-static-assertions-1)) - #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4) - ("rust-test-assembler" ,rust-test-assembler-0.1) - ("rust-walkdir" ,rust-walkdir-2)))) - (home-page "https://github.com/mozilla/mp4parse-rust") - (synopsis "Parser for ISO base media file format (mp4)") - (description "Parser for ISO base media file format (mp4).") - (license license:mpl2.0))) - -(define-public rust-osmesa-sys-0.1 - (package - (name "rust-osmesa-sys") - (version "0.1.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "osmesa-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0fq1q1zcgfb0qydrg9r2738jlwc4hqxgb9vj11z72bjxx7kfrkw8")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-shared-library" ,rust-shared-library-0.1)))) - (home-page "https://crates.io/crates/osmesa-sys") - (synopsis "OSMesa library bindings for Rust") - (description "This package provides OSMesa library bindings for Rust.") - (license license:cc0))) - -(define-public rust-palette-0.7 - (package - (name "rust-palette") - (version "0.7.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "palette" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1rmn02mv6cb112504qyg7pyfa83c08hxpk5sw7jc5v659hc73gsc")) - (modules '((guix build utils))) - (snippet - '(begin (substitute* "Cargo.toml" - (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) - (string-append "\"^" version))))))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Regression tests not included. - #:cargo-inputs - (("rust-approx" ,rust-approx-0.5) - ("rust-bytemuck" ,rust-bytemuck-1) - ("rust-fast-srgb8" ,rust-fast-srgb8-1) - ("rust-libm" ,rust-libm-0.2) - ("rust-palette-derive" ,rust-palette-derive-0.7) - ("rust-phf" ,rust-phf-0.11) - ("rust-rand" ,rust-rand-0.8) - ("rust-serde" ,rust-serde-1) - ("rust-wide" ,rust-wide-0.7)) - #:cargo-development-inputs - (("rust-enterpolation" ,rust-enterpolation-0.2) - ("rust-image" ,rust-image-0.23) - ("rust-rand-mt" ,rust-rand-mt-4) - ("rust-ron" ,rust-ron-0.8) - ("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://github.com/Ogeon/palette") - (synopsis "Convert and manage colors") - (description - "This package provides converting and managing colors in Rust with a focus -on correctness, flexibility and ease of use.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-palette-0.6 - (package - (inherit rust-palette-0.7) - (name "rust-palette") - (version "0.6.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "palette" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0jay4zbxfnz6hj9f78inb3n3hmaamivnrrapy4ri0n0jf67xd74g")))) - (arguments - `(#:cargo-inputs - (("rust-approx" ,rust-approx-0.5) - ("rust-bytemuck" ,rust-bytemuck-1) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-palette-derive" ,rust-palette-derive-0.6) - ("rust-phf" ,rust-phf-0.11) - ("rust-rand" ,rust-rand-0.8) - ("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs - (("rust-clap" ,rust-clap-2) - ("rust-criterion" ,rust-criterion-0.3) - ("rust-csv" ,rust-csv-1) - ("rust-image" ,rust-image-0.23) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-rand-mt" ,rust-rand-mt-4) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-serde-json" ,rust-serde-json-1)))))) - -(define-public rust-palette-derive-0.7 - (package - (name "rust-palette-derive") - (version "0.7.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "palette_derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0c0xhpk1nqyq4jr2m8xnka7w47vqzc7m2vq9ih8wxyjv02phs0zm")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-by-address" ,rust-by-address-1) - ("rust-find-crate" ,rust-find-crate-0.6) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-2)))) - (home-page "https://github.com/Ogeon/palette") - (synopsis "Automatically implement traits from the @code{palette} crate") - (description "This package allows automatically implements traits from the -@code{palette} crate.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-palette-derive-0.6 - (package - (inherit rust-palette-derive-0.7) - (name "rust-palette-derive") - (version "0.6.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "palette_derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "09z4nd4sbmzqd1pqr48vrdca3v2c03dzr70cmxs7zhp7m13dzvh5")))) - (arguments - `(#:cargo-inputs - (("rust-find-crate" ,rust-find-crate-0.6) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))))) - -(define-public rust-pbr-1 - (package - (name "rust-pbr") - (version "1.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "pbr" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "056mqvw168ziig1dgl2kq4vmkamv6gk3hv1x9696r6ynl3gjfn7d")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-test-flags '("--release" "--" - "--skip=tty::unix::compare_with_stty") - #:cargo-inputs (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) - ("rust-libc" ,rust-libc-0.2) - ("rust-winapi" ,rust-winapi-0.3)) - #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8)))) - (home-page "https://github.com/a8m/pb") - (synopsis "Console progress bar for Rust") - (description "This package provides a console progress bar for Rust.") - (license license:expat))) - -(define-public rust-piston-float-1 - (package - (name "rust-piston-float") - (version "1.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "piston-float" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0r35aasycms79hf2vf1ap40kkp8ywgl4hmfkf762dq8jwd3vw07r")))) - (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page - "https://github.com/pistondevelopers/float") - (synopsis - "Traits for generic floats in game development") - (description - "Traits for generic floats in game development") - (license license:expat))) - -(define-public rust-piston-gfx-texture-0.40 - (package - (name "rust-piston-gfx-texture") - (version "0.40.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "piston-gfx_texture" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1nr5awdgk3njfvfanszrv4gxz93f6skid1c8yijswccygripchqz")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-gfx" ,rust-gfx-0.18) - ("rust-image" ,rust-image-0.22) - ("rust-piston-texture" ,rust-piston-texture-0.8) - ("rust-gfx-core" ,rust-gfx-core-0.9)))) - (home-page "https://github.com/pistondevelopers/gfx_texture") - (synopsis - "Gfx texture representation that works nicely with Piston libraries") - (description "This package provides a Gfx texture representation that works -nicely with Piston libraries.") - (license license:expat))) - -(define-public rust-piston-graphics-api-version-0.2 - (package - (name "rust-piston-graphics-api-version") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "piston-graphics_api_version" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1b5p6s45jqv057lpbxkiq3yrdjjhvcynmi2vjf8292rf0yh4hky5")))) - (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page - "https://github.com/PistonDevelopers/graphics_api_version") - (synopsis - "Library for storing graphics API versions") - (description - "This package provides a library for storing graphics API versions") - (license license:expat))) - -(define-public rust-piston-shaders-graphics2d-0.3 - (package - (name "rust-piston-shaders-graphics2d") - (version "0.3.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "piston-shaders_graphics2d" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1dhh9bv4q19gdnj9d1nqq0yrvzs6gcn0c5j1p1f3xzyzq7d1gg4p")))) - (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page - "https://github.com/PistonDevelopers/shaders") - (synopsis "Shaders for 2D graphics in Rust") - (description "Shaders for 2D graphics in Rust") - (license license:expat))) - -(define-public rust-piston-texture-0.8 - (package - (name "rust-piston-texture") - (version "0.8.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "piston-texture" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1pcv5my49b8xzqcb87wqh2ndgvr4s9ipys96s0h9j2plxrj3bjb2")))) - (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page - "https://github.com/pistondevelopers/texture") - (synopsis "Generic library for textures") - (description - "This package provides a generic library for textures") - (license license:expat))) - -(define-public rust-piston-viewport-1 - (package - (name "rust-piston-viewport") - (version "1.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "piston-viewport" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "16378hcy41b7x3zj2z4har0wq6fl4r62kf9p106jjl8hg2dv3aq1")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-piston-float" ,rust-piston-float-1)))) - (home-page "https://github.com/PistonDevelopers/viewport") - (synopsis "Library for storing viewport information") - (description - "This package provides a library for storing viewport information.") - (license license:expat))) - -(define-public rust-pistoncore-event-loop-0.49 - (package - (name "rust-pistoncore-event-loop") - (version "0.49.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "pistoncore-event_loop" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1h9ij9vx42xg39198yxdlpk842pli5jqm2kwswiv3bqqcji0fwsm")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-pistoncore-input" ,rust-pistoncore-input-0.28) - ("rust-pistoncore-window" ,rust-pistoncore-window-0.44)))) - (home-page "https://github.com/PistonDevelopers/piston") - (synopsis "Piston event loop for games and interactive applications") - (description "This package provides a Piston event loop for games and -interactive applications.") - (license license:expat))) - -(define-public rust-pistoncore-input-0.28 - (package - (name "rust-pistoncore-input") - (version "0.28.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "pistoncore-input" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1rrcz9px098m3nx98gvrvzirfdp3vg03cblfkcrp4wnvswc0hwq5")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-piston-viewport" ,rust-piston-viewport-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-bitflags" ,rust-bitflags-1)))) - (home-page "https://github.com/PistonDevelopers/piston") - (synopsis "Structure for user input") - (description - "This package provides a structure for user input.") - (license license:expat))) - -(define-public rust-pistoncore-window-0.44 - (package - (name "rust-pistoncore-window") - (version "0.44.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "pistoncore-window" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "18qy3nnpb9jczvkiyzzznamck0pzgiyi6073jrkldnci6b3in10q")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-piston-graphics-api-version" - ,rust-piston-graphics-api-version-0.2) - ("rust-pistoncore-input" ,rust-pistoncore-input-0.28)))) - (home-page "https://github.com/PistonDevelopers/piston") - (synopsis "Library for window abstraction") - (description - "This package provides a library for window abstraction.") - (license license:expat))) - -(define-public rust-png-0.17 - (package - (name "rust-png") - (version "0.17.16") - (source - (origin - (method url-fetch) - (uri (crate-uri "png" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "09kmkms9fmkbkarw0lnf0scqvjwwg3r7riddag0i3q39r0pil5c2")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-test-flags - '("--" - ;; Not all files included. - "--skip=decoder::stream::tests::image_gamma" - "--skip=decoder::stream::tests::image_source_chromaticities" - "--skip=decoder::stream::tests::image_source_sbit" - "--skip=decoder::stream::tests::test_mdcv_and_clli_chunks" - "--skip=decoder::stream::tests::test_two_iccp_chunks" - "--skip=decoder::stream::tests::test_png_with_broken_iccp" - "--skip=encoder::tests::image_palette" - "--skip=decoder::Decoder<R>::set_ignore_iccp_chunk" - "--skip=decoder::Decoder<R>::set_ignore_text_chunk" - "--skip=decoder::Decoder<R>::set_limits" - "--skip=src/lib.rs - (line 13)" - "--skip=src/text_metadata.rs - text_metadata (line 25)") - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-crc32fast" ,rust-crc32fast-1) - ("rust-fdeflate" ,rust-fdeflate-0.3) - ("rust-flate2" ,rust-flate2-1) - ("rust-miniz-oxide" ,rust-miniz-oxide-0.8)) - #:cargo-development-inputs - (("rust-approx" ,rust-approx-0.5) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-clap" ,rust-clap-3) - ("rust-criterion" ,rust-criterion-0.4) - ("rust-getopts" ,rust-getopts-0.2) - ("rust-glium" ,rust-glium-0.32) - ("rust-glob" ,rust-glob-0.3) - ("rust-rand" ,rust-rand-0.8) - ("rust-term" ,rust-term-1)))) - (native-inputs (list pkg-config)) - (inputs (list expat fontconfig freetype)) - (home-page "https://github.com/image-rs/image-png") - (synopsis "PNG decoding and encoding library in pure Rust") - (description - "This package is a PNG decoding and encoding library in pure Rust.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-png-0.16 - (package - (inherit rust-png-0.17) - (name "rust-png") - (version "0.16.8") - (source - (origin - (method url-fetch) - (uri (crate-uri "png" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1ipl44q3vy4kvx6j296vk7d4v8gvcg203lrkvvixwixq1j98fciw")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-crc32fast" ,rust-crc32fast-1) - ("rust-deflate" ,rust-deflate-0.8) - ("rust-miniz-oxide" ,rust-miniz-oxide-0.3)))))) - -(define-public rust-png-0.15 - (package - (inherit rust-png-0.16) - (name "rust-png") - (version "0.15.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "png" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "10x2qkhyfnm3si5vgx77r2ik811gaap7ahi825wfxgsb0lirm1gg")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-crc32fast" ,rust-crc32fast-1) - ("rust-deflate" ,rust-deflate-0.7) - ("rust-inflate" ,rust-inflate-0.4)) - #:cargo-development-inputs - (("rust-getopts" ,rust-getopts-0.2) - ;; TODO: glium has many cyclic dependencies with other packages - ;;("rust-glium" ,rust-glium-0.24) - ("rust-glob" ,rust-glob-0.3) - ("rust-rand" ,rust-rand-0.7) - ("rust-term" ,rust-term-0.6)))))) - -(define-public rust-png-0.14 - (package - (inherit rust-png-0.15) - (name "rust-png") - (version "0.14.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "png" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0nf3a8r9p9zrj4x30b48f7yv18dz9xkmrq9b3lnzmpnhzn0z9nk3")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-deflate" ,rust-deflate-0.7) - ("rust-inflate" ,rust-inflate-0.4) - ("rust-num-iter" ,rust-num-iter-0.1)) - #:cargo-development-inputs - (("rust-getopts" ,rust-getopts-0.2) - ;; TODO: glium has many cyclic dependencies with other packages - ;; ("rust-glium" ,rust-glium-0.22) - ("rust-glob" ,rust-glob-0.2) - ("rust-rand" ,rust-rand-0.5) - ("rust-term" ,rust-term-0.4)))))) - -(define-public rust-png-0.12 - (package - (inherit rust-png-0.14) - (name "rust-png") - (version "0.12.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "png" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0nqlc8lqf8ncv3kj0gzlxwli61dbbxcjlrp176kvilw4sl09cjzm")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-deflate" ,rust-deflate-0.7) - ("rust-inflate" ,rust-inflate-0.4) - ("rust-num-iter" ,rust-num-iter-0.1)) - #:cargo-development-inputs - (("rust-getopts" ,rust-getopts-0.2) - ;; TODO: gluum has many cyclic dependencies with other packages - ;; ("rust-glium" ,rust-glium-0.21) - ("rust-glob" ,rust-glob-0.2) - ("rust-term" ,rust-term-0.4)))))) - -(define-public rust-qoi-0.4 - (package - (name "rust-qoi") - (version "0.4.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "qoi" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "00c0wkb112annn2wl72ixyd78mf56p4lxkhlmsggx65l3v3n8vbz")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; unresolved import `libqoi` - #:cargo-inputs (("rust-bytemuck" ,rust-bytemuck-1)) - #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) - ("rust-cfg-if" ,rust-cfg-if-1) - ("rust-png" ,rust-png-0.17) - ("rust-rand" ,rust-rand-0.8) - ("rust-walkdir" ,rust-walkdir-2)))) - (home-page "https://github.com/aldanor/qoi-rust") - (synopsis "Encoder/decoder for QOI (Quite Okay Image) format") - (description - "VERY fast encoder/decoder for the @acronym{QOI, Quite Okay Image} format.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-ravif-0.11 - (package - (name "rust-ravif") - (version "0.11.11") - (source - (origin - (method url-fetch) - (uri (crate-uri "ravif" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1ij51acd3pkl3rr2ha3r3nc7pvg649m49bvyngpcv98fpnbgs4r4")) - (modules '((guix build utils))) - (snippet - '(begin (substitute* "Cargo.toml" - (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) - (string-append "\"^" version))))))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-avif-serialize" ,rust-avif-serialize-0.8) - ("rust-imgref" ,rust-imgref-1) - ("rust-loop9" ,rust-loop9-0.1) - ("rust-quick-error" ,rust-quick-error-2) - ("rust-rav1e" ,rav1e) - ("rust-rayon" ,rust-rayon-1) - ("rust-rgb" ,rust-rgb-0.8)) - #:cargo-development-inputs (("rust-avif-parse" ,rust-avif-parse-1)))) - (native-inputs - (list nasm pkg-config)) - (inputs - (list libgit2 zlib)) - (home-page "https://lib.rs/ravif") - (synopsis "Rust library for encoding images in AVIF format") - (description - "This package provides a rav1e-based pure Rust library for encoding images -in AVIF format (powers the @code{cavif} tool).") - (license license:bsd-3))) - -(define-public rust-ravif-0.8 - (package - (inherit rust-ravif-0.11) - (name "rust-ravif") - (version "0.8.10+rust-1.67.0") - (source (origin - (method url-fetch) - (uri (crate-uri "ravif" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1r3s78781kb9lwysdvpdc80gavly33dcs4inhhp2dawml9g3rjss")))) - (arguments - `(#:skip-build? #t ; Needs rav1e-0.6 - #:cargo-inputs - (("rust-avif-serialize" ,rust-avif-serialize-0.7) - ("rust-imgref" ,rust-imgref-1) - ("rust-loop9" ,rust-loop9-0.1) - ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-quick-error" ,rust-quick-error-2) - ("rust-rav1e" ,rav1e) - ("rust-rayon" ,rust-rayon-1) - ("rust-rgb" ,rust-rgb-0.8)) - #:cargo-development-inputs - (("rust-avif-parse" ,rust-avif-parse-1)))))) - -(define-public rust-ravif-0.6.6-yanked - (package - (inherit rust-ravif-0.8) - (name "rust-ravif") - (version "0.6.6") ; This version was yanked! - (source - (origin - (method url-fetch) - (uri (crate-uri "ravif" version)) - (file-name (string-append name "-" version "-yanked.tar.gz")) - (sha256 - (base32 "0rfm63bv0q2rjyivmzlk4wma8xff6jralh7dr1bjz2aw4knm7cw1")))) - (arguments - `(#:skip-build? #t ; Not packaging older versions of rav1e. - #:cargo-inputs - (("rust-avif-serialize" ,rust-avif-serialize-0.6) - ("rust-imgref" ,rust-imgref-1) - ("rust-loop9" ,rust-loop9-0.1) - ("rust-num-cpus" ,rust-num-cpus-1) - ("rav1e" ,rav1e) ; 0.5 - ("rust-rayon" ,rust-rayon-1) - ("rust-rgb" ,rust-rgb-0.8)) - #:cargo-development-inputs - (("rust-avif-parse" ,rust-avif-parse-0.13)))) - (native-inputs - (list nasm)) ;for building rav1e - (inputs '()) - (properties '((crate-version-yanked? . #t))))) - -(define-public rust-ravif-0.6 - ;; There are no non-yanked versions of this semver. - (deprecated-package "rust-ravif" rust-ravif-0.6.6-yanked)) - -(define-public rust-raw-window-handle-0.6 - (package - (name "rust-raw-window-handle") - (version "0.6.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "raw-window-handle" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0ff5c648hncwx7hm2a8fqgqlbvbl4xawb6v3xxv9wkpjyrr5arr0")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)) - #:cargo-development-inputs - (("rust-static-assertions" ,rust-static-assertions-1)))) - (home-page "https://github.com/rust-windowing/raw-window-handle") - (synopsis "Interoperability library for Rust Windowing applications") - (description - "Interoperability library for Rust Windowing applications.") - (license (list license:expat license:asl2.0 license:zlib)))) - -(define-public rust-raw-window-handle-0.5 - (package - (inherit rust-raw-window-handle-0.6) - (name "rust-raw-window-handle") - (version "0.5.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "raw-window-handle" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1f9k10fgda464ia1b2hni8f0sa8i0bphdsbs3di032x80qgrmzzj")))) - (arguments '()))) - -(define-public rust-raw-window-handle-0.4 - (package - (inherit rust-raw-window-handle-0.5) - (name "rust-raw-window-handle") - (version "0.4.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "raw-window-handle" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0hgvrqbr2b62zhq4ryv08h92mwis9v8f7j9pwcgxzlp7nswvw05q")))) - (arguments - `(#:cargo-inputs - (("rust-cty" ,rust-cty-0.2)))))) - -(define-public rust-raw-window-handle-0.3 - (package - (inherit rust-raw-window-handle-0.4) - (name "rust-raw-window-handle") - (version "0.3.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "raw-window-handle" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0xisj116xpaz1i2hci9jqfnccyixba1xryxl1gbdlj057la5b3z2")))) - (arguments - `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) - ("rust-raw-window-handle" ,rust-raw-window-handle-0.4)))))) - -(define-public rust-raw-window-metal-0.3 - (package - (name "rust-raw-window-metal") - (version "0.3.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "raw-window-metal" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0xlfy69chky5gxk67p9h7zmf4n4y15fk9abani6c4m4d4n9s8kmc")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-cocoa" ,rust-cocoa-0.25) - ("rust-core-graphics" ,rust-core-graphics-0.23) - ("rust-objc" ,rust-objc-0.2) - ("rust-raw-window-handle" ,rust-raw-window-handle-0.5)))) - (home-page "https://github.com/norse-rs/raw-window-metal") - (synopsis "Interop library between Metal and raw-window-handle") - (description "Interop library between Metal and raw-window-handle.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-resize-0.8 - (package - (name "rust-resize") - (version "0.8.8") - (source - (origin - (method url-fetch) - (uri (crate-uri "resize" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1w0fsb9ab1q4yyr5fyhcahjsp5wk97vh550lg52kyy3ynk8078c7")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-hashbrown" ,rust-hashbrown-0.15) - ("rust-libm" ,rust-libm-0.2) - ("rust-rayon" ,rust-rayon-1) - ("rust-rgb" ,rust-rgb-0.8)) - #:cargo-development-inputs (("rust-png" ,rust-png-0.17)))) - (home-page "https://github.com/PistonDevelopers/resize") - (synopsis "Image resampling library in pure Rust") - (description "This package provides an image resampling library in pure Rust.") - (license license:expat))) - -(define-public rust-resize-0.7 - (package - (inherit rust-resize-0.8) - (name "rust-resize") - (version "0.7.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "resize" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0hdd5r2m1700y6r88v5hq3q28xixrsbfhbzqz26409jyy3zvvrw7")))) - (arguments - `(#:cargo-inputs - (("rust-fallible-collections" ,rust-fallible-collections-0.4) - ("rust-rgb" ,rust-rgb-0.8)) - #:cargo-development-inputs - (("rust-png" ,rust-png-0.17)))))) - -(define-public rust-resize-0.4 - (package - (inherit rust-resize-0.7) - (name "rust-resize") - (version "0.4.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "resize" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0bamrw2m37l8q46mcy6snp6106d93dq7x67hbbj32w88pjdhxn84")))) - (arguments - `(#:cargo-development-inputs (("rust-png" ,rust-png-0.16)))))) - -(define-public rust-rgb-0.8 - (package - (name "rust-rgb") - (version "0.8.50") - (source - (origin - (method url-fetch) - (uri (crate-uri "rgb" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "02ii3nsciska0sj23ggxaz8gj64ksw8nbpfjcwxlh037chb7sfap")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-bytemuck" ,rust-bytemuck-1) - ("rust-defmt" ,rust-defmt-0.3) - ("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs - (("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://lib.rs/crates/rgb") - (synopsis "Struct for sharing pixels between crates") - (description - "This package provides @code{struct RGB/RGBA/etc.} for sharing pixels -between crates + convenience methods for color manipulation. It allows no-copy -high-level interoperability. It also adds common convenience methods and -implements standard Rust traits to make `RGB`/`RGBA` pixels and slices -first-class Rust objects.") - (license license:expat))) - -(define-public rust-scad-1 - (package - (name "rust-scad") - (version "1.2.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "scad" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1yvy7ckfd7r261iywm75na1ykd9cl8h0q8ajb1iwg1jmnbs6vry6")) - (modules '((guix build utils))) - (snippet - '(begin - (delete-file-recursively "docs") - ;; The very next commit in the repository updates nalgebra - (substitute* "Cargo.toml" - (("0\\.16\\.8") "0.27.1")))))) - (build-system cargo-build-system) - (arguments - `(#:cargo-test-flags - '("--release" "--" - "--skip=common_objects::tests::cube_center_x" - "--skip=common_objects::tests::cube_center_yz") - #:cargo-inputs - (("rust-nalgebra" ,rust-nalgebra-0.27)))) - (home-page "https://github.com/thezoq2/Rust-Scad") - (synopsis "Crate for generating OpenSCAD models using Rust") - (description - "This package provides a crate for generating @code{OpenSCAD} models -using Rust.") - (license license:lgpl2.0+))) - -(define-public rust-sdl2-0.36 - (package - (name "rust-sdl2") - (version "0.36.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "sdl2" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "14c84p0fxgr3c9ji82myqzh5y8106rfkrk0byhs5mb8ygmlv4ml3")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t ; Building requires several SDL2 inputs. - #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) - ("rust-c-vec" ,rust-c-vec-2) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-raw-window-handle" ,rust-raw-window-handle-0.5) - ("rust-sdl2-sys" ,rust-sdl2-sys-0.36)))) - (home-page "https://github.com/Rust-SDL2/rust-sdl2") - (synopsis "SDL2 bindings for Rust") - (description "This package provides SDL2 bindings for Rust.") - (license license:expat))) - -(define-public rust-sdl2-0.35 - (package - (inherit rust-sdl2-0.36) - (name "rust-sdl2") - (version "0.35.2") - (source (origin - (method url-fetch) - (uri (crate-uri "sdl2" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "06ivcavxhc7zyhbfmy2544dz0lnaqf33d9xf0jggpw93nrvr55gp")))) - (arguments - `(#:skip-build? #t ; Building requires several SDL2 inputs. - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-c-vec" ,rust-c-vec-2) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-raw-window-handle" ,rust-raw-window-handle-0.4) - ("rust-sdl2-sys" ,rust-sdl2-sys-0.35)))))) - -(define-public rust-sdl2-sys-0.36 - (package - (name "rust-sdl2-sys") - (version "0.36.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "sdl2-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0adxb3n2bq8j58x7diwnm0d96qwa0fqgwjahg2srylsxskysrg16")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; `#[panic_handler]` function required, but not found - #:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.53) - ("rust-cfg-if" ,rust-cfg-if-1) - ("rust-cmake" ,rust-cmake-0.1) - ("rust-flate2" ,rust-flate2-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-pkg-config" ,rust-pkg-config-0.3) - ("rust-vcpkg" ,rust-vcpkg-0.2) - ("rust-version-compare" ,rust-version-compare-0.1)))) - (home-page "https://github.com/rust-sdl2/rust-sdl2") - (synopsis "Raw SDL2 bindings for Rust, used internally rust-sdl2") - (description "This package provides raw SDL2 bindings for Rust, used -internally rust-sdl2.") - (license license:expat))) - -(define-public rust-sdl2-sys-0.35 - (package - (inherit rust-sdl2-sys-0.36) - (name "rust-sdl2-sys") - (version "0.35.2") - (source (origin - (method url-fetch) - (uri (crate-uri "sdl2-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1w7ranfpmbvsnviq0y8d1cz9pajp8c4b84lslycq02kcrzi6nn73")) - (modules '((guix build utils))) - (snippet - '(begin (delete-file-recursively "SDL"))))) - (arguments - `(#:skip-build? #t ; Building requires several SDL2 inputs. - #:cargo-inputs - (("rust-bindgen" ,rust-bindgen-0.53) - ("rust-cfg-if" ,rust-cfg-if-1) - ("rust-cmake" ,rust-cmake-0.1) - ("rust-flate2" ,rust-flate2-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-pkg-config" ,rust-pkg-config-0.3) - ("rust-vcpkg" ,rust-vcpkg-0.2) - ("rust-version-compare" ,rust-version-compare-0.1)))))) - -(define-public rust-smithay-client-toolkit-0.19 - (package - (name "rust-smithay-client-toolkit") - (version "0.19.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "smithay-client-toolkit" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "05h05hg4dn3v6br5jbdbs5nalk076a64s7fn6i01nqzby2hxwmrl")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t ; Cut the dependency chain - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-2) - ("rust-bytemuck" ,rust-bytemuck-1) - ("rust-calloop" ,rust-calloop-0.13) - ("rust-calloop-wayland-source" ,rust-calloop-wayland-source-0.3) - ("rust-cursor-icon" ,rust-cursor-icon-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-memmap2" ,rust-memmap2-0.9) - ("rust-pkg-config" ,rust-pkg-config-0.3) - ("rust-rustix" ,rust-rustix-0.38) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-wayland-backend" ,rust-wayland-backend-0.3) - ("rust-wayland-client" ,rust-wayland-client-0.31) - ("rust-wayland-csd-frame" ,rust-wayland-csd-frame-0.3) - ("rust-wayland-cursor" ,rust-wayland-cursor-0.31) - ("rust-wayland-protocols" ,rust-wayland-protocols-0.32) - ("rust-wayland-protocols-wlr" ,rust-wayland-protocols-wlr-0.3) - ("rust-wayland-scanner" ,rust-wayland-scanner-0.31) - ("rust-xkbcommon" ,rust-xkbcommon-0.7) - ("rust-xkeysym" ,rust-xkeysym-0.2)))) - (home-page "https://github.com/smithay/client-toolkit") - (synopsis "Toolkit for making client Wayland applications") - (description - "This package provides a toolkit for making client Wayland applications.") - (license license:expat))) - -(define-public rust-smithay-client-toolkit-0.18 - (package - (inherit rust-smithay-client-toolkit-0.19) - (name "rust-smithay-client-toolkit") - (version "0.18.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "smithay-client-toolkit" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0fpm2yfpsif7022w4xalxgn53y8w5dc8zkipcpbj1n1vmgpd6bwj")))) - (arguments - `(#:skip-build? #t ; Cut the dependency chain - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-2) - ("rust-bytemuck" ,rust-bytemuck-1) - ("rust-calloop" ,rust-calloop-0.12) - ("rust-calloop-wayland-source" ,rust-calloop-wayland-source-0.2) - ("rust-cursor-icon" ,rust-cursor-icon-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-memmap2" ,rust-memmap2-0.9) - ("rust-pkg-config" ,rust-pkg-config-0.3) - ("rust-rustix" ,rust-rustix-0.38) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-wayland-backend" ,rust-wayland-backend-0.3) - ("rust-wayland-client" ,rust-wayland-client-0.31) - ("rust-wayland-csd-frame" ,rust-wayland-csd-frame-0.3) - ("rust-wayland-cursor" ,rust-wayland-cursor-0.31) - ("rust-wayland-protocols" ,rust-wayland-protocols-0.31) - ("rust-wayland-protocols-wlr" ,rust-wayland-protocols-wlr-0.2) - ("rust-wayland-scanner" ,rust-wayland-scanner-0.31) - ("rust-xkbcommon" ,rust-xkbcommon-0.7) - ("rust-xkeysym" ,rust-xkeysym-0.2)))))) - -(define-public rust-smithay-client-toolkit-0.16 - (package - (inherit rust-smithay-client-toolkit-0.18) - (name "rust-smithay-client-toolkit") - (version "0.16.1") - (source (origin - (method url-fetch) - (uri (crate-uri "smithay-client-toolkit" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1fbfr05h4bcwkkymxwdkhh59pqwgx234pv23pxjbwb4g1gijf147")))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-calloop" ,rust-calloop-0.10) - ("rust-dlib" ,rust-dlib-0.5) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-memmap2" ,rust-memmap2-0.5) - ("rust-nix" ,rust-nix-0.24) - ("rust-pkg-config" ,rust-pkg-config-0.3) - ("rust-wayland-client" ,rust-wayland-client-0.29) - ("rust-wayland-cursor" ,rust-wayland-cursor-0.29) - ("rust-wayland-protocols" ,rust-wayland-protocols-0.29)) - #:cargo-development-inputs (("rust-image" ,rust-image-0.24)))))) - -(define-public rust-smithay-client-toolkit-0.15 - (package - (inherit rust-smithay-client-toolkit-0.16) - (name "rust-smithay-client-toolkit") - (version "0.15.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "smithay-client-toolkit" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "18wxla80y6m4l3dwawi7bl1d9m9dfcg4sxxjcgjqq3psjxmg2a4a")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-calloop" ,rust-calloop-0.9) - ("rust-dlib" ,rust-dlib-0.5) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-memmap2" ,rust-memmap2-0.3) - ("rust-nix" ,rust-nix-0.22) - ("rust-pkg-config" ,rust-pkg-config-0.3) - ("rust-wayland-client" ,rust-wayland-client-0.29) - ("rust-wayland-cursor" ,rust-wayland-cursor-0.29) - ("rust-wayland-protocols" ,rust-wayland-protocols-0.29)))))) - -(define-public rust-smithay-client-toolkit-0.12 - (package - (inherit rust-smithay-client-toolkit-0.15) - (name "rust-smithay-client-toolkit") - (version "0.12.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "smithay-client-toolkit" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "100bm0wk7agfk1dmfnqfjq55kn53srkyc3yq7vx9bb6ksmpwfl27")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-andrew" ,rust-andrew-0.3) - ("rust-bitflags" ,rust-bitflags-1) - ("rust-calloop" ,rust-calloop-0.6) - ("rust-dlib" ,rust-dlib-0.4) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-memmap2" ,rust-memmap2-0.1) - ("rust-nix" ,rust-nix-0.18) - ("rust-wayland-client" ,rust-wayland-client-0.28) - ("rust-wayland-cursor" ,rust-wayland-cursor-0.28) - ("rust-wayland-protocols" ,rust-wayland-protocols-0.28)) - #:cargo-development-inputs (("rust-image" ,rust-image-0.23)))))) - -(define-public rust-smithay-client-toolkit-0.4 - (package - (inherit rust-smithay-client-toolkit-0.12) - (name "rust-smithay-client-toolkit") - (version "0.4.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "smithay-client-toolkit" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1yj8yzd0lhqpsgq0x4iikl9a02q2hnkky81brk938alv0ibqrjrc")))) - (arguments - `(#:cargo-inputs - (("rust-andrew" ,rust-andrew-0.2) - ("rust-bitflags" ,rust-bitflags-1) - ("rust-dlib" ,rust-dlib-0.4) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-memmap" ,rust-memmap-0.7) - ("rust-nix" ,rust-nix-0.14) - ("rust-wayland-client" ,rust-wayland-client-0.21) - ("rust-wayland-commons" ,rust-wayland-commons-0.21) - ("rust-wayland-protocols" ,rust-wayland-protocols-0.21)) - #:cargo-development-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-image" ,rust-image-0.20) - ("rust-wayland-client" ,rust-wayland-client-0.21)))))) - -(define-public rust-smithay-clipboard-0.7 - (package - (name "rust-smithay-clipboard") - (version "0.7.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "smithay-clipboard" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0inqnr4x458nqz0wdcanbgn77dad3bj0m7pjj074lrv3qkp1d0nc")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.19) - ("rust-wayland-backend" ,rust-wayland-backend-0.3)) - #:cargo-development-inputs - (("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.19)))) - (native-inputs (list pkg-config)) - (inputs (list libxkbcommon)) - (home-page "https://github.com/smithay/smithay-clipboard") - (synopsis "Access to the Wayland clipboard for client applications") - (description - "This package provides access to the Wayland clipboard for client -applications.") - (license license:expat))) - -(define-public rust-smithay-clipboard-0.6 - (package - (inherit rust-smithay-clipboard-0.7) - (name "rust-smithay-clipboard") - (version "0.6.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "smithay-clipboard" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1s5hyhbmnk75i0sm14wy4dy7c576a4dyi1chfwdhpbhz1a3mqd0a")))) - (arguments - `(#:cargo-inputs - (("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.16) - ("rust-wayland-client" ,rust-wayland-client-0.29)) - #:cargo-development-inputs - (("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.16)))))) - -(define-public rust-softbuffer-0.4 - (package - (name "rust-softbuffer") - (version "0.4.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "softbuffer" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "025v65wsfncn1wp571rr9vj3ghfgnb6y06ai0nnjqy9favfiq18q")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-test-flags '("--release" "--" - ;; Not all files included. - "--skip=src/lib.rs") - #:cargo-inputs (("rust-as-raw-xcb-connection" ,rust-as-raw-xcb-connection-1) - ("rust-bytemuck" ,rust-bytemuck-1) - ("rust-cfg-aliases" ,rust-cfg-aliases-0.2) - ("rust-core-graphics" ,rust-core-graphics-0.24) - ("rust-drm" ,rust-drm-0.12) - ("rust-fastrand" ,rust-fastrand-2) - ("rust-foreign-types" ,rust-foreign-types-0.5) - ("rust-js-sys" ,rust-js-sys-0.3) - ("rust-log" ,rust-log-0.4) - ("rust-memmap2" ,rust-memmap2-0.9) - ("rust-objc2" ,rust-objc2-0.5) - ("rust-objc2-foundation" ,rust-objc2-foundation-0.2) - ("rust-objc2-quartz-core" ,rust-objc2-quartz-core-0.2) - ("rust-raw-window-handle" ,rust-raw-window-handle-0.6) - ("rust-redox-syscall" ,rust-redox-syscall-0.5) - ("rust-rustix" ,rust-rustix-0.38) - ("rust-tiny-xlib" ,rust-tiny-xlib-0.2) - ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) - ("rust-wayland-backend" ,rust-wayland-backend-0.3) - ("rust-wayland-client" ,rust-wayland-client-0.31) - ("rust-wayland-sys" ,rust-wayland-sys-0.31) - ("rust-web-sys" ,rust-web-sys-0.3) - ("rust-windows-sys" ,rust-windows-sys-0.59) - ("rust-x11rb" ,rust-x11rb-0.13)) - #:cargo-development-inputs - (("rust-colorous" ,rust-colorous-1) - ("rust-criterion" ,rust-criterion-0.4) - ("rust-image" ,rust-image-0.25) - ("rust-rayon" ,rust-rayon-1) - ("rust-rustix" ,rust-rustix-0.38) - ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3) - ("rust-web-time" ,rust-web-time-1) - ("rust-winit" ,rust-winit-0.30)) - #:phases - (modify-phases %standard-phases - (add-after 'configure 'add-absolute-library-references - (lambda* (#:key inputs vendor-dir #:allow-other-keys) - (substitute* (find-files vendor-dir "\\.rs$") - (("libX11\\.so") - (search-input-file inputs "lib/libX11.so")) - (("libX11-xcb\\.so") - (search-input-file inputs "lib/libX11-xcb.so")) - ;; Lots of libraries from rust-x11-dl and others. - (("libX[[:alpha:]]*\\.so" all) - (search-input-file inputs (string-append "lib/" all)))))) - (add-before 'check 'pre-check - (lambda* (#:key native-inputs inputs #:allow-other-keys) - ;; Most tests require an X server. - (let ((xvfb (search-input-file (or native-inputs inputs) - "bin/Xvfb")) - (display ":1")) - (setenv "DISPLAY" display) - (system (string-append xvfb " " display " &")))))))) - (inputs (list libx11 - libxcursor - libxext - libxft - libxi - libxinerama - libxmu - libxpresent - libxrandr - libxscrnsaver - libxt - libxtst)) - (native-inputs (list xorg-server-for-tests)) - (home-page "https://github.com/rust-windowing/softbuffer") - (synopsis "Cross-platform software buffer") - (description "Cross-platform software buffer.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-softbuffer-0.3 - (package - (inherit rust-softbuffer-0.4) - (name "rust-softbuffer") - (version "0.3.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "softbuffer" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0qiv299v034hq7v4d79mkyvhzl05snal9m4ffm7amaiyl8mcwrpj")))) - (arguments - `(#:cargo-inputs (("rust-as-raw-xcb-connection" ,rust-as-raw-xcb-connection-1) - ("rust-bytemuck" ,rust-bytemuck-1) - ("rust-cfg-aliases" ,rust-cfg-aliases-0.1) - ("rust-cocoa" ,rust-cocoa-0.25) - ("rust-core-graphics" ,rust-core-graphics-0.23) - ("rust-drm" ,rust-drm-0.11) - ("rust-fastrand" ,rust-fastrand-2) - ("rust-foreign-types" ,rust-foreign-types-0.5) - ("rust-js-sys" ,rust-js-sys-0.3) - ("rust-log" ,rust-log-0.4) - ("rust-memmap2" ,rust-memmap2-0.9) - ("rust-objc" ,rust-objc-0.2) - ("rust-raw-window-handle" ,rust-raw-window-handle-0.5) - ("rust-redox-syscall" ,rust-redox-syscall-0.4) - ("rust-rustix" ,rust-rustix-0.38) - ("rust-tiny-xlib" ,rust-tiny-xlib-0.2) - ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) - ("rust-wayland-backend" ,rust-wayland-backend-0.3) - ("rust-wayland-client" ,rust-wayland-client-0.31) - ("rust-wayland-sys" ,rust-wayland-sys-0.31) - ("rust-web-sys" ,rust-web-sys-0.3) - ("rust-windows-sys" ,rust-windows-sys-0.48) - ("rust-x11rb" ,rust-x11rb-0.12)) - #:cargo-development-inputs - (("rust-colorous" ,rust-colorous-1) - ("rust-criterion" ,rust-criterion-0.4) - ("rust-image" ,rust-image-0.24) - ("rust-instant" ,rust-instant-0.1) - ("rust-rayon" ,rust-rayon-1) - ("rust-rustix" ,rust-rustix-0.38) - ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3) - ("rust-winit" ,rust-winit-0.28) - ("rust-winit-test" ,rust-winit-test-0.1)) - #:phases - (modify-phases %standard-phases - (add-after 'configure 'add-absolute-library-references - (lambda* (#:key inputs vendor-dir #:allow-other-keys) - (substitute* (find-files vendor-dir "\\.rs$") - (("libX11\\.so") - (search-input-file inputs "lib/libX11.so")) - (("libX11-xcb\\.so") - (search-input-file inputs "lib/libX11-xcb.so")) - ;; Lots of libraries from rust-x11-dl and others. - (("libX[[:alpha:]]*\\.so" all) - (search-input-file inputs (string-append "lib/" all)))))) - (add-before 'check 'pre-check - (lambda* (#:key native-inputs inputs #:allow-other-keys) - ;; Most tests require an X server. - (let ((xvfb (search-input-file (or native-inputs inputs) - "bin/Xvfb")) - (display ":1")) - (setenv "DISPLAY" display) - (system (string-append xvfb " " display " &")))))))))) - -(define-public rust-svg-metadata-0.4 - (package - (name "rust-svg-metadata") - (version "0.4.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "svg_metadata" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "002j0na1kfz4pgi43hdcz5baygzk6irnjd5lrmbqqfjldwn3sbx4")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-test-flags '("--" - "--skip=readme_sect_usage_example_line_19") - #:cargo-inputs (("rust-doc-comment" ,rust-doc-comment-0.3) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-regex" ,rust-regex-1) - ("rust-roxmltree" ,rust-roxmltree-0.18) - ("rust-skeptic" ,rust-skeptic-0.13)) - #:cargo-development-inputs (("rust-skeptic" ,rust-skeptic-0.13)))) - (home-page "https://github.com/mre/svg-metadata") - (synopsis - "Extracts metadata (like the viewBox, width, and height) from SVG graphics") - (description - "This package provides extracts metadata (like the @code{viewBox}, width, -and height) from SVG graphics.") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-tiff-0.9 - (package - (name "rust-tiff") - (version "0.9.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "tiff" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0ghyxlz566dzc3scvgmzys11dhq2ri77kb8sznjakijlxby104xs")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Not all files included. - #:cargo-inputs (("rust-flate2" ,rust-flate2-1) - ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.3) - ("rust-weezl" ,rust-weezl-0.1)) - #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)))) - (home-page "https://github.com/image-rs/image-tiff") - (synopsis "TIFF decoding and encoding library in pure Rust") - (description - "This package provides TIFF decoding and encoding library in pure Rust.") - (license license:expat))) - -(define-public rust-tiff-0.8 - (package - (inherit rust-tiff-0.9) - (name "rust-tiff") - (version "0.8.1") - (source (origin - (method url-fetch) - (uri (crate-uri "tiff" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0wg4a6w8sakyy0mggblg340mx8bgglx9hwsxsn8g5fpjkx7k6jbl")))) - (arguments - `(#:tests? #f ; Not all files included - #:cargo-inputs - (("rust-flate2" ,rust-flate2-1) - ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.3) - ("rust-weezl" ,rust-weezl-0.1)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3)))))) - -(define-public rust-tiff-0.6 - (package - (inherit rust-tiff-0.8) - (name "rust-tiff") - (version "0.6.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "tiff" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0ds48vs919ccxa3fv1www7788pzkvpg434ilqkq7sjb5dmqg8lws")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1) - ("rust-miniz-oxide" ,rust-miniz-oxide-0.4) - ("rust-weezl" ,rust-weezl-0.1)))))) - -(define-public rust-tiff-0.5 - (package - (inherit rust-tiff-0.6) - (name "rust-tiff") - (version "0.5.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "tiff" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0bzzvxcx21pzryxgd7x7a1himiqs2y4k55754wzlr56sqj3qlfrz")))) - (arguments - `(#:tests? #f ; not all test files included - #:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-lzw" ,rust-lzw-0.10) - ("rust-miniz-oxide" ,rust-miniz-oxide-0.3)))))) - -(define-public rust-tiff-0.3 - (package - (inherit rust-tiff-0.5) - (name "rust-tiff") - (version "0.3.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "tiff" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0zgmbny2f8rssqmjdfvnysy0vqwcvlwl6q9f5yixhavlqk7w5dyp")))) - (arguments - `(#:tests? #f ; Tests images not included with release. - #:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-lzw" ,rust-lzw-0.10) - ("rust-num-derive" ,rust-num-derive-0.2) - ("rust-num-traits" ,rust-num-traits-0.2)) - #:cargo-development-inputs - (("rust-tempfile" ,rust-tempfile-3)))))) - -(define-public rust-tiff-0.2 - (package - (inherit rust-tiff-0.3) - (name "rust-tiff") - (version "0.2.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "tiff" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1kn7psgpacns337vvqh272rkqwnakmjd51rc7ygwnc03ibr38j0y")))) - (arguments - `(#:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-lzw" ,rust-lzw-0.10) - ("rust-num-derive" ,rust-num-derive-0.2) - ("rust-num-traits" ,rust-num-traits-0.2)))))) - -(define-public rust-tiny-xlib-0.2 - (package - (name "rust-tiny-xlib") - (version "0.2.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "tiny-xlib" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "17nqhy48ab7vchxzplqrw2g88mx2zyr38kwr1ipan76hxx5m0903")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-test-flags '("--" - ;; error: "failed to open display" - "--skip=error_handling" - "--skip=remove_and_re_insert" - "--skip=smoke" - "--skip=replace_old_handler") - #:cargo-inputs (("rust-as-raw-xcb-connection" ,rust-as-raw-xcb-connection-1) - ("rust-ctor-lite" ,rust-ctor-lite-0.1) - ("rust-libloading" ,rust-libloading-0.8) - ("rust-pkg-config" ,rust-pkg-config-0.3) - ("rust-tracing" ,rust-tracing-0.1)) - #:cargo-development-inputs - (("rust-tracing" ,rust-tracing-0.1) - ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3) - ("rust-x11-dl" ,rust-x11-dl-2) - ("rust-x11rb" ,rust-x11rb-0.13)))) - (native-inputs (list pkg-config)) - (inputs (list libx11)) - (home-page "https://github.com/notgull/tiny-xlib") - (synopsis "Tiny Xlib wrapper for Rust") - (description "This package provides a tiny Xlib wrapper for Rust.") - (license (list license:expat license:asl2.0 license:zlib)))) - -(define-public rust-wayland-backend-0.3 - (package - (name "rust-wayland-backend") - (version "0.3.8") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-backend" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1gs7dw6s3lp9g6g0rhk4bh66wl41jnbkd27c6ynhv1x3xac8j85p")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; use of undeclared crate or module `wayland_scanner` - #:cargo-inputs (("rust-cc" ,rust-cc-1) - ("rust-downcast-rs" ,rust-downcast-rs-1) - ("rust-log" ,rust-log-0.4) - ("rust-raw-window-handle" ,rust-raw-window-handle-0.5) - ("rust-raw-window-handle" ,rust-raw-window-handle-0.6) - ("rust-rustix" ,rust-rustix-0.38) - ("rust-scoped-tls" ,rust-scoped-tls-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-wayland-sys" ,rust-wayland-sys-0.31)) - #:cargo-development-inputs (("rust-concat-idents" ,rust-concat-idents-1) - ("rust-env-logger" ,rust-env-logger-0.10)))) - (home-page "https://github.com/smithay/wayland-rs") - (synopsis "Low-level bindings to the Wayland protocol") - (description "This package provides low-level bindings to the Wayland -protocol.") - (license license:expat))) - -(define-public rust-wayland-backend-0.1 - (package - (inherit rust-wayland-backend-0.3) - (name "rust-wayland-backend") - (version "0.1.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-backend" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1n1yi6vna23wfkrpk1j46sx5qbsijh50viha4sra73by8lkqxd21")))) - (arguments - `(#:tests? #f ; Use of undeclared dependencies - #:cargo-inputs - (("rust-cc" ,rust-cc-1) - ("rust-downcast-rs" ,rust-downcast-rs-1) - ("rust-io-lifetimes" ,rust-io-lifetimes-1) - ("rust-log" ,rust-log-0.4) - ("rust-nix" ,rust-nix-0.26) - ("rust-raw-window-handle" ,rust-raw-window-handle-0.5) - ("rust-scoped-tls" ,rust-scoped-tls-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-wayland-sys" ,rust-wayland-sys-0.30)) - #:cargo-development-inputs - (("rust-concat-idents" ,rust-concat-idents-1) - ("rust-env-logger" ,rust-env-logger-0.10)))))) - -(define-public rust-wayland-client-0.31 - (package - (name "rust-wayland-client") - (version "0.31.8") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-client" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0gzpr9gdd8yk1crflxngg5iwa1szyyzp4i4zbgpslf1nsgihs4n2")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; use of undeclared crate or module `wayland_protocols` - #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) - ("rust-log" ,rust-log-0.4) - ("rust-rustix" ,rust-rustix-0.38) - ("rust-wayland-backend" ,rust-wayland-backend-0.3) - ("rust-wayland-scanner" ,rust-wayland-scanner-0.31)) - #:cargo-development-inputs (("rust-futures-channel" ,rust-futures-channel-0.3) - ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://github.com/smithay/wayland-rs") - (synopsis - "Rust bindings to the standard C implementation of the wayland protocol") - (description - "This package provides Rust bindings to the standard C implementation of -the wayland protocol, client side.") - (license license:expat))) - -(define-public rust-wayland-client-0.30 - (package - (inherit rust-wayland-client-0.31) - (name "rust-wayland-client") - (version "0.30.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-client" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1j3as2g1znrs2lpkksqcvx8pag85yiwwbcv6wb3lyrqgfxa9d728")))) - (arguments - `(#:tests? #f ; use of undeclared crate or module `wayland_protocols` - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-calloop" ,rust-calloop-0.10) - ("rust-log" ,rust-log-0.4) - ("rust-nix" ,rust-nix-0.26) - ("rust-wayland-backend" ,rust-wayland-backend-0.1) - ("rust-wayland-scanner" ,rust-wayland-scanner-0.30)) - #:cargo-development-inputs - (("rust-futures-channel" ,rust-futures-channel-0.3) - ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-tempfile" ,rust-tempfile-3)))))) - -(define-public rust-wayland-client-0.29 - (package - (inherit rust-wayland-client-0.30) - (name "rust-wayland-client") - (version "0.29.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-client" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "05b7qikqj22rjy17kqw5ar7j2chpy18dr0gqapvwjfd00n60cfrz")))) - (arguments - `(#:tests? #false ;circular dependency on wayland-protocols - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-downcast-rs" ,rust-downcast-rs-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-nix" ,rust-nix-0.24) - ("rust-scoped-tls" ,rust-scoped-tls-1) - ("rust-wayland-commons" ,rust-wayland-commons-0.29) - ("rust-wayland-scanner" ,rust-wayland-scanner-0.29) - ("rust-wayland-sys" ,rust-wayland-sys-0.29)) - #:cargo-development-inputs - (("rust-tempfile" ,rust-tempfile-3)))))) - -(define-public rust-wayland-client-0.28 - (package - (inherit rust-wayland-client-0.29) - (name "rust-wayland-client") - (version "0.28.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-client" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0m831sj4w5k0j9167f2dy3815k73g153j09271cz20p5a0ik7az3")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; use of undeclared crate or module `wayland_protocols` - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-downcast-rs" ,rust-downcast-rs-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-nix" ,rust-nix-0.20) - ("rust-scoped-tls" ,rust-scoped-tls-1) - ("rust-wayland-commons" ,rust-wayland-commons-0.28) - ("rust-wayland-scanner" ,rust-wayland-scanner-0.28) - ("rust-wayland-sys" ,rust-wayland-sys-0.28)) - #:cargo-development-inputs - (("rust-tempfile" ,rust-tempfile-3)))))) - -(define-public rust-wayland-client-0.23 - (package - (inherit rust-wayland-client-0.28) - (name "rust-wayland-client") - (version "0.23.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-client" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1nmw2kz70llc5mxwzg6bglnqy0qnyr9224zjmq9czazgw3mq045g")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-calloop" ,rust-calloop-0.4) - ("rust-downcast-rs" ,rust-downcast-rs-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-mio" ,rust-mio-0.6) - ("rust-nix" ,rust-nix-0.14) - ("rust-wayland-commons" ,rust-wayland-commons-0.23) - ("rust-wayland-sys" ,rust-wayland-sys-0.23) - ("rust-wayland-scanner" ,rust-wayland-scanner-0.23)) - #:cargo-development-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-tempfile" ,rust-tempfile-3)))))) - -(define-public rust-wayland-client-0.21 - (package - (inherit rust-wayland-client-0.23) - (name "rust-wayland-client") - (version "0.21.13") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-client" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "04r7dy074hhdalsi1day482wvmczr40hg7qvrnzkgxpakrgkx5j9")))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-calloop" ,rust-calloop-0.4) - ("rust-downcast-rs" ,rust-downcast-rs-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-mio" ,rust-mio-0.6) - ("rust-nix" ,rust-nix-0.14) - ("rust-wayland-commons" ,rust-wayland-commons-0.21) - ("rust-wayland-sys" ,rust-wayland-sys-0.21) - ("rust-wayland-scanner" ,rust-wayland-scanner-0.21)) - #:cargo-development-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-tempfile" ,rust-tempfile-3)))))) - -(define-public rust-wayland-commons-0.29 - (package - (name "rust-wayland-commons") - (version "0.29.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-commons" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "00m90bnxqy0d6lzqlyazc1jh18jgbjwigmyr0rk3m8w4slsg34c6")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-nix" ,rust-nix-0.24) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-wayland-sys" ,rust-wayland-sys-0.29)))) - (home-page "https://github.com/smithay/wayland-rs") - (synopsis "Types and structures used by wayland-client and wayland-server") - (description - "This package provides common types and structures used by wayland-client -and wayland-server.") - (license license:expat))) - -(define-public rust-wayland-commons-0.28 - (package - (inherit rust-wayland-commons-0.29) - (name "rust-wayland-commons") - (version "0.28.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-commons" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1npvcrwh8chjcji73c24hlp05zbv6dxv24bylb8bn4bhgja1f652")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-nix" ,rust-nix-0.20) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-wayland-sys" ,rust-wayland-sys-0.28)))))) - -(define-public rust-wayland-commons-0.23 - (package - (inherit rust-wayland-commons-0.28) - (name "rust-wayland-commons") - (version "0.23.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-commons" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1nyvcs6xxxzqgh0wvc7z0fgi89bf3h9p4qrbf77bnfbwlb8v0rmv")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-nix" ,rust-nix-0.14) - ("rust-wayland-sys" ,rust-wayland-sys-0.23)))))) - -(define-public rust-wayland-commons-0.21 - (package - (inherit rust-wayland-commons-0.23) - (name "rust-wayland-commons") - (version "0.21.13") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-commons" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1v1jpcsnn6cwwy5ii5pdl58i6b9slmi8mn4my4fpwrlbfsb8ih20")))) - (arguments - `(#:cargo-inputs - (("rust-nix" ,rust-nix-0.14) - ("rust-wayland-sys" ,rust-wayland-sys-0.21)))))) - -(define-public rust-wayland-csd-frame-0.3 - (package - (name "rust-wayland-csd-frame") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-csd-frame" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0zjcmcqprfzx57hlm741n89ssp4sha5yh5cnmbk2agflvclm0p32")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) - ("rust-cursor-icon" ,rust-cursor-icon-1) - ("rust-wayland-backend" ,rust-wayland-backend-0.3)))) - (home-page "https://github.com/rust-windowing/wayland-csd-frame") - (synopsis "Common trait and types for wayland CSD interop") - (description "This package provides common trait and types for wayland -@acronym{CSD, Client Side Decorations} interop.") - (license license:expat))) - -(define-public rust-wayland-cursor-0.31 - (package - (name "rust-wayland-cursor") - (version "0.31.8") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-cursor" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0pccjqiln1izjbdzprqiijhad4k00wmr5r003a44h1v5nv5jjc59")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-rustix" ,rust-rustix-0.38) - ("rust-wayland-client" ,rust-wayland-client-0.31) - ("rust-xcursor" ,rust-xcursor-0.3)))) - (home-page "https://github.com/smithay/wayland-rs") - (synopsis "Bindings to libwayland-cursor") - (description - "This crate provides helpers to load the system provided cursor images -and load them into WlBuffers as well as obtain the necessary metadata to -properly display animated cursors.") - (license license:expat))) - -(define-public rust-wayland-cursor-0.29 - (package - (inherit rust-wayland-cursor-0.31) - (name "rust-wayland-cursor") - (version "0.29.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-cursor" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0qbn6wqmjibkx3lb3ggbp07iabzgx2zhrm0wxxxjbmhkdyvccrb8")))) - (arguments - `(#:cargo-inputs - (("rust-nix" ,rust-nix-0.24) - ("rust-wayland-client" ,rust-wayland-client-0.29) - ("rust-xcursor" ,rust-xcursor-0.3)))))) - -(define-public rust-wayland-cursor-0.28 - (package - (inherit rust-wayland-cursor-0.29) - (name "rust-wayland-cursor") - (version "0.28.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-cursor" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0nm61zkxwddq9x64dalcb5rihz2w6kz7blmxwx2nsn6ixn200qdy")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-nix" ,rust-nix-0.20) - ("rust-wayland-client" ,rust-wayland-client-0.28) - ("rust-xcursor" ,rust-xcursor-0.3)))))) - -(define-public rust-wayland-egl-0.29 - (package - (name "rust-wayland-egl") - (version "0.29.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-egl" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0z8hwixv5kj201p2pnbdwxbl4s9hz5cxd8i1v0k2j08sz14yjba0")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-wayland-client" ,rust-wayland-client-0.29) - ("rust-wayland-sys" ,rust-wayland-sys-0.29)))) - (native-inputs (list pkg-config)) - (inputs (list wayland)) - (home-page "https://github.com/smithay/wayland-rs") - (synopsis "Bindings to libwayland-egl") - (description - "This crate provides bindings for OpenGL/Vulkan support for -Wayland client apps. It creates an EGLSurface from any -WlSurface, which can then play the role of the base surface for -initializing an OpenGL or Vulkan context.") - (license license:expat))) - -(define-public rust-wayland-egl-0.28 - (package - (inherit rust-wayland-egl-0.29) - (name "rust-wayland-egl") - (version "0.28.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-egl" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0mk9yv9b5w64syi09x0ma3s7s7ajdn2hhvykh8wv4ml7w6qimflr")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-wayland-client" ,rust-wayland-client-0.28) - ("rust-wayland-sys" ,rust-wayland-sys-0.28)))))) - -(define-public rust-wayland-protocols-0.32 - (package - (name "rust-wayland-protocols") - (version "0.32.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-protocols" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1z0yahh48x8qzdbcallmxn5am5897hkk5d7p51ly6dwvhr3cz087")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) - ("rust-wayland-backend" ,rust-wayland-backend-0.3) - ("rust-wayland-client" ,rust-wayland-client-0.31) - ("rust-wayland-scanner" ,rust-wayland-scanner-0.31) - ("rust-wayland-server" ,rust-wayland-server-0.31)))) - (home-page "https://github.com/smithay/wayland-rs") - (synopsis "Generated API for the officials Wayland protocol extensions") - (description - "This package provides a generated API for the officials Wayland protocol -extensions.") - (license license:expat))) - -(define-public rust-wayland-protocols-0.31 - (package - (inherit rust-wayland-protocols-0.32) - (name "rust-wayland-protocols") - (version "0.31.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-protocols" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1x310l1p6p3p3l76nl1l2yava9408dy77s605917zadlp1jz70cg")))) - (arguments - `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) - ("rust-wayland-backend" ,rust-wayland-backend-0.3) - ("rust-wayland-client" ,rust-wayland-client-0.31) - ("rust-wayland-scanner" ,rust-wayland-scanner-0.31) - ("rust-wayland-server" ,rust-wayland-server-0.31)))))) - -(define-public rust-wayland-protocols-0.30 - (package - (inherit rust-wayland-protocols-0.31) - (name "rust-wayland-protocols") - (version "0.30.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-protocols" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0kcvvli38gdjb9c7dpa2s0ix4nnqfq7n2bbc39370kx9bhg10a1v")))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-wayland-backend" ,rust-wayland-backend-0.1) - ("rust-wayland-client" ,rust-wayland-client-0.30) - ("rust-wayland-scanner" ,rust-wayland-scanner-0.30) - ("rust-wayland-server" ,rust-wayland-server-0.30)))))) - -(define-public rust-wayland-protocols-0.29 - (package - (inherit rust-wayland-protocols-0.30) - (name "rust-wayland-protocols") - (version "0.29.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-protocols" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1ihbjyd0w460gd7w22g9qabbwd4v8x74f8vsh7p25csljcgn4l5r")))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-wayland-client" ,rust-wayland-client-0.29) - ("rust-wayland-commons" ,rust-wayland-commons-0.29) - ("rust-wayland-scanner" ,rust-wayland-scanner-0.29) - ("rust-wayland-server" ,rust-wayland-server-0.29)))))) - -(define-public rust-wayland-protocols-0.28 - (package - (inherit rust-wayland-protocols-0.29) - (name "rust-wayland-protocols") - (version "0.28.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-protocols" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "07w6kyr05fmajq3i8npfk4q6j5p35qja91x03zvaqfw09pm20ri8")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-wayland-client" ,rust-wayland-client-0.28) - ("rust-wayland-commons" ,rust-wayland-commons-0.28) - ("rust-wayland-scanner" ,rust-wayland-scanner-0.28) - ("rust-wayland-server" ,rust-wayland-server-0.28)))))) - -(define-public rust-wayland-protocols-0.23 - (package - (inherit rust-wayland-protocols-0.28) - (name "rust-wayland-protocols") - (version "0.23.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-protocols" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1ygwbzqlnks5xzafka3c8ag6k92g2h6ygj2xsmvjfx2n6rj8dhkc")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-wayland-client" ,rust-wayland-client-0.23) - ("rust-wayland-commons" ,rust-wayland-commons-0.23) - ("rust-wayland-server" ,rust-wayland-server-0.23) - ("rust-wayland-scanner" ,rust-wayland-scanner-0.23)))))) - -(define-public rust-wayland-protocols-0.21 - (package - (inherit rust-wayland-protocols-0.23) - (name "rust-wayland-protocols") - (version "0.21.13") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-protocols" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0i91yh3nxk9llhly2ly3nvlfx0lbpvyq919cgmnyx3j25bmf5zaa")))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-wayland-client" ,rust-wayland-client-0.21) - ("rust-wayland-commons" ,rust-wayland-commons-0.21) - ("rust-wayland-server" ,rust-wayland-server-0.21) - ("rust-wayland-sys" ,rust-wayland-sys-0.21) - ("rust-wayland-scanner" ,rust-wayland-scanner-0.21)))))) - -(define-public rust-wayland-protocols-plasma-0.3 - (package - (name "rust-wayland-protocols-plasma") - (version "0.3.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-protocols-plasma" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1cs6gpgxybjvr60j6j824blsvz4hnmjwaah2cdkzvzh3cz3srjkw")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) - ("rust-wayland-backend" ,rust-wayland-backend-0.3) - ("rust-wayland-client" ,rust-wayland-client-0.31) - ("rust-wayland-protocols" ,rust-wayland-protocols-0.32) - ("rust-wayland-scanner" ,rust-wayland-scanner-0.31) - ("rust-wayland-server" ,rust-wayland-server-0.31)))) - (home-page "https://github.com/smithay/wayland-rs") - (synopsis "Generated API for the Plasma wayland protocol extensions") - (description "This package provides a generated API for the Plasma wayland -protocol extensions.") - (license license:expat))) - -(define-public rust-wayland-protocols-plasma-0.2 - (package - (inherit rust-wayland-protocols-plasma-0.3) - (name "rust-wayland-protocols-plasma") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-protocols-plasma" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0yglbxd4ka8284k0j0ssh9hf6wd9qp2n0s2qrsdymyaz258kb013")))) - (arguments - `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) - ("rust-wayland-backend" ,rust-wayland-backend-0.3) - ("rust-wayland-client" ,rust-wayland-client-0.31) - ("rust-wayland-protocols" ,rust-wayland-protocols-0.31) - ("rust-wayland-scanner" ,rust-wayland-scanner-0.31) - ("rust-wayland-server" ,rust-wayland-server-0.31)))))) - -(define-public rust-wayland-protocols-wlr-0.3 - (package - (name "rust-wayland-protocols-wlr") - (version "0.3.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-protocols-wlr" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1cpqb0d4ryf87x2wgca5n71wilhvc0jjva0zasbdgalmypk052i4")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) - ("rust-wayland-backend" ,rust-wayland-backend-0.3) - ("rust-wayland-client" ,rust-wayland-client-0.31) - ("rust-wayland-protocols" ,rust-wayland-protocols-0.32) - ("rust-wayland-scanner" ,rust-wayland-scanner-0.31) - ("rust-wayland-server" ,rust-wayland-server-0.31)))) - (home-page "https://github.com/smithay/wayland-rs") - (synopsis "Generated API for the WLR wayland protocol extensions") - (description "This package provides generated API for the WLR wayland -protocol extensions.") - (license license:expat))) - -(define-public rust-wayland-protocols-wlr-0.2 - (package - (inherit rust-wayland-protocols-wlr-0.3) - (name "rust-wayland-protocols-wlr") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-protocols-wlr" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1mjww9psk2nc5hm2q4s3qas30rbzfg1sb6qgw518fbbcdfvn27xd")))) - (arguments - `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) - ("rust-wayland-backend" ,rust-wayland-backend-0.3) - ("rust-wayland-client" ,rust-wayland-client-0.31) - ("rust-wayland-protocols" ,rust-wayland-protocols-0.31) - ("rust-wayland-scanner" ,rust-wayland-scanner-0.31) - ("rust-wayland-server" ,rust-wayland-server-0.31)))))) - -(define-public rust-wayland-protocols-wlr-0.1 - (package - (inherit rust-wayland-protocols-wlr-0.2) - (name "rust-wayland-protocols-wlr") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-protocols-wlr" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "12jqi7n77l8a13hc5w5fkdgs4kdjk9i6nvl74njsdr106c4r3sgw")))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-wayland-backend" ,rust-wayland-backend-0.1) - ("rust-wayland-client" ,rust-wayland-client-0.30) - ("rust-wayland-protocols" ,rust-wayland-protocols-0.30) - ("rust-wayland-scanner" ,rust-wayland-scanner-0.30) - ("rust-wayland-server" ,rust-wayland-server-0.30)))))) - -(define-public rust-wayland-scanner-0.31 - (package - (name "rust-wayland-scanner") - (version "0.31.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-scanner" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "110ldnyfxjqvjssir1jf3ndlci7xy9lpv4aqg775y518bpyxlvw9")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-test-flags '("--" - "--skip=client_gen::tests::client_gen" - "--skip=interfaces::tests::interface_gen" - "--skip=server_gen::tests::server_gen") - #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quick-xml" ,rust-quick-xml-0.37) - ("rust-quote" ,rust-quote-1)) - #:cargo-development-inputs (("rust-similar" ,rust-similar-2)))) - (home-page "https://github.com/smithay/wayland-rs") - (synopsis "Generate Rust APIs from XML Wayland protocol files") - (description - "Wayland Scanner generates Rust APIs from XML Wayland protocol files. -It is intended for use with wayland-sys. You should only need this crate if -you are working on custom Wayland protocol extensions. Look at the -wayland-client crate for usable bindings.") - (license license:expat))) - -(define-public rust-wayland-scanner-0.30 - (package - (inherit rust-wayland-scanner-0.31) - (name "rust-wayland-scanner") - (version "0.30.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-scanner" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "03ikmfwacsgbym2y4raf05knl1qjlgg81sy0174jxhzvayr77f5r")))) - (arguments - `(#:tests? #f ; Tests expect running wayland instance. - #:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quick-xml" ,rust-quick-xml-0.28) - ("rust-quote" ,rust-quote-1)) - #:cargo-development-inputs - (("rust-similar" ,rust-similar-2)))))) - -(define-public rust-wayland-scanner-0.29 - (package - (inherit rust-wayland-scanner-0.30) - (name "rust-wayland-scanner") - (version "0.29.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-scanner" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0lxx3i2kxnmsk421qx87lqqc9kd2y1ksjxcyg0pqbar2zbc06hwg")))) - (arguments - `(#:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-xml-rs" ,rust-xml-rs-0.8)))))) - -(define-public rust-wayland-scanner-0.28 - (package - (inherit rust-wayland-scanner-0.29) - (name "rust-wayland-scanner") - (version "0.28.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-scanner" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1w839jsh7nrni4f2x5bkapf98w7kddxyqmpks4rf67dnvsr3x4nf")))) - (arguments - `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-xml-rs" ,rust-xml-rs-0.8)))))) - -(define-public rust-wayland-scanner-0.23 - (package - (inherit rust-wayland-scanner-0.28) - (name "rust-wayland-scanner") - (version "0.23.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-scanner" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0g8wcphykjrcpslznyi3qccx1pckw97rckq5b295nfbg6r3j5c4k")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-0.4) - ("rust-quote" ,rust-quote-0.6) - ("rust-xml-rs" ,rust-xml-rs-0.8)))))) - -(define-public rust-wayland-scanner-0.21 - (package - (inherit rust-wayland-scanner-0.23) - (name "rust-wayland-scanner") - (version "0.21.13") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-scanner" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "17mp49v7w0p0x5ry628lj2llljnwkr9aj9g4bqqhfibid32jhf5z")))))) - -(define-public rust-wayland-server-0.31 - (package - (name "rust-wayland-server") - (version "0.31.7") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-server" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1jx410qa59vry55xm40dqgqa7d0cx7xs3a5qaxv8xzwcsrzbvylp")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) - ("rust-downcast-rs" ,rust-downcast-rs-1) - ("rust-log" ,rust-log-0.4) - ("rust-rustix" ,rust-rustix-0.38) - ("rust-wayland-backend" ,rust-wayland-backend-0.3) - ("rust-wayland-scanner" ,rust-wayland-scanner-0.31)))) - (home-page "https://github.com/smithay/wayland-rs") - (synopsis - "Bindings to the standard C implementation of the wayland protocol") - (description - "This package provides Rust bindings to the standard C implementation of -the wayland protocol, server side.") - (license license:expat))) - -(define-public rust-wayland-server-0.30 - (package - (inherit rust-wayland-server-0.31) - (name "rust-wayland-server") - (version "0.30.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-server" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0fnjhhcbnwgyplawc02v3b6nkxnhzl2981yiyzzlj7gyjs0c4hww")))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-downcast-rs" ,rust-downcast-rs-1) - ("rust-io-lifetimes" ,rust-io-lifetimes-1) - ("rust-log" ,rust-log-0.4) - ("rust-nix" ,rust-nix-0.26) - ("rust-wayland-backend" ,rust-wayland-backend-0.1) - ("rust-wayland-scanner" ,rust-wayland-scanner-0.30)))))) - -(define-public rust-wayland-server-0.29 - (package - (inherit rust-wayland-server-0.30) - (name "rust-wayland-server") - (version "0.29.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-server" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "11ickjbqpfs19wakf56l3j9asjcfw00d7wj48s3i99yvv1nq8q2k")))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-downcast-rs" ,rust-downcast-rs-1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-nix" ,rust-nix-0.24) - ("rust-parking-lot" ,rust-parking-lot-0.11) - ("rust-scoped-tls" ,rust-scoped-tls-1) - ("rust-wayland-commons" ,rust-wayland-commons-0.29) - ("rust-wayland-scanner" ,rust-wayland-scanner-0.29) - ("rust-wayland-sys" ,rust-wayland-sys-0.29)))))) - -(define-public rust-wayland-server-0.28 - (package - (inherit rust-wayland-server-0.29) - (name "rust-wayland-server") - (version "0.28.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-server" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0f2lclv6x794a48m3anqgx7qzz5s5dvbsj3xahnmz5izk1bhq7qb")))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-downcast-rs" ,rust-downcast-rs-1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-nix" ,rust-nix-0.20) - ("rust-parking-lot" ,rust-parking-lot-0.11) - ("rust-scoped-tls" ,rust-scoped-tls-1) - ("rust-wayland-commons" ,rust-wayland-commons-0.28) - ("rust-wayland-scanner" ,rust-wayland-scanner-0.28) - ("rust-wayland-sys" ,rust-wayland-sys-0.28)))))) - -(define-public rust-wayland-server-0.23 - (package - (inherit rust-wayland-server-0.28) - (name "rust-wayland-server") - (version "0.23.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-server" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1ccsalq6gnf07klnbjx2dxcbibhw03rqsgi578p913s3zsjlcg8a")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-calloop" ,rust-calloop-0.4) - ("rust-downcast-rs" ,rust-downcast-rs-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-mio" ,rust-mio-0.6) - ("rust-nix" ,rust-nix-0.14) - ("rust-wayland-commons" ,rust-wayland-commons-0.23) - ("rust-wayland-sys" ,rust-wayland-sys-0.23) - ("rust-wayland-scanner" ,rust-wayland-scanner-0.23)))))) - -(define-public rust-wayland-server-0.21 - (package - (inherit rust-wayland-server-0.23) - (name "rust-wayland-server") - (version "0.21.13") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-server" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0ayn4wlrpg0fw04prri9awpkjvbzjil0d3l3a8zs9pdbnspvw6ah")))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-calloop" ,rust-calloop-0.4) - ("rust-downcast-rs" ,rust-downcast-rs-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-mio" ,rust-mio-0.6) - ("rust-nix" ,rust-nix-0.14) - ("rust-wayland-commons" ,rust-wayland-commons-0.21) - ("rust-wayland-sys" ,rust-wayland-sys-0.21) - ("rust-wayland-scanner" ,rust-wayland-scanner-0.21)))))) - -(define-public rust-wayland-sys-0.31 - (package - (name "rust-wayland-sys") - (version "0.31.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "05b6i4lg2qrrz7l4h2b5fd7blkkvxq34i1yvlngsmmbpkhwvpknv")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-dlib" ,rust-dlib-0.5) - ("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-memoffset" ,rust-memoffset-0.9) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-pkg-config" ,rust-pkg-config-0.3)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'patch-libraries - (lambda* (#:key inputs #:allow-other-keys) - (let ((libwayland (dirname (search-input-file - inputs "lib/libwayland-client.so")))) - (substitute* (find-files "src" "\\.rs$") - (("libwayland.*\\.so" shared-lib) - (string-append libwayland "/" shared-lib))))))))) - (inputs (list wayland)) - (home-page "https://github.com/smithay/wayland-rs") - (synopsis "FFI bindings to the various @file{libwayland-*.so} libraries") - (description - "This package provides FFI bindings to the various -@file{libwayland-*.so} libraries. You should only need this crate if -you are working on custom Wayland protocol extensions. Look at the -crate @code{rust-wayland-client} for usable bindings.") - (license license:expat))) - -(define-public rust-wayland-sys-0.30 - (package - (inherit rust-wayland-sys-0.31) - (name "rust-wayland-sys") - (version "0.30.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "01man4ll2kyxp9x2934rhnf98522pzwsd2c6jwr73q08qqma1cln")))) - (arguments - `(#:cargo-inputs - (("rust-dlib" ,rust-dlib-0.5) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-memoffset" ,rust-memoffset-0.7) - ("rust-pkg-config" ,rust-pkg-config-0.3)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'patch-libraries - (lambda* (#:key inputs #:allow-other-keys) - (let ((libwayland (dirname (search-input-file - inputs "lib/libwayland-client.so")))) - (substitute* (find-files "src" "\\.rs$") - (("libwayland.*\\.so" shared-lib) - (string-append libwayland "/" shared-lib))))))))))) - -(define-public rust-wayland-sys-0.29 - (package - (inherit rust-wayland-sys-0.30) - (name "rust-wayland-sys") - (version "0.29.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1m79qqmr1hx7jlyrvnrxjma5s6dk5js9fjsr4nx7vv1r7hdcw4my")))) - (arguments - `(#:cargo-inputs - (("rust-dlib" ,rust-dlib-0.5) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-memoffset" ,rust-memoffset-0.6) - ("rust-pkg-config" ,rust-pkg-config-0.3)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'patch-libraries - (lambda* (#:key inputs #:allow-other-keys) - (let ((libwayland (dirname (search-input-file - inputs "lib/libwayland-client.so")))) - (substitute* (find-files "src" "\\.rs$") - (("libwayland.*\\.so" shared-lib) - (string-append libwayland "/" shared-lib))))))))) - (inputs (list wayland)))) - -(define-public rust-wayland-sys-0.28 - (package - (inherit rust-wayland-sys-0.29) - (name "rust-wayland-sys") - (version "0.28.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1f7yy3c6h270xd4wk2nsrr9433gmkg29d5rfxndvzznpmslzqhfq")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-dlib" ,rust-dlib-0.5) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-memoffset" ,rust-memoffset-0.6) - ("rust-pkg-config" ,rust-pkg-config-0.3)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'patch-libraries - (lambda* (#:key inputs #:allow-other-keys) - (let ((libwayland (assoc-ref inputs "wayland"))) - (substitute* (find-files "src" "\\.rs$") - (("libwayland.*\\.so" shared-lib) - (string-append libwayland "/lib/" shared-lib))))))))) - (inputs (list wayland)))) - -(define-public rust-wayland-sys-0.23 - (package - (inherit rust-wayland-sys-0.28) - (name "rust-wayland-sys") - (version "0.23.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1x2qafvj8hd2x5qfaan2dfpw9amg0f5g9sqrkdy7qvbddsl8jknr")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-dlib" ,rust-dlib-0.4) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2)))))) - -(define-public rust-wayland-sys-0.21 - (package - (inherit rust-wayland-sys-0.23) - (name "rust-wayland-sys") - (version "0.21.13") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayland-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0a0ndgkg98pvmkv44yya4f7mxzjaxylknqh64bpa05w0azyv02jj")))))) - -(define-public rust-wayrs-client-1 - (package - (name "rust-wayrs-client") - (version "1.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayrs-client" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "017pw6p6wzqr41kc4z18npkirwjb9f8vavhsmjnn5sziy9kkky05")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-tokio" ,rust-tokio-1) - ("rust-wayrs-core" ,rust-wayrs-core-1) - ("rust-wayrs-scanner" ,rust-wayrs-scanner-0.15)))) - (home-page "https://github.com/MaxVerevkin/wayrs") - (synopsis "Wayland client library") - (description "This package provides a wayland client library.") - (license license:expat))) - -(define-public rust-wayrs-core-1 - (package - (name "rust-wayrs-core") - (version "1.0.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayrs-core" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1jf5gf60rmwky1q8g09adkl6gm8wssixnhm8vc2p1b2ksh6y78mn")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)))) - (home-page "https://github.com/MaxVerevkin/wayrs") - (synopsis "Core Wayland types for wayrs") - (description "This package provides the core Wayland types for wayrs.") - (license license:expat))) - -(define-public rust-wayrs-proto-parser-3 - (package - (name "rust-wayrs-proto-parser") - (version "3.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayrs-proto-parser" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "08hrcl0mz9v1pkl47zf7hpsn3ww83kh293xvsdfpl086pdz5gx1c")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-quick-xml" ,rust-quick-xml-0.37)))) - (home-page "https://github.com/MaxVerevkin/wayrs") - (synopsis "Parser for wayland protocol xml files") - (description "This package provides a parser for wayland protocol -xml files.") - (license license:expat))) - -(define-public rust-wayrs-protocols-0.13 - (package - (name "rust-wayrs-protocols") - (version "0.13.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayrs-protocols" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0ivs29fw27rcq7ahwy7c3zrx041fcal9cklyzg4wpri2npp64xdk")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-wayrs-client" ,rust-wayrs-client-1)))) - (home-page "https://github.com/MaxVerevkin/wayrs") - (synopsis "Collection of Wayland protocols to use with wayrs-client") - (description - "This package provides a collection of Wayland protocols to use -with wayrs-client.") - (license license:expat))) - -(define-public rust-wayrs-scanner-0.15 - (package - (name "rust-wayrs-scanner") - (version "0.15.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "wayrs-scanner" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0a4d6szwgj6shm674n550b6nlf7va6z46i7idb5cpmx8c32zgchn")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-wayrs-proto-parser" ,rust-wayrs-proto-parser-3)))) - (home-page "https://github.com/MaxVerevkin/wayrs") - (synopsis "Generates code for wayrs-client from xml files") - (description "This package provides code generation for wayrs-client -from xml files.") - (license license:expat))) - -(define-public rust-webp-0.3 - (package - (name "rust-webp") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "webp" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "169dihaimcr3ih3fqg8z3n47aqd9rhb3vhw4hk0g0npva4pialwg")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Test fails to find all webp functions. - #:cargo-inputs (("rust-image" ,rust-image-0.25) - ("rust-libwebp-sys" ,rust-libwebp-sys-0.9)) - #:cargo-development-inputs (("rust-image" ,rust-image-0.25)))) - (inputs (list libwebp)) - (home-page "https://github.com/jaredforth/webp") - (synopsis "WebP conversion library") - (description "This package provides a @code{WebP} conversion library.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-webp-0.2 - (package - (inherit rust-webp-0.3) - (name "rust-webp") - (version "0.2.6") - (source (origin - (method url-fetch) - (uri (crate-uri "webp" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0wdspssyvra9zkcsyba52xnfy2r97pj3qxqw1rxjk4jfh7kxidab")))) - (arguments - `(#:tests? #f ; Test fails to find all webp functions. - #:cargo-inputs - (("rust-image" ,rust-image-0.24) - ("rust-libwebp-sys" ,rust-libwebp-sys-0.9)) - #:cargo-development-inputs - (("rust-image" ,rust-image-0.24)))))) - -(define-public rust-winit-0.30 - (package - (name "rust-winit") - (version "0.30.9") - (source - (origin - (method url-fetch) - (uri (crate-uri "winit" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1h1wmvhfcq2lg6c6715d7pgnv85508zm94ahcfvaiv68337yl2d8")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-ahash" ,rust-ahash-0.8) - ("rust-android-activity" ,rust-android-activity-0.6) - ("rust-atomic-waker" ,rust-atomic-waker-1) - ("rust-bitflags" ,rust-bitflags-2) - ("rust-block2" ,rust-block2-0.5) - ("rust-bytemuck" ,rust-bytemuck-1) - ("rust-calloop" ,rust-calloop-0.13) - ("rust-cfg-aliases" ,rust-cfg-aliases-0.2) - ("rust-concurrent-queue" ,rust-concurrent-queue-2) - ("rust-core-foundation" ,rust-core-foundation-0.9) - ("rust-core-graphics" ,rust-core-graphics-0.23) - ("rust-cursor-icon" ,rust-cursor-icon-1) - ("rust-dpi" ,rust-dpi-0.1) - ("rust-js-sys" ,rust-js-sys-0.3) - ("rust-libc" ,rust-libc-0.2) - ("rust-memmap2" ,rust-memmap2-0.9) - ("rust-ndk" ,rust-ndk-0.9) - ("rust-objc2" ,rust-objc2-0.5) - ("rust-objc2-app-kit" ,rust-objc2-app-kit-0.2) - ("rust-objc2-foundation" ,rust-objc2-foundation-0.2) - ("rust-objc2-ui-kit" ,rust-objc2-ui-kit-0.2) - ("rust-orbclient" ,rust-orbclient-0.3) - ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-pin-project" ,rust-pin-project-1) - ("rust-raw-window-handle" ,rust-raw-window-handle-0.6) - ("rust-raw-window-handle" ,rust-raw-window-handle-0.5) - ("rust-raw-window-handle" ,rust-raw-window-handle-0.4) - ("rust-redox-syscall" ,rust-redox-syscall-0.4) - ("rust-rustix" ,rust-rustix-0.38) - ("rust-sctk-adwaita" ,rust-sctk-adwaita-0.10) - ("rust-serde" ,rust-serde-1) - ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.19) - ("rust-smol-str" ,rust-smol-str-0.2) - ("rust-tracing" ,rust-tracing-0.1) - ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) - ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) - ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4) - ("rust-wayland-backend" ,rust-wayland-backend-0.3) - ("rust-wayland-client" ,rust-wayland-client-0.31) - ("rust-wayland-protocols" ,rust-wayland-protocols-0.32) - ("rust-wayland-protocols-plasma" ,rust-wayland-protocols-plasma-0.3) - ("rust-web-sys" ,rust-web-sys-0.3) - ("rust-web-time" ,rust-web-time-1) - ("rust-windows-sys" ,rust-windows-sys-0.52) - ("rust-x11-dl" ,rust-x11-dl-2) - ("rust-x11rb" ,rust-x11rb-0.13) - ("rust-xkbcommon-dl" ,rust-xkbcommon-dl-0.4)) - #:cargo-development-inputs - (("rust-console-error-panic-hook" ,rust-console-error-panic-hook-0.1) - ("rust-image" ,rust-image-0.25) - ("rust-softbuffer" ,rust-softbuffer-0.4) - ("rust-tracing" ,rust-tracing-0.1) - ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3) - ("rust-tracing-web" ,rust-tracing-web-0.1)))) - (home-page "https://github.com/rust-windowing/winit") - (synopsis "Window creation library") - (description - "Winit is a window creation and management library. It can create -windows and lets you handle events (for example: the window being resized, a -key being pressed, a mouse movement, etc.) produced by window. - -Winit is designed to be a low-level brick in a hierarchy of libraries. -Consequently, in order to show something on the window you need to use the -platform-specific getters provided by winit, or another library.") - (license license:asl2.0))) - -(define-public rust-winit-0.29 - (package - (inherit rust-winit-0.30) - (name "rust-winit") - (version "0.29.15") - (source - (origin - (method url-fetch) - (uri (crate-uri "winit" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1jp5j96hcr6xif7asgck522791fqmlmhd3wwy3x5fmk3babasn8d")))) - (arguments - `(#:cargo-inputs - (("rust-ahash" ,rust-ahash-0.8) - ("rust-android-activity" ,rust-android-activity-0.5) - ("rust-atomic-waker" ,rust-atomic-waker-1) - ("rust-bitflags" ,rust-bitflags-2) - ("rust-bytemuck" ,rust-bytemuck-1) - ("rust-calloop" ,rust-calloop-0.12) - ("rust-cfg-aliases" ,rust-cfg-aliases-0.1) - ("rust-core-foundation" ,rust-core-foundation-0.9) - ("rust-core-graphics" ,rust-core-graphics-0.23) - ("rust-cursor-icon" ,rust-cursor-icon-1) - ("rust-icrate" ,rust-icrate-0.0.4) - ("rust-js-sys" ,rust-js-sys-0.3) - ("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-memmap2" ,rust-memmap2-0.9) - ("rust-mint" ,rust-mint-0.5) - ("rust-ndk" ,rust-ndk-0.8) - ("rust-ndk-sys" ,rust-ndk-sys-0.5) - ("rust-objc2" ,rust-objc2-0.4) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-orbclient" ,rust-orbclient-0.3) - ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-raw-window-handle" ,rust-raw-window-handle-0.6) - ("rust-raw-window-handle" ,rust-raw-window-handle-0.5) - ("rust-raw-window-handle" ,rust-raw-window-handle-0.4) - ("rust-redox-syscall" ,rust-redox-syscall-0.3) - ("rust-rustix" ,rust-rustix-0.38) - ("rust-sctk-adwaita" ,rust-sctk-adwaita-0.8) - ("rust-serde" ,rust-serde-1) - ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.18) - ("rust-smol-str" ,rust-smol-str-0.2) - ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) - ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) - ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4) - ("rust-wayland-backend" ,rust-wayland-backend-0.3) - ("rust-wayland-client" ,rust-wayland-client-0.31) - ("rust-wayland-protocols" ,rust-wayland-protocols-0.31) - ("rust-wayland-protocols-plasma" ,rust-wayland-protocols-plasma-0.2) - ("rust-web-sys" ,rust-web-sys-0.3) - ("rust-web-time" ,rust-web-time-0.2) - ("rust-windows-sys" ,rust-windows-sys-0.48) - ("rust-x11-dl" ,rust-x11-dl-2) - ("rust-x11rb" ,rust-x11rb-0.13) - ("rust-xkbcommon-dl" ,rust-xkbcommon-dl-0.4)) - #:cargo-development-inputs - (("rust-console-log" ,rust-console-log-1) - ("rust-image" ,rust-image-0.24) - ("rust-simple-logger" ,rust-simple-logger-4) - ("rust-softbuffer" ,rust-softbuffer-0.3) - ("rust-web-sys" ,rust-web-sys-0.3)))))) - -(define-public rust-winit-0.28 - (package - (inherit rust-winit-0.29) - (name "rust-winit") - (version "0.28.7") - (source - (origin - (method url-fetch) - (uri (crate-uri "winit" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "152bi6lrmnasg6dnsdjqgnzyis3n90i09cja720m4krq8l5xk5lm")))) - (arguments - `(#:cargo-inputs - (("rust-android-activity" ,rust-android-activity-0.4) - ("rust-bitflags" ,rust-bitflags-1) - ("rust-cfg-aliases" ,rust-cfg-aliases-0.1) - ("rust-core-foundation" ,rust-core-foundation-0.9) - ("rust-core-graphics" ,rust-core-graphics-0.22) - ("rust-dispatch" ,rust-dispatch-0.2) - ("rust-instant" ,rust-instant-0.1) - ("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-mint" ,rust-mint-0.5) - ("rust-mio" ,rust-mio-0.8) - ("rust-ndk" ,rust-ndk-0.7) - ("rust-objc2" ,rust-objc2-0.3) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-orbclient" ,rust-orbclient-0.3) - ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-raw-window-handle" ,rust-raw-window-handle-0.5) - ("rust-redox-syscall" ,rust-redox-syscall-0.3) - ("rust-sctk-adwaita" ,rust-sctk-adwaita-0.5) - ("rust-serde" ,rust-serde-1) - ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.16) - ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) - ("rust-wayland-client" ,rust-wayland-client-0.29) - ("rust-wayland-commons" ,rust-wayland-commons-0.29) - ("rust-wayland-protocols" ,rust-wayland-protocols-0.29) - ("rust-wayland-scanner" ,rust-wayland-scanner-0.29) - ("rust-web-sys" ,rust-web-sys-0.3) - ("rust-windows-sys" ,rust-windows-sys-0.45) - ("rust-x11-dl" ,rust-x11-dl-2)) - #:cargo-development-inputs - (("rust-console-log" ,rust-console-log-0.2) - ("rust-image" ,rust-image-0.24) - ("rust-simple-logger" ,rust-simple-logger-2) - ("rust-web-sys" ,rust-web-sys-0.3)))))) - -(define-public rust-winit-0.27 - (package - (inherit rust-winit-0.28) - (name "rust-winit") - (version "0.27.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "winit" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0z35jymza04gjniq0mmydq3m1mrr9pqfcwcldj4zvcl6pmpnsydv")))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-cocoa" ,rust-cocoa-0.24) - ("rust-core-foundation" ,rust-core-foundation-0.9) - ("rust-core-graphics" ,rust-core-graphics-0.22) - ("rust-dispatch" ,rust-dispatch-0.2) - ("rust-instant" ,rust-instant-0.1) - ("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-mint" ,rust-mint-0.5) - ("rust-mio" ,rust-mio-0.8) - ("rust-ndk" ,rust-ndk-0.7) - ("rust-ndk-glue" ,rust-ndk-glue-0.7) - ("rust-objc" ,rust-objc-0.2) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-parking-lot" ,rust-parking-lot-0.12) - ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-raw-window-handle" ,rust-raw-window-handle-0.4) - ("rust-raw-window-handle" ,rust-raw-window-handle-0.5) - ("rust-sctk-adwaita" ,rust-sctk-adwaita-0.4) - ("rust-serde" ,rust-serde-1) - ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.16) - ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) - ("rust-wayland-client" ,rust-wayland-client-0.29) - ("rust-wayland-protocols" ,rust-wayland-protocols-0.29) - ("rust-web-sys" ,rust-web-sys-0.3) - ("rust-windows-sys" ,rust-windows-sys-0.36) - ("rust-x11-dl" ,rust-x11-dl-2)) - #:cargo-development-inputs (("rust-console-log" ,rust-console-log-0.2) - ("rust-image" ,rust-image-0.24) - ("rust-simple-logger" ,rust-simple-logger-2)))) - (native-inputs (list pkg-config)) - (inputs (list expat fontconfig freetype)))) - -(define-public rust-winit-0.26 - (package - (inherit rust-winit-0.28) - (name "rust-winit") - (version "0.26.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "winit" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0fp7cdh7llbqmm6ga8f6bzk9785jmkbyy1w631hr9faq3n9wqhwv")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-cocoa" ,rust-cocoa-0.24) - ("rust-core-foundation" ,rust-core-foundation-0.9) - ("rust-core-graphics" ,rust-core-graphics-0.22) - ("rust-core-video-sys" ,rust-core-video-sys-0.1) - ("rust-dispatch" ,rust-dispatch-0.2) - ("rust-instant" ,rust-instant-0.1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-mint" ,rust-mint-0.5) - ("rust-mio" ,rust-mio-0.8) - ("rust-ndk" ,rust-ndk-0.5) - ("rust-ndk-glue" ,rust-ndk-glue-0.5) - ("rust-ndk-sys" ,rust-ndk-sys-0.2) - ("rust-objc" ,rust-objc-0.2) - ("rust-parking-lot" ,rust-parking-lot-0.11) - ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-raw-window-handle" ,rust-raw-window-handle-0.4) - ("rust-serde" ,rust-serde-1) - ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.15) - ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) - ("rust-web-sys" ,rust-web-sys-0.3) - ("rust-winapi" ,rust-winapi-0.3) - ("rust-x11-dl" ,rust-x11-dl-2)) - #:cargo-development-inputs - (("rust-console-log" ,rust-console-log-0.2) - ("rust-simple-logger" ,rust-simple-logger-1)))))) - -(define-public rust-winit-0.24 - (package - (inherit rust-winit-0.26) - (name "rust-winit") - (version "0.24.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "winit" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "15zmpx5ip6ziqhds7md1s0ri0blhxfa8fg1ylg84pf0frrpxlkns")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-cocoa" ,rust-cocoa-0.24) - ("rust-core-foundation" ,rust-core-foundation-0.9) - ("rust-core-graphics" ,rust-core-graphics-0.22) - ("rust-core-video-sys" ,rust-core-video-sys-0.1) - ("rust-dispatch" ,rust-dispatch-0.2) - ("rust-instant" ,rust-instant-0.1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-mio" ,rust-mio-0.6) - ("rust-mio-extras" ,rust-mio-extras-2) - ("rust-ndk" ,rust-ndk-0.2) - ("rust-ndk-glue" ,rust-ndk-glue-0.2) - ("rust-ndk-sys" ,rust-ndk-sys-0.2) - ("rust-objc" ,rust-objc-0.2) - ("rust-parking-lot" ,rust-parking-lot-0.11) - ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-raw-window-handle" ,rust-raw-window-handle-0.3) - ("rust-serde" ,rust-serde-1) - ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.12) - ("rust-stdweb" ,rust-stdweb-0.4) - ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) - ("rust-web-sys" ,rust-web-sys-0.3) - ("rust-winapi" ,rust-winapi-0.3) - ("rust-x11-dl" ,rust-x11-dl-2)) - #:cargo-development-inputs - (("rust-console-log" ,rust-console-log-0.2) - ("rust-simple-logger" ,rust-simple-logger-1)))))) - -(define-public rust-winit-0.19 - (package - (inherit rust-winit-0.24) - (name "rust-winit") - (version "0.19.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "winit" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1a4lnfyvlc4jabhs30wlmkgdjv7qhbplmyp833kl7ykjni5yp5hy")))) - (arguments - `(#:cargo-inputs - (("rust-android-glue" ,rust-android-glue-0.2) - ("rust-backtrace" ,rust-backtrace-0.3) - ("rust-bitflags" ,rust-bitflags-1) - ("rust-cocoa" ,rust-cocoa-0.18) - ("rust-core-foundation" ,rust-core-foundation-0.6) - ("rust-core-graphics" ,rust-core-graphics-0.17) - ("rust-image" ,rust-image-0.21) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-objc" ,rust-objc-0.2) - ("rust-parking-lot" ,rust-parking-lot-0.9) - ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-raw-window-handle" ,rust-raw-window-handle-0.3) - ("rust-serde" ,rust-serde-1) - ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.4) - ("rust-wayland-client" ,rust-wayland-client-0.21) - ("rust-winapi" ,rust-winapi-0.3) - ("rust-x11-dl" ,rust-x11-dl-2)))))) - -(define-public rust-winit-test-0.1 - (package - (name "rust-winit-test") - (version "0.1.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "winit-test" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1czdg3zvwazng2gwlda1nb26hklk1qizz84h97bk9mv2jf52yjx3")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-owo-colors" ,rust-owo-colors-3) - ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3) - ("rust-web-time" ,rust-web-time-0.2) - ("rust-winit" ,rust-winit-0.28)) - #:cargo-development-inputs (("rust-winit" ,rust-winit-0.28)) - #:phases - (modify-phases %standard-phases - (add-after 'configure 'add-absolute-library-references - (lambda* (#:key inputs vendor-dir #:allow-other-keys) - (substitute* (find-files vendor-dir "\\.rs$") - (("libX11\\.so") - (search-input-file inputs "lib/libX11.so")) - (("libX11-xcb\\.so") - (search-input-file inputs "lib/libX11-xcb.so")) - ;; Lots of libraries from rust-x11-dl and others. - (("libX[[:alpha:]]*\\.so" all) - (search-input-file inputs (string-append "lib/" all)))))) - (add-before 'check 'pre-check - (lambda* (#:key native-inputs inputs #:allow-other-keys) - ;; Tests do not expect XDG_RUNTIME_DIR to be empty. - (setenv "XDG_RUNTIME_DIR" "/tmp") - - ;; Most tests require an X server. - (let ((xvfb (search-input-file (or native-inputs inputs) - "bin/Xvfb")) - (display ":1")) - (setenv "DISPLAY" display) - (system (string-append xvfb " " display " &")))))))) - (inputs (list libx11 - libxcursor - libxext - libxft - libxi - libxinerama - libxmu - libxpresent - libxrandr - libxscrnsaver - libxt - libxtst)) - (native-inputs (list xorg-server-for-tests)) - (home-page "https://github.com/notgull/winit-test") - (synopsis "Run tests using the winit event loop") - (description "Run tests using the winit event loop.") - (license (list license:expat license:asl2.0 license:zlib)))) - -(define-public rust-x11-2 - (package - (name "rust-x11") - (version "2.21.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "x11" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0bnvl09d7044k067gqdx1ln2r0ljp5f4675icwb0216d9i3aabah")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-pkg-config" ,rust-pkg-config-0.3)))) - (propagated-inputs - (list mesa)) - (home-page "https://github.com/erlepereira/x11-rs") - (synopsis "X11 library bindings for Rust") - (description "This crate provides X11 library bindings for Rust.") - (license license:expat))) - -(define-public rust-x11-clipboard-0.9 - (package - (name "rust-x11-clipboard") - (version "0.9.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "x11-clipboard" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "18rmsm0lrcc4hy2wqs7gn90czv59sv5bj07bbf76nfbysyrp8bb6")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-test-flags '("--release" "--" - "--skip=tests::should_work_but_does_not") - #:cargo-inputs (("rust-libc" ,rust-libc-0.2) - ("rust-x11rb" ,rust-x11rb-0.13)) - #:phases - (modify-phases %standard-phases - (add-before 'check 'pre-check - (lambda* (#:key native-inputs inputs #:allow-other-keys) - ;; Most tests require an X server. - (let ((xvfb (search-input-file (or native-inputs inputs) - "bin/Xvfb")) - (display ":1")) - (setenv "DISPLAY" display) - (system (string-append xvfb " " display " &")))))))) - (native-inputs (list xorg-server-for-tests)) - (home-page "https://github.com/quininer/x11-clipboard") - (synopsis "X11 clipboard support for Rust") - (description "This package provides x11 clipboard support for Rust.") - (license license:expat))) - -(define-public rust-x11-clipboard-0.8 - (package - (inherit rust-x11-clipboard-0.9) - (name "rust-x11-clipboard") - (version "0.8.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "x11-clipboard" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1ps0fk1912vzy382fc8l926q8w1l8bxmw72l3kr9bwdi2l8wl6ml")))) - (arguments - `(#:cargo-inputs (("rust-x11rb" ,rust-x11rb-0.12)) - #:phases - (modify-phases %standard-phases - (add-before 'check 'pre-check - (lambda* (#:key native-inputs inputs #:allow-other-keys) - ;; Most tests require an X server. - (let ((xvfb (search-input-file (or native-inputs inputs) - "bin/Xvfb")) - (display ":1")) - (setenv "DISPLAY" display) - (system (string-append xvfb " " display " &")))))))))) - -(define-public rust-x11-clipboard-0.7 - (package - (inherit rust-x11-clipboard-0.8) - (name "rust-x11-clipboard") - (version "0.7.1") - (source (origin - (method url-fetch) - (uri (crate-uri "x11-clipboard" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0r3lgslbbdf0mb914n0f9q2pqci407r1pcddwbl7sfvc4alrl2wq")))) - (arguments - `(#:tests? #f ; Wants a running X server. - #:cargo-inputs (("rust-x11rb" ,rust-x11rb-0.10)))))) - -(define-public rust-x11-clipboard-0.3 - (package - (inherit rust-x11-clipboard-0.8) - (name "rust-x11-clipboard") - (version "0.3.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "x11-clipboard" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1smwyr23jns0dncm6bwv00xfxxy99bv6qlx6df7dkdcydk04kgc9")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-xcb" ,rust-xcb-0.8)) - #:phases - (modify-phases %standard-phases - (add-before 'check 'pre-check - (lambda* (#:key native-inputs inputs #:allow-other-keys) - ;; Most tests require an X server. - (let ((xvfb (search-input-file (or native-inputs inputs) - "bin/Xvfb")) - (display ":1")) - (setenv "DISPLAY" display) - (system (string-append xvfb " " display " &")))))))) - (native-inputs (list python xorg-server-for-tests pkg-config)) - (inputs (list libx11 libxcb)) - (home-page "https://github.com/quininer/x11-clipboard") - (synopsis "X11 clipboard support for Rust") - (description "This package provides X11 clipboard support for Rust.") - (license license:expat))) - -(define-public rust-x11-dl-2 - (package - (name "rust-x11-dl") - (version "2.21.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "x11-dl" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0vsiq62xpcfm0kn9zjw5c9iycvccxl22jya8wnk18lyxzqj5jwrq")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-pkg-config" ,rust-pkg-config-0.3)))) - (home-page "https://github.com/erlepereira/x11-rs.git") - (synopsis "X11 library bindings for Rust") - (description "This package provides X11 library bindings for Rust.") - (license license:expat))) - -(define-public rust-x11rb-0.13 - (package - (name "rust-x11rb") - (version "0.13.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "x11rb" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "04jyfm0xmc538v09pzsyr2w801yadsgvyl2p0p76hzzffg5gz4ax")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-as-raw-xcb-connection" ,rust-as-raw-xcb-connection-1) - ("rust-gethostname" ,rust-gethostname-0.4) - ("rust-libc" ,rust-libc-0.2) - ("rust-libloading" ,rust-libloading-0.8) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-rustix" ,rust-rustix-0.38) - ("rust-tracing" ,rust-tracing-0.1) - ("rust-x11rb-protocol" ,rust-x11rb-protocol-0.13)) - #:cargo-development-inputs - (("rust-gethostname" ,rust-gethostname-0.4) - ("rust-polling" ,rust-polling-3) - ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) - (home-page "https://github.com/psychon/x11rb") - (synopsis "Rust bindings to X11") - (description "This package provides Rust bindings to X11.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-x11rb-0.12 - (package - (inherit rust-x11rb-0.13) - (name "rust-x11rb") - (version "0.12.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "x11rb" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "02h492k920mb1733cdmly138zfiwkspil6ssqcvi7inyshk1nr5i")))) - (arguments - `(#:cargo-inputs (("rust-as-raw-xcb-connection" ,rust-as-raw-xcb-connection-1) - ("rust-gethostname" ,rust-gethostname-0.3) - ("rust-libc" ,rust-libc-0.2) - ("rust-libloading" ,rust-libloading-0.7) - ("rust-nix" ,rust-nix-0.26) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-tracing" ,rust-tracing-0.1) - ("rust-winapi" ,rust-winapi-0.3) - ("rust-winapi-wsapoll" ,rust-winapi-wsapoll-0.1) - ("rust-x11rb-protocol" ,rust-x11rb-protocol-0.12)) - #:cargo-development-inputs - (("rust-polling" ,rust-polling-2) - ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))))) - -(define-public rust-x11rb-0.11 - (package - (inherit rust-x11rb-0.13) - (name "rust-x11rb") - (version "0.11.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "x11rb" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "05wn86brwm1cd8xgrbs9s1fy71asav8qlsrnlzkvm4fx2aacgwyd")))) - (arguments - `(#:cargo-inputs (("rust-gethostname" ,rust-gethostname-0.2) - ("rust-libc" ,rust-libc-0.2) - ("rust-libloading" ,rust-libloading-0.7) - ("rust-nix" ,rust-nix-0.25) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-winapi" ,rust-winapi-0.3) - ("rust-winapi-wsapoll" ,rust-winapi-wsapoll-0.1) - ("rust-x11rb-protocol" ,rust-x11rb-protocol-0.11)))))) - -(define-public rust-x11rb-0.10 - (package - (inherit rust-x11rb-0.13) - (name "rust-x11rb") - (version "0.10.1") - (source (origin - (method url-fetch) - (uri (crate-uri "x11rb" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "01ympxagdl0qs35k1ww712shpnpbahkcc29j5dqmwd4z461lhasr")))) - (arguments - `(#:cargo-inputs - (("rust-gethostname" ,rust-gethostname-0.2) - ("rust-libc" ,rust-libc-0.2) - ("rust-libloading" ,rust-libloading-0.7) - ("rust-nix" ,rust-nix-0.24) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-winapi" ,rust-winapi-0.3) - ("rust-winapi-wsapoll" ,rust-winapi-wsapoll-0.1) - ("rust-x11rb-protocol" ,rust-x11rb-protocol-0.10)))))) - -(define-public rust-x11rb-protocol-0.13 - (package - (name "rust-x11rb-protocol") - (version "0.13.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "x11rb-protocol" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0gfbxf2k7kbk577j3rjhfx7hm70kmwln6da7xyc4l2za0d2pq47c")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5)))) - (home-page "https://github.com/psychon/x11rb") - (synopsis "Rust bindings to X11") - (description "Rust bindings to X11.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-x11rb-protocol-0.12 - (package - (inherit rust-x11rb-protocol-0.13) - (name "rust-x11rb-protocol") - (version "0.12.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "x11rb-protocol" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1g24qdvq0mbyl2npz7zqy5v6hpdxq2qakkpnp3x02rzvl3ww7ml2")))) - (arguments - `(#:cargo-inputs (("rust-nix" ,rust-nix-0.26) - ("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4)))))) - -(define-public rust-x11rb-protocol-0.11 - (package - (inherit rust-x11rb-protocol-0.13) - (name "rust-x11rb-protocol") - (version "0.11.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "x11rb-protocol" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0mlwsfb4w8dic0hf0qdxix81f7w07z9v2nsdwly0f8qi2hxm3cg0")))) - (arguments - `(#:cargo-inputs (("rust-nix" ,rust-nix-0.25) - ("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)))))) - -(define-public rust-x11rb-protocol-0.10 - (package - (inherit rust-x11rb-protocol-0.13) - (name "rust-x11rb-protocol") - (version "0.10.0") - (source (origin - (method url-fetch) - (uri (crate-uri "x11rb-protocol" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0rxcpsmgrziwqy9ml81h8r1lwy422h1i5j3d007dpj8a3islbcjn")))) - (arguments - `(#:cargo-inputs - (("rust-nix" ,rust-nix-0.24) - ("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3)))))) - -(define-public rust-xkb-0.3 - (package - (name "rust-xkb") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "xkb" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "03rfx8n3pajc95riksnshh3aqm8dqij2iis5icl88pa6ylk9x0gj")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-xcb" ,rust-xcb-1) - ("rust-xkbcommon-sys" ,rust-xkbcommon-sys-1)))) - (native-inputs - (list pkg-config)) - (inputs - (list clang libxkbcommon-1.5 mesa)) - (home-page "https://github.com/meh/rust-xkb") - (synopsis "Rusty wrapper around libxkbcommon") - (description "This package provides Rusty wrapper around libxkbcommon.") - (license license:wtfpl2))) - -(define-public rust-xkbcommon-0.7 - (package - (name "rust-xkbcommon") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "xkbcommon" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "07n9shhcls66wjvmk5pzqql46ipfdv7b8hbc384wgv9hk4jpv1hk")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-as-raw-xcb-connection" ,rust-as-raw-xcb-connection-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-memmap2" ,rust-memmap2-0.8) - ("rust-xkeysym" ,rust-xkeysym-0.2)) - #:cargo-development-inputs (("rust-evdev" ,rust-evdev-0.11)))) - (inputs (list libxkbcommon)) - (home-page "https://github.com/rust-x-bindings/xkbcommon-rs") - (synopsis "Rust bindings and wrappers for libxkbcommon") - (description "This package provides a set of bindings and safe wrappers -for @code{libxkbcommon}.") - (license license:expat))) - -(define-public rust-xkbcommon-dl-0.4 - (package - (name "rust-xkbcommon-dl") - (version "0.4.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "xkbcommon-dl" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1iai0r3b5skd9vbr8z5b0qixiz8jblzfm778ddm8ba596a0dwffh")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) - ("rust-dlib" ,rust-dlib-0.5) - ("rust-log" ,rust-log-0.4) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-xkeysym" ,rust-xkeysym-0.2)) - #:phases - (modify-phases %standard-phases - (add-after 'configure 'add-absolute-library-references - (lambda* (#:key inputs vendor-dir #:allow-other-keys) - (substitute* (find-files vendor-dir "\\.rs$") - (("libxkbcommon-x11\\.so") - (search-input-file inputs "lib/libxkbcommon-x11.so")) - (("libxkbcommon\\.so") - (search-input-file inputs "lib/libxkbcommon.so")))))))) - (inputs - (list libxkbcommon)) - (home-page "https://github.com/rust-windowing/xkbcommon-dl") - (synopsis "Dynamically loaded xkbcommon and xkbcommon-x11 Rust bindings") - (description - "Dynamically loaded xkbcommon and xkbcommon-x11 Rust bindings.") - (license license:expat))) - -(define-public rust-xkbcommon-sys-1 - (package - (name "rust-xkbcommon-sys") - (version "1.4.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "xkbcommon-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "142ww452qq0q47fmc4khzsd0fbwmb71fjl7pci573zf83fvdpxsn")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.63) - ("rust-libc" ,rust-libc-0.2) - ("rust-pkg-config" ,rust-pkg-config-0.3)) - #:phases - (modify-phases %standard-phases - (add-after 'configure 'add-absolute-library-references - (lambda* (#:key inputs #:allow-other-keys) - (setenv "XKBCOMMON_LIB_DIR" - (assoc-ref inputs "libxkbcommon"))))))) - (native-inputs (list pkg-config)) - (inputs (list clang libxkbcommon-1.5)) - (home-page "https://github.com/meh/rust-xkbcommon-sys") - (synopsis "Bindings to libxkbcommon") - (description "This package provides bindings to libxkbcommon.") - (license license:wtfpl2))) - -(define-public rust-xkeysym-0.2 - (package - (name "rust-xkeysym") - (version "0.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "xkeysym" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0mksx670cszyd7jln6s7dhkw11hdfv7blwwr3isq98k22ljh1k5r")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-bytemuck" ,rust-bytemuck-1) - ("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs (("rust-bytemuck" ,rust-bytemuck-1) - ("rust-x11rb" ,rust-x11rb-0.12)))) - (home-page "https://github.com/notgull/xkeysym") - (synopsis "Rust library for working with X11 keysyms") - (description - "This package provides a library for working with X11 keysyms.") - (license (list license:expat license:asl2.0 license:zlib)))) - -(define-public rust-y4m-0.8 - (package - (name "rust-y4m") - (version "0.8.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "y4m" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0j24y2zf60lpxwd7kyg737hqfyqx16y32s0fjyi6fax6w4hlnnks")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-development-inputs (("rust-resize" ,rust-resize-0.4)))) - (home-page "https://github.com/image-rs/y4m") - (synopsis "YUV4MPEG2 (@file{.y4m}) encoder and decoder") - (description - "This package provides a YUV4MPEG2 (@file{.y4m}) encoder and decoder.") - (license license:expat))) - -;;; -;;; Avoid adding new packages to the end of this file. To reduce the chances -;;; of a merge conflict, place them above by existing packages with similar -;;; functionality or similar names. -;;; |