;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2020, 2021 Efraim Flashner ;;; Copyright © 2020 Nicolas Goaziou ;;; ;;; 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 . (define-module (gnu packages crates-gtk) #:use-module (guix build-system cargo) #:use-module (guix download) #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (gnu packages) #:use-module (gnu packages aspell) #:use-module (gnu packages crates-io) #:use-module (gnu packages crates-graphics) #:use-module (gnu packages glib) #:use-module (gnu packages gstreamer) #:use-module (gnu packages gtk) #:use-module (gnu packages pkg-config) #:use-module (gnu packages xorg)) ;;; ;;; Please: Try to add new module packages in alphabetic order. ;;; (define-public rust-atk-sys-0.10 (package (name "rust-atk-sys") (version "0.10.0") (source (origin (method url-fetch) (uri (crate-uri "atk-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1knzvq2jdkx1nav619jbqsx2ivzh901rsp2wl57wr50x2fpy8c7m")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.10) ("rust-gobject-sys" ,rust-gobject-sys-0.10) ("rust-libc" ,rust-libc-0.2) ("rust-system-deps" ,rust-system-deps-1)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)) #:phases (modify-phases %standard-phases (add-after 'configure 'fix-version-requirements (lambda* (#:key inputs vendor-dir #:allow-other-keys) (substitute* (map (lambda (dir) (string-append dir "/Cargo.toml")) (find-files vendor-dir "system-deps.*" #:directories? #t)) (("0.0.10") ,(package-version rust-version-compare-0.0))) #t))))) (native-inputs `(("pkg-config" ,pkg-config))) (inputs `(("atk" ,atk) ("glib" ,glib))) (home-page "http://gtk-rs.org/") (synopsis "FFI bindings to libatk-1") (description "FFI bindings to libatk-1") (license license:expat))) (define-public rust-atk-sys-0.9 (package (name "rust-atk-sys") (version "0.9.1") (source (origin (method url-fetch) (uri (crate-uri "atk-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0vzcm1inhax78bcsbapr6mrp4z7lk783csyh200wi91pcxvw2lp5")))) (build-system cargo-build-system) (arguments `(#:tests? #f ;missing files #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-libc" ,rust-libc-0.2) ("rust-pkg-config" ,rust-pkg-config-0.3)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))) (inputs `(("atk" ,atk) ("glib" ,glib))) (home-page "http://gtk-rs.org/") (synopsis "FFI bindings to libatk-1") (description "FFI bindings to libatk-1") (license license:expat))) (define-public rust-atk-0.9 (package (name "rust-atk") (version "0.9.0") (source (origin (method url-fetch) (uri (crate-uri "atk" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "09n46zp8jgxspdzhmi93cag79jjnr0ila94n8nr53g8hw88ljaw1")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-atk-sys" ,rust-atk-sys-0.10) ("rust-bitflags" ,rust-bitflags-1) ("rust-glib" ,rust-glib-0.10) ("rust-glib-sys" ,rust-glib-sys-0.10) ("rust-gobject-sys" ,rust-gobject-sys-0.10) ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1) ("rust-libc" ,rust-libc-0.2)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)) #:phases (modify-phases %standard-phases (add-after 'configure 'fix-version-requirements (lambda* (#:key inputs vendor-dir #:allow-other-keys) (substitute* (map (lambda (dir) (string-append dir "/Cargo.toml")) (find-files vendor-dir "system-deps.*" #:directories? #t)) (("0.0.10") ,(package-version rust-version-compare-0.0))) #t))))) (native-inputs `(("pkg-config" ,pkg-config))) (inputs `(("atk" ,atk) ("glib" ,glib))) (home-page "http://gtk-rs.org/") (synopsis "Rust bindings for the ATK library") (description "Rust bindings for the ATK library") (license license:expat))) (define-public rust-atk-0.8 (package (name "rust-atk") (version "0.8.0") (source (origin (method url-fetch) (uri (crate-uri "atk" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0gk6ijqsd6kh8cki1wznw570499psbppg3d5bqaayagjapxawka4")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-atk-sys" ,rust-atk-sys-0.9) ("rust-bitflags" ,rust-bitflags-1) ("rust-glib" ,rust-glib-0.9) ("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1) ("rust-libc" ,rust-libc-0.2)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) (inputs `(("atk" ,atk) ("glib" ,glib))) (home-page "http://gtk-rs.org/") (synopsis "Rust bindings for the ATK library") (description "Rust bindings for the ATK library") (license license:expat))) (define-public rust-cairo-rs-0.9 (package (name "rust-cairo-rs") (version "0.9.1") (source (origin (method url-fetch) (uri (crate-uri "cairo-rs" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1f5x6ipfpzz0ffph0pg0xfkdfcbr0jp59714zz857jp88zhg5h65")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.10) ("rust-glib" ,rust-glib-0.10) ("rust-glib-sys" ,rust-glib-sys-0.10) ("rust-gobject-sys" ,rust-gobject-sys-0.10) ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1) ("rust-libc" ,rust-libc-0.2) ("rust-thiserror" ,rust-thiserror-1)) #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) (inputs `(("cairo" ,cairo))) (home-page "http://gtk-rs.org/") (synopsis "Rust bindings for the Cairo library") (description "Rust bindings for the Cairo library") (license license:expat))) (define-public rust-cairo-rs-0.8 (package (inherit rust-cairo-rs-0.9) (name "rust-cairo-rs") (version "0.8.1") (source (origin (method url-fetch) (uri (crate-uri "cairo-rs" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "11303v1fv6hsc9n70ak380gknkf0098phpcxqdhkmahqjsx4jw0m")))) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9) ("rust-glib" ,rust-glib-0.9) ("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-libc" ,rust-libc-0.2)) #:cargo-development-inputs (("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-cairo-rs-0.7 (package (inherit rust-cairo-rs-0.8) (name "rust-cairo-rs") (version "0.7.1") (source (origin (method url-fetch) (uri (crate-uri "cairo-rs" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "171m98g41avp5mmshqir4ka21napp7ma5fx45wi9mw5hwdyv8pg0")))) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9) ("rust-glib" ,rust-glib-0.8) ("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-libc" ,rust-libc-0.2) ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1)) #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-cairo-sys-rs-0.10 (package (name "rust-cairo-sys-rs") (version "0.10.0") (source (origin (method url-fetch) (uri (crate-uri "cairo-sys-rs" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "19wch8zc11hbi724mn16hhqyff8kw5c5bsbdlzpxdwfmkadn7lif")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.10) ("rust-libc" ,rust-libc-0.2) ("rust-system-deps" ,rust-system-deps-1) ("rust-winapi" ,rust-winapi-0.3) ("rust-x11" ,rust-x11-2)))) (inputs `(("cairo" ,cairo))) (home-page "http://gtk-rs.org/") (synopsis "FFI bindings to libcairo") (description "This package provides FFI bindings to libcairo.") (license license:expat))) (define-public rust-cairo-sys-rs-0.9 (package (inherit rust-cairo-sys-rs-0.10) (name "rust-cairo-sys-rs") (version "0.9.2") (source (origin (method url-fetch) (uri (crate-uri "cairo-sys-rs" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0qsdy6s57yvscg2rfm7wdqrlhzbn1aq9lhk3dy1vw5f7r81blrgz")))) (arguments `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-libc" ,rust-libc-0.2) ("rust-winapi" ,rust-winapi-0.3) ("rust-x11" ,rust-x11-2) ("rust-pkg-config" ,rust-pkg-config-0.3)))))) (define-public rust-dbus-0.2 (package (name "rust-dbus") (version "0.2.3") (source (origin (method url-fetch) (uri (crate-uri "dbus" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0b85dl7y396g8xh1xh89wxnb1fvvf840dar9axavfhhhlq7c385l")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; XXX: fatal warnings are still fatal #:cargo-inputs (("rust-libc" ,rust-libc-0.2)) #:cargo-development-inputs (("rust-tempdir" ,rust-tempdir-0.3)) #:phases (modify-phases %standard-phases (add-before 'check 'pre-check (lambda* (#:key inputs #:allow-other-keys) ;; Tests require a running X server. (system "Xvfb :1 &") (setenv "DISPLAY" ":1") ;; For the missing /etc/machine-id. (setenv "DBUS_FATAL_WARNINGS" "0") #t))))) (native-inputs `(("xorg-server" ,xorg-server-for-tests))) (inputs `(("dbus" ,dbus))) (home-page "https://github.com/diwic/dbus-rs") (synopsis "Rust bindings to D-Bus") (description "This package provides Rust bindings to D-Bus, a bus commonly used for inter-process communication.") (license (list license:asl2.0 license:expat)))) (define-public rust-gdk-0.13 (package (name "rust-gdk") (version "0.13.2") (source (origin (method url-fetch) (uri (crate-uri "gdk" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0zbb9bwg2z9vlcjj9b59qch3mfmszsrxya7syc5a39v85adq606v")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-cairo-rs" ,rust-cairo-rs-0.9) ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.10) ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.9) ("rust-gdk-sys" ,rust-gdk-sys-0.10) ("rust-gio" ,rust-gio-0.9) ("rust-gio-sys" ,rust-gio-sys-0.10) ("rust-glib" ,rust-glib-0.10) ("rust-glib-sys" ,rust-glib-sys-0.10) ("rust-gobject-sys" ,rust-gobject-sys-0.10) ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1) ("rust-libc" ,rust-libc-0.2) ("rust-pango" ,rust-pango-0.9)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) (inputs `(("cairo" ,cairo) ("gdk-pixbuf" ,gdk-pixbuf) ("glib" ,glib) ("gtk+" ,gtk+) ("pango" ,pango))) (home-page "http://gtk-rs.org/") (synopsis "Rust bindings for the GDK 3 library") (description "This package provides Rust bindings for the GDK 3 library.") (license license:expat))) (define-public rust-gdk-0.12 (package (inherit rust-gdk-0.13) (name "rust-gdk") (version "0.12.1") (source (origin (method url-fetch) (uri (crate-uri "gdk" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "12bmk9vfpk7f03fx22cq9ps00xylsxcpmp8c8r95r1n05xvyirgv")))) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-cairo-rs" ,rust-cairo-rs-0.8) ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9) ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8) ("rust-gdk-sys" ,rust-gdk-sys-0.9) ("rust-gio" ,rust-gio-0.8) ("rust-gio-sys" ,rust-gio-sys-0.9) ("rust-glib" ,rust-glib-0.9) ("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1) ("rust-libc" ,rust-libc-0.2) ("rust-pango" ,rust-pango-0.8)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) (define-public rust-gdk-pixbuf-0.9 (package (name "rust-gdk-pixbuf") (version "0.9.0") (source (origin (method url-fetch) (uri (crate-uri "gdk-pixbuf" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "12lrk7zwshid8dgx9vg87bk0h4a0ilpi7w48idsrpm4xp4yawvcg")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.10) ("rust-gio" ,rust-gio-0.9) ("rust-gio-sys" ,rust-gio-sys-0.10) ("rust-glib" ,rust-glib-0.10) ("rust-glib-sys" ,rust-glib-sys-0.10) ("rust-gobject-sys" ,rust-gobject-sys-0.10) ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1) ("rust-libc" ,rust-libc-0.2)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) (inputs `(("gdk-pixbuf" ,gdk-pixbuf))) (home-page "http://gtk-rs.org/") (synopsis "Rust bindings for the GdkPixbuf library") (description "Rust bindings for the GdkPixbuf library") (license license:expat))) (define-public rust-gdk-pixbuf-0.8 (package (inherit rust-gdk-pixbuf-0.9) (name "rust-gdk-pixbuf") (version "0.8.0") (source (origin (method url-fetch) (uri (crate-uri "gdk-pixbuf" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1mxxca0fkcw2rsd3kl3nvlb8ys4cgxqx4n5isjbv0adk8q624j72")))) (arguments `(#:cargo-inputs (("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9) ("rust-gio" ,rust-gio-0.8) ("rust-gio-sys" ,rust-gio-sys-0.9) ("rust-glib" ,rust-glib-0.9) ("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-libc" ,rust-libc-0.2) ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) (define-public rust-gdk-pixbuf-0.7 (package (inherit rust-gdk-pixbuf-0.8) (name "rust-gdk-pixbuf") (version "0.7.0") (source (origin (method url-fetch) (uri (crate-uri "gdk-pixbuf" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1k2g3w2p57m68bi5sldvkmgjgslgqswrjsijjhqaibdvw67409lp")))) (arguments `(#:cargo-inputs (("rust-fragile" ,rust-fragile-0.3) ("rust-futures-preview" ,rust-futures-preview-0.3) ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9) ("rust-gio" ,rust-gio-0.7) ("rust-gio-sys" ,rust-gio-sys-0.9) ("rust-glib" ,rust-glib-0.8) ("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-libc" ,rust-libc-0.2) ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) (define-public rust-gdk-pixbuf-sys-0.10 (package (name "rust-gdk-pixbuf-sys") (version "0.10.0") (source (origin (method url-fetch) (uri (crate-uri "gdk-pixbuf-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "13qyxazj9bmw3llvkh6br8v7sypnbin2nxis366ppsa3gy54dziv")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-gio-sys" ,rust-gio-sys-0.10) ("rust-glib-sys" ,rust-glib-sys-0.10) ("rust-gobject-sys" ,rust-gobject-sys-0.10) ("rust-libc" ,rust-libc-0.2) ("rust-system-deps" ,rust-system-deps-1)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))) (inputs `(("gdk-pixbuf" ,gdk-pixbuf))) (home-page "http://gtk-rs.org/") (synopsis "FFI bindings to libgdk_pixbuf-2.0") (description "This package provides FFI bindings to @code{libgdk_pixbuf-2.0}.") (license license:expat))) (define-public rust-gdk-pixbuf-sys-0.9 (package (inherit rust-gdk-pixbuf-sys-0.10) (name "rust-gdk-pixbuf-sys") (version "0.9.1") (source (origin (method url-fetch) (uri (crate-uri "gdk-pixbuf-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1c2andpjb10y7bahh6nxnksh9m3g5qh4mgq9znx634cy1831p6fq")))) (arguments `(#:tests? #f ; tests not included in release #:cargo-inputs (("rust-gio-sys" ,rust-gio-sys-0.9) ("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-libc" ,rust-libc-0.2) ("rust-pkg-config" ,rust-pkg-config-0.3)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-gdk-sys-0.10 (package (name "rust-gdk-sys") (version "0.10.0") (source (origin (method url-fetch) (uri (crate-uri "gdk-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0s8d2jymffbv2kpwrx53krf7mpy3vdfhbb5i2n02dz80qp7m75ha")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.10) ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.10) ("rust-gio-sys" ,rust-gio-sys-0.10) ("rust-glib-sys" ,rust-glib-sys-0.10) ("rust-gobject-sys" ,rust-gobject-sys-0.10) ("rust-libc" ,rust-libc-0.2) ("rust-pango-sys" ,rust-pango-sys-0.10) ("rust-pkg-config" ,rust-pkg-config-0.3) ("rust-system-deps" ,rust-system-deps-1)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))) (inputs `(("cairo" ,cairo) ("gdk-pixbuf" ,gdk-pixbuf) ("gtk+" ,gtk+) ("glib" ,glib) ("pango" ,pango))) (home-page "http://gtk-rs.org/") (synopsis "FFI bindings to libgdk-3") (description "FFI bindings to libgdk-3") (license license:expat))) (define-public rust-gdk-sys-0.9 (package (inherit rust-gdk-sys-0.10) (name "rust-gdk-sys") (version "0.9.1") (source (origin (method url-fetch) (uri (crate-uri "gdk-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1fwgr1b3n0khlkhdq9145m6baz9y8207ya30d30g1gyij6g6gpva")))) (arguments `(#:tests? #f #:cargo-inputs (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9) ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9) ("rust-gio-sys" ,rust-gio-sys-0.9) ("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-libc" ,rust-libc-0.2) ("rust-pango-sys" ,rust-pango-sys-0.9) ("rust-pkg-config" ,rust-pkg-config-0.3)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-gio-0.9 (package (name "rust-gio") (version "0.9.1") (source (origin (method url-fetch) (uri (crate-uri "gio" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0qc5aqi2ijval5i9df0qryy4wbmayyhy7ng5v9r0fw7zpx105dhz")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-futures" ,rust-futures-0.3) ("rust-futures-channel" ,rust-futures-channel-0.3) ("rust-futures-core" ,rust-futures-core-0.3) ("rust-futures-io" ,rust-futures-io-0.3) ("rust-futures-util" ,rust-futures-util-0.3) ("rust-gio-sys" ,rust-gio-sys-0.10) ("rust-glib" ,rust-glib-0.10) ("rust-glib-sys" ,rust-glib-sys-0.10) ("rust-gobject-sys" ,rust-gobject-sys-0.10) ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1) ("rust-libc" ,rust-libc-0.2) ("rust-once-cell" ,rust-once-cell-1) ("rust-thiserror" ,rust-thiserror-1)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1) ("rust-serial-test" ,rust-serial-test-0.4)))) (inputs `(("glib" ,glib))) (home-page "http://gtk-rs.org/") (synopsis "Rust bindings for the Gio library") (description "Rust bindings for the Gio library") (license license:expat))) (define-public rust-gio-0.8 (package (inherit rust-gio-0.9) (name "rust-gio") (version "0.8.1") (source (origin (method url-fetch) (uri (crate-uri "gio" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "19cnla2ya0mi6wwaabd5mxbq2kzq46dg6jq2z19rpqyc2na0zl8c")))) (arguments `(#:tests? #f ; Not all files included in the tarball. #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-futures-channel" ,rust-futures-channel-0.3) ("rust-futures-core" ,rust-futures-core-0.3) ("rust-futures-io" ,rust-futures-io-0.3) ("rust-futures-util" ,rust-futures-util-0.3) ("rust-gio-sys" ,rust-gio-sys-0.9) ("rust-glib" ,rust-glib-0.9) ("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-libc" ,rust-libc-0.2) ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1) ("rust-serial-test" ,rust-serial-test-0.1) ("rust-serial-test-derive" ,rust-serial-test-derive-0.1)))))) (define-public rust-gio-0.7 (package (inherit rust-gio-0.8) (name "rust-gio") (version "0.7.0") (source (origin (method url-fetch) (uri (crate-uri "gio" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1qv0wc1hqyb81c03h81s3xrl9jslrw23fr4yhygxbhih9k9vaqb2")))) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-fragile" ,rust-fragile-0.3) ("rust-futures-preview" ,rust-futures-preview-0.3) ("rust-gio-sys" ,rust-gio-sys-0.9) ("rust-glib" ,rust-glib-0.8) ("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-libc" ,rust-libc-0.2) ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) (define-public rust-gio-sys-0.10 (package (name "rust-gio-sys") (version "0.10.1") (source (origin (method url-fetch) (uri (crate-uri "gio-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1b2f6jvghm2djymj3qrgbqfci2f95gyhdin2pgv2qpcg5xszn92y")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.10) ("rust-gobject-sys" ,rust-gobject-sys-0.10) ("rust-libc" ,rust-libc-0.2) ("rust-system-deps" ,rust-system-deps-1) ("rust-winapi" ,rust-winapi-0.3)))) (inputs `(("glib" ,glib))) (home-page "http://gtk-rs.org/") (synopsis "FFI bindings to libgio-2.0") (description "This package provides FFI bindings to libgio-2.0.") (license license:expat))) (define-public rust-gio-sys-0.9 (package (inherit rust-gio-sys-0.10) (name "rust-gio-sys") (version "0.9.1") (source (origin (method url-fetch) (uri (crate-uri "gio-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "049rafihxp3maxg3fwj6062ni9dcfilvhfq6ibnfgsmr89925bag")))) (arguments `(#:tests? #f ; Some test libraries not included in release. #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-libc" ,rust-libc-0.2) ("rust-pkg-config" ,rust-pkg-config-0.3)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-gir-format-check-0.1 (package (name "rust-gir-format-check") (version "0.1.1") (source (origin (method url-fetch) (uri (crate-uri "gir-format-check" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0znl4qcgmg0656zk9vjkwdn9wj1zpkd0m0l5jnzmahd80ii7vf4b")))) (build-system cargo-build-system) (home-page "https://github.com/gtk-rs/gir-format-check") (synopsis "File format checker") (description "File format checker in Rust.") (license license:expat))) (define-public rust-glib-0.10 (package (name "rust-glib") (version "0.10.3") (source (origin (method url-fetch) (uri (crate-uri "glib" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1ifh56nhvhcrssxqkad876qqrlnl16q6b8ap3f7ncpjinw9m0s0c")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-futures-channel" ,rust-futures-channel-0.3) ("rust-futures-core" ,rust-futures-core-0.3) ("rust-futures-executor" ,rust-futures-executor-0.3) ("rust-futures-preview" ,rust-futures-preview-0.3) ("rust-futures-task" ,rust-futures-task-0.3) ("rust-futures-util" ,rust-futures-util-0.3) ("rust-glib-macros" ,rust-glib-macros-0.10) ("rust-glib-sys" ,rust-glib-sys-0.10) ("rust-gobject-sys" ,rust-gobject-sys-0.10) ("rust-libc" ,rust-libc-0.2) ("rust-once-cell" ,rust-once-cell-1)))) (inputs `(("glib" ,glib))) (home-page "http://gtk-rs.org/") (synopsis "Rust bindings for the GLib library") (description "Rust bindings for the GLib library") (license license:expat))) (define-public rust-glib-0.9 (package (inherit rust-glib-0.10) (name "rust-glib") (version "0.9.3") (source (origin (method url-fetch) (uri (crate-uri "glib" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1h3100mf7kdfxibjz5na0sqzbd2mcsyd8pzivn3666w414x5gys0")))) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-futures-channel" ,rust-futures-channel-0.3) ("rust-futures-core" ,rust-futures-core-0.3) ("rust-futures-executor" ,rust-futures-executor-0.3) ("rust-futures-preview" ,rust-futures-preview-0.3) ("rust-futures-task" ,rust-futures-task-0.3) ("rust-futures-util" ,rust-futures-util-0.3) ("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-libc" ,rust-libc-0.2)) #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-glib-0.8 (package (inherit rust-glib-0.9) (name "rust-glib") (version "0.8.2") (source (origin (method url-fetch) (uri (crate-uri "glib" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0ysy87zrwyzhfpf3d8rkyyr3amwj85wky05fsl7kx95s84l269xy")))) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-futures-preview" ,rust-futures-preview-0.3) ("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-libc" ,rust-libc-0.2)) #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-glib-macros-0.10 (package (name "rust-glib-macros") (version "0.10.1") (source (origin (method url-fetch) (uri (crate-uri "glib-macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0fa00s6gnj3hgri9z926199jidczlmjr1db0n4r80sins4k6lj21")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) ("rust-heck" ,rust-heck-0.3) ("rust-itertools" ,rust-itertools-0.9) ("rust-proc-macro-crate" ,rust-proc-macro-crate-0.1) ("rust-proc-macro-error" ,rust-proc-macro-error-1) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))) (home-page "http://gtk-rs.org/") (synopsis "Rust bindings for the GLib library, proc macros crate") (description "Rust bindings for the GLib library, proc macros crate.") (license license:expat))) (define-public rust-glib-sys-0.10 (package (name "rust-glib-sys") (version "0.10.1") (source (origin (method url-fetch) (uri (crate-uri "glib-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1hfdwilf3dnrv3pnfbwmp3h2afgwvfsapcgjfg8276kflsbvksf7")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-libc" ,rust-libc-0.2) ("rust-system-deps" ,rust-system-deps-1)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))) (inputs `(("glib" ,glib))) (home-page "http://gtk-rs.org/") (synopsis "FFI bindings to libglib-2.0") (description "This package provides FFI bindings to libglib-2.0.") (license license:expat))) (define-public rust-glib-sys-0.9 (package (inherit rust-glib-sys-0.10) (name "rust-glib-sys") (version "0.9.1") (source (origin (method url-fetch) (uri (crate-uri "glib-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1qhnwfqqcp63mx4q9744rfkq78g6ky2j8ppsxxgw0ipl08w6z1cm")))) (arguments `(#:tests? #f ; Some test libraries not included in release. #:cargo-inputs (("rust-libc" ,rust-libc-0.2) ("rust-pkg-config" ,rust-pkg-config-0.3)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-gobject-sys-0.10 (package (name "rust-gobject-sys") (version "0.10.0") (source (origin (method url-fetch) (uri (crate-uri "gobject-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1311d3zbdhl1g7ibj1iy1650513yrhxbjxgfhazn52ii1jv368cm")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.10) ("rust-libc" ,rust-libc-0.2) ("rust-system-deps" ,rust-system-deps-1)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))) (inputs `(("glib" ,glib))) (home-page "http://gtk-rs.org/") (synopsis "FFI bindings to libgobject-2.0") (description "This package provides FFI bindings to libgobject-2.0.") (license license:expat))) (define-public rust-gobject-sys-0.9 (package (inherit rust-gobject-sys-0.10) (name "rust-gobject-sys") (version "0.9.1") (source (origin (method url-fetch) (uri (crate-uri "gobject-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1nakflbp3gjaas4fw7sn3p1p32khyfpcq1h06z7yqd10yq2ail9i")))) (arguments `(#:tests? #f ; Some test libraries not included in release. #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-libc" ,rust-libc-0.2) ("rust-pkg-config" ,rust-pkg-config-0.3)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-gspell-sys-0.4 (package (name "rust-gspell-sys") (version "0.4.0") (source (origin (method url-fetch) (uri (crate-uri "gspell-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "07snannzd36wlms2x880ylkq7h1162g0kv9y54wlrc2nd11kjc2c")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-gtk-sys" ,rust-gtk-sys-0.9) ("rust-libc" ,rust-libc-0.2) ("rust-pkg-config" ,rust-pkg-config-0.3)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)) #:phases (modify-phases %standard-phases (add-before 'check 'pre-check (lambda* (#:key inputs #:allow-other-keys) (setenv "CC" (which "gcc")) #t))))) (native-inputs `(("pkg-config" ,pkg-config))) (inputs `(("atk" ,atk) ("cairo" ,cairo) ("glib" ,glib) ("gspell" ,(module-ref (resolve-module '(gnu packages gnome)) 'gspell)) ("gtk+" ,gtk+) ("pango" ,pango))) (home-page "https://gitlab.gnome.org/World/Rust/gspell-rs") (synopsis "Raw C-FFI bindings for the gspell library") (description "Raw C-FFI bindings for the gspell library") (license license:gpl3+))) (define-public rust-gspell-0.4 (package (name "rust-gspell") (version "0.4.0") (source (origin (method url-fetch) (uri (crate-uri "gspell" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "10wi6p6dhdqypfqlih18mrl7vgni7y64mrhdh5ymayp4d07djshk")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-gdk" ,rust-gdk-0.12) ("rust-gdk-sys" ,rust-gdk-sys-0.9) ("rust-gio" ,rust-gio-0.8) ("rust-gio-sys" ,rust-gio-sys-0.9) ("rust-glib" ,rust-glib-0.9) ("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-gspell-sys" ,rust-gspell-sys-0.4) ("rust-gtk" ,rust-gtk-0.8) ("rust-gtk-sys" ,rust-gtk-sys-0.9) ("rust-libc" ,rust-libc-0.2)) #:phases (modify-phases %standard-phases (add-before 'check 'pre-check (lambda* (#:key inputs #:allow-other-keys) ;; Tests require a running X server. (system "Xvfb :1 &") (setenv "DISPLAY" ":1") ;; For the missing /etc/machine-id. (setenv "DBUS_FATAL_WARNINGS" "0") ;; Allow Enchant and its Aspell backend to find the en_US ;; dictionary. (setenv "ASPELL_DICT_DIR" (string-append (assoc-ref inputs "aspell-dict-en") "/lib/aspell")) #t))))) (native-inputs `(("aspell-dict-en" ,aspell-dict-en) ("xorg-server" ,xorg-server-for-tests))) (inputs `(("atk" ,atk) ("cairo" ,cairo) ("glib" ,glib) ("gspell" ,(module-ref (resolve-module '(gnu packages gnome)) 'gspell)) ("gtk+" ,gtk+) ("pango" ,pango))) (home-page "https://gitlab.gnome.org/World/Rust/gspell-rs") (synopsis "Rust bindings for gspell") (description "Rust bindings for gspell") (license license:gpl3+))) (define-public rust-gstreamer-0.15 (package (name "rust-gstreamer") (version "0.15.7") (source (origin (method url-fetch) (uri (crate-uri "gstreamer" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0qx1fhr9ajms0128ixmi2ncr35llwppdb0z7ximw2vnd2jhn91nf")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-cfg-if" ,rust-cfg-if-0.1) ("rust-futures-channel" ,rust-futures-channel-0.3) ("rust-futures-core" ,rust-futures-core-0.3) ("rust-futures-util" ,rust-futures-util-0.3) ("rust-glib" ,rust-glib-0.9) ("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.8) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-libc" ,rust-libc-0.2) ("rust-muldiv" ,rust-muldiv-0.2) ("rust-num-rational" ,rust-num-rational-0.2) ("rust-paste" ,rust-paste-0.1) ("rust-rustdoc-stripper" ,rust-rustdoc-stripper-0.1) ("rust-serde" ,rust-serde-1) ("rust-serde-bytes" ,rust-serde-bytes-0.11) ("rust-serde-derive" ,rust-serde-derive-1)) #:cargo-development-inputs (("rust-futures-executor" ,rust-futures-executor-0.3) ("rust-ron" ,rust-ron-0.5) ("rust-serde-json" ,rust-serde-json-1)))) (inputs `(("glib" ,glib) ("gstreamer" ,gstreamer) ("gst-plugins-base" ,gst-plugins-base))) (home-page "https://gstreamer.freedesktop.org") (synopsis "Rust bindings for GStreamer") (description "Rust bindings for GStreamer") (license (list license:expat license:asl2.0)))) (define-public rust-gstreamer-audio-sys-0.8 (package (name "rust-gstreamer-audio-sys") (version "0.8.1") (source (origin (method url-fetch) (uri (crate-uri "gstreamer-audio-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1rxw1s57yrw1zsbindaf2sj05df4qh17bshadqfw77y4xr9izjdv")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.8) ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.8) ("rust-libc" ,rust-libc-0.2) ("rust-pkg-config" ,rust-pkg-config-0.3)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)) #:phases (modify-phases %standard-phases (add-before 'check 'pre-check (lambda* (#:key inputs #:allow-other-keys) (setenv "CC" (which "gcc")) #t))))) (native-inputs `(("pkg-config" ,pkg-config))) (inputs `(("glib" ,glib) ("gstreamer" ,gstreamer) ("gst-plugins-base" ,gst-plugins-base))) (home-page "https://gstreamer.freedesktop.org") (synopsis "FFI bindings to libgstaudio-1.0") (description "FFI bindings to libgstaudio-1.0") (license license:expat))) (define-public rust-gstreamer-base-0.15 (package (name "rust-gstreamer-base") (version "0.15.4") (source (origin (method url-fetch) (uri (crate-uri "gstreamer-base" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "04hwa85j3w959i025il908bvsx6dyiawkmc0w45hn9kcrisjyma2")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-glib" ,rust-glib-0.9) ("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-gstreamer" ,rust-gstreamer-0.15) ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.8) ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.8) ("rust-libc" ,rust-libc-0.2) ("rust-rustdoc-stripper" ,rust-rustdoc-stripper-0.1)))) (inputs `(("glib" ,glib) ("gstreamer" ,gstreamer) ("gst-plugins-base" ,gst-plugins-base))) (home-page "https://gstreamer.freedesktop.org") (synopsis "Rust bindings for GStreamer Base library") (description "Rust bindings for GStreamer Base library") (license (list license:expat license:asl2.0)))) (define-public rust-gstreamer-base-sys-0.8 (package (name "rust-gstreamer-base-sys") (version "0.8.1") (source (origin (method url-fetch) (uri (crate-uri "gstreamer-base-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1v9v09jqjrwz87c4r7za3yb6g7had112d8zwjdjmhg2b2x94yf5s")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.8) ("rust-libc" ,rust-libc-0.2) ("rust-pkg-config" ,rust-pkg-config-0.3)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)) #:phases (modify-phases %standard-phases (add-before 'check 'pre-check (lambda* (#:key inputs #:allow-other-keys) (setenv "CC" (which "gcc")) #t))))) (native-inputs `(("pkg-config" ,pkg-config))) (inputs `(("glib" ,glib) ("gstreamer" ,gstreamer) ("gst-plugins-base" ,gst-plugins-base))) (home-page "https://gstreamer.freedesktop.org") (synopsis "FFI bindings to libgstbase-1.0") (description "FFI bindings to libgstbase-1.0") (license license:expat))) (define-public rust-gstreamer-pbutils-0.15 (package (name "rust-gstreamer-pbutils") (version "0.15.1") (source (origin (method url-fetch) (uri (crate-uri "gstreamer-pbutils" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1q8hv8i41mwhr84ydwlv7qspf49s5i7pz3lnjwl0l9gyp2anq97d")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-glib" ,rust-glib-0.9) ("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-gstreamer" ,rust-gstreamer-0.15) ("rust-gstreamer-pbutils-sys" ,rust-gstreamer-pbutils-sys-0.8) ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.8) ("rust-libc" ,rust-libc-0.2) ("rust-rustdoc-stripper" ,rust-rustdoc-stripper-0.1)))) (inputs `(("glib" ,glib) ("gstreamer" ,gstreamer) ("gst-plugins-base" ,gst-plugins-base))) (home-page "https://gstreamer.freedesktop.org") (synopsis "Rust bindings for GStreamer Base Utils library") (description "Rust bindings for GStreamer Base Utils library") (license (list license:expat license:asl2.0)))) (define-public rust-gstreamer-pbutils-sys-0.8 (package (name "rust-gstreamer-pbutils-sys") (version "0.8.1") (source (origin (method url-fetch) (uri (crate-uri "gstreamer-pbutils-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1s4dgmq9ai1jz5w5vllji8087khw7hja97hii4lgl29figkakdsf")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-gstreamer-audio-sys" ,rust-gstreamer-audio-sys-0.8) ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.8) ("rust-gstreamer-video-sys" ,rust-gstreamer-video-sys-0.8) ("rust-libc" ,rust-libc-0.2) ("rust-pkg-config" ,rust-pkg-config-0.3)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)) #:phases (modify-phases %standard-phases (add-before 'check 'pre-check (lambda* (#:key inputs #:allow-other-keys) (setenv "CC" (which "gcc")) #t))))) (native-inputs `(("pkg-config" ,pkg-config))) (inputs `(("glib" ,glib) ("gstreamer" ,gstreamer) ("gst-plugins-base" ,gst-plugins-base))) (home-page "https://gstreamer.freedesktop.org") (synopsis "FFI bindings to libgstpbutils-1.0") (description "FFI bindings to libgstpbutils-1.0") (license license:expat))) (define-public rust-gstreamer-player-0.15 (package (name "rust-gstreamer-player") (version "0.15.5") (source (origin (method url-fetch) (uri (crate-uri "gstreamer-player" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "167nv3s6pwr746gjm2i0vd6ygfmbp80hi4wm46lly3jgciy4kcq4")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-glib" ,rust-glib-0.9) ("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-gstreamer" ,rust-gstreamer-0.15) ("rust-gstreamer-player-sys" ,rust-gstreamer-player-sys-0.8) ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.8) ("rust-gstreamer-video" ,rust-gstreamer-video-0.15) ("rust-libc" ,rust-libc-0.2) ("rust-rustdoc-stripper" ,rust-rustdoc-stripper-0.1)))) (inputs `(("glib" ,glib) ("gstreamer" ,gstreamer) ("gst-plugins-base" ,gst-plugins-base) ("gst-plugins-bad" ,gst-plugins-bad))) ; for -lgstplayer-1.0 (home-page "https://gstreamer.freedesktop.org") (synopsis "Rust bindings for GStreamer Player library") (description "Rust bindings for GStreamer Player library") (license (list license:expat license:asl2.0)))) (define-public rust-gstreamer-player-sys-0.8 (package (name "rust-gstreamer-player-sys") (version "0.8.1") (source (origin (method url-fetch) (uri (crate-uri "gstreamer-player-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0g21c7yk1855k5qdyn0hcwa6v1dy9admipy8s7544d7d19rqmhww")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.8) ("rust-gstreamer-video-sys" ,rust-gstreamer-video-sys-0.8) ("rust-libc" ,rust-libc-0.2) ("rust-pkg-config" ,rust-pkg-config-0.3)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)) #:phases (modify-phases %standard-phases (add-before 'check 'pre-check (lambda* (#:key inputs #:allow-other-keys) (setenv "CC" (which "gcc")) #t))))) (native-inputs `(("pkg-config" ,pkg-config))) (inputs `(("glib" ,glib) ("gstreamer" ,gstreamer) ("gst-plugins-base" ,gst-plugins-base) ("gst-plugins-bad" ,gst-plugins-bad))) (home-page "https://gstreamer.freedesktop.org") (synopsis "FFI bindings to libgstplayer-1.0") (description "FFI bindings to libgstplayer-1.0") (license license:expat))) (define-public rust-gstreamer-sys-0.8 (package (name "rust-gstreamer-sys") (version "0.8.1") (source (origin (method url-fetch) (uri (crate-uri "gstreamer-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1nsk802vlcyi9p93sg60wv8fzb2mq7j52lfdda4va2kxp40xl60x")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-libc" ,rust-libc-0.2) ("rust-pkg-config" ,rust-pkg-config-0.3)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)) #:phases (modify-phases %standard-phases (add-before 'check 'pre-check (lambda* (#:key inputs #:allow-other-keys) (setenv "CC" (which "gcc")) #t))))) (native-inputs `(("pkg-config" ,pkg-config))) (inputs `(("glib" ,glib) ("gstreamer" ,gstreamer) ("gst-plugins-base" ,gst-plugins-base))) (home-page "https://gstreamer.freedesktop.org") (synopsis "FFI bindings to libgstreamer-1.0") (description "FFI bindings to libgstreamer-1.0") (license license:expat))) (define-public rust-gstreamer-video-0.15 (package (name "rust-gstreamer-video") (version "0.15.7") (source (origin (method url-fetch) (uri (crate-uri "gstreamer-video" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1jaday8gsmhixv5k78wxcsricmvqfsip486750ad8ih2jjdfdmqa")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-futures-channel" ,rust-futures-channel-0.3) ("rust-futures-util" ,rust-futures-util-0.3) ("rust-glib" ,rust-glib-0.9) ("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-gstreamer" ,rust-gstreamer-0.15) ("rust-gstreamer-base" ,rust-gstreamer-base-0.15) ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.8) ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.8) ("rust-gstreamer-video-sys" ,rust-gstreamer-video-sys-0.8) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-libc" ,rust-libc-0.2) ("rust-rustdoc-stripper" ,rust-rustdoc-stripper-0.1)))) (inputs `(("glib" ,glib) ("gstreamer" ,gstreamer) ("gst-plugins-base" ,gst-plugins-base))) (home-page "https://gstreamer.freedesktop.org") (synopsis "Rust bindings for GStreamer Video library") (description "Rust bindings for GStreamer Video library") (license (list license:expat license:asl2.0)))) (define-public rust-gstreamer-video-sys-0.8 (package (name "rust-gstreamer-video-sys") (version "0.8.1") (source (origin (method url-fetch) (uri (crate-uri "gstreamer-video-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1k5prjimlrm5c68vk6wq1l9y440p5vskrq862rcb9x22z2c44pv1")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; TODO: ABI mismatch #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.8) ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.8) ("rust-libc" ,rust-libc-0.2) ("rust-pkg-config" ,rust-pkg-config-0.3)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)) #:phases (modify-phases %standard-phases (add-before 'check 'pre-check (lambda* (#:key inputs #:allow-other-keys) (setenv "CC" (which "gcc")) #t))))) (native-inputs `(("pkg-config" ,pkg-config))) (inputs `(("glib" ,glib) ("gstreamer" ,gstreamer) ("gst-plugins-base" ,gst-plugins-base))) (home-page "https://gstreamer.freedesktop.org") (synopsis "FFI bindings to libgstvideo-1.0") (description "FFI bindings to libgstvideo-1.0") (license license:expat))) (define-public rust-gtk-0.9 (package (name "rust-gtk") (version "0.9.2") (source (origin (method url-fetch) (uri (crate-uri "gtk" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0smdll32vlamp4kvxa6sg5m653icas21jd36fvq3laq7ahh2y0ig")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-atk" ,rust-atk-0.9) ("rust-bitflags" ,rust-bitflags-1) ("rust-cairo-rs" ,rust-cairo-rs-0.9) ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.10) ("rust-cc" ,rust-cc-1) ("rust-gdk" ,rust-gdk-0.13) ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.9) ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.10) ("rust-gdk-sys" ,rust-gdk-sys-0.10) ("rust-gio" ,rust-gio-0.9) ("rust-gio-sys" ,rust-gio-sys-0.10) ("rust-glib" ,rust-glib-0.10) ("rust-glib-sys" ,rust-glib-sys-0.10) ("rust-gobject-sys" ,rust-gobject-sys-0.10) ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1) ("rust-gtk-sys" ,rust-gtk-sys-0.10) ("rust-libc" ,rust-libc-0.2) ("rust-once-cell" ,rust-once-cell-1) ("rust-pango" ,rust-pango-0.9) ("rust-pango-sys" ,rust-pango-sys-0.10) ("rust-pkg-config" ,rust-pkg-config-0.3)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)) #:phases (modify-phases %standard-phases (add-after 'configure 'fix-version-requirements (lambda* (#:key inputs vendor-dir #:allow-other-keys) (substitute* (map (lambda (dir) (string-append dir "/Cargo.toml")) (find-files vendor-dir "system-deps.*" #:directories? #t)) (("0.0.10") ,(package-version rust-version-compare-0.0))) #t))))) (native-inputs `(("pkg-config" ,pkg-config))) (inputs `(("atk" ,atk) ("cairo" ,cairo) ("glib" ,glib) ("gtk+" ,gtk+) ("pango" ,pango))) (home-page "http://gtk-rs.org/") (synopsis "Rust bindings for the GTK+ 3 library") (description "Rust bindings for the GTK+ 3 library") (license license:expat))) (define-public rust-gtk-0.8 (package (name "rust-gtk") (version "0.8.1") (source (origin (method url-fetch) (uri (crate-uri "gtk" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "13ygzblfv40l2kp70rnjymz7vk2g2wdjs04lhmk9q8wh0bbyiqc7")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-atk" ,rust-atk-0.8) ("rust-bitflags" ,rust-bitflags-1) ("rust-cairo-rs" ,rust-cairo-rs-0.8) ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9) ("rust-cc" ,rust-cc-1) ("rust-gdk" ,rust-gdk-0.12) ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8) ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9) ("rust-gdk-sys" ,rust-gdk-sys-0.9) ("rust-gio" ,rust-gio-0.8) ("rust-gio-sys" ,rust-gio-sys-0.9) ("rust-glib" ,rust-glib-0.9) ("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1) ("rust-gtk-sys" ,rust-gtk-sys-0.9) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-libc" ,rust-libc-0.2) ("rust-pango" ,rust-pango-0.8) ("rust-pango-sys" ,rust-pango-sys-0.9)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) (inputs `(("atk" ,atk) ("cairo" ,cairo) ("glib" ,glib) ("gtk+" ,gtk+) ("pango" ,pango))) (home-page "http://gtk-rs.org/") (synopsis "Rust bindings for the GTK+ 3 library") (description "This package provides Rust bindings for the GTK+ 3 library.") (license license:expat))) (define-public rust-gtk-rs-lgpl-docs-0.1 (package (name "rust-gtk-rs-lgpl-docs") (version "0.1.18") (source (origin (method url-fetch) (uri (crate-uri "gtk-rs-lgpl-docs" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0xm3lm15j8yfn2jzh3sz6hrq2g2k917ahnp5caxw9c7z8sgr9f4m")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-rustdoc-stripper" ,rust-rustdoc-stripper-0.1)))) (home-page "https://gtk-rs.org/") (synopsis "LGPL-licensed docs for Gtk-rs crates") (description "LGPL-licensed docs for Gtk-rs crates.") (license license:lgpl2.0))) (define-public rust-gtk-sys-0.10 (package (name "rust-gtk-sys") (version "0.10.0") (source (origin (method url-fetch) (uri (crate-uri "gtk-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0mq4i161kk6dwiz19ayxgm9fhx7n3r5lm9lbjiyk0qs811pxmb49")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; TODO: ABI mismatch #:cargo-inputs (("rust-atk-sys" ,rust-atk-sys-0.10) ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.10) ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.10) ("rust-gdk-sys" ,rust-gdk-sys-0.10) ("rust-gio-sys" ,rust-gio-sys-0.10) ("rust-glib-sys" ,rust-glib-sys-0.10) ("rust-gobject-sys" ,rust-gobject-sys-0.10) ("rust-libc" ,rust-libc-0.2) ("rust-pango-sys" ,rust-pango-sys-0.10) ("rust-system-deps" ,rust-system-deps-1)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)) #:phases (modify-phases %standard-phases (add-after 'configure 'fix-version-requirements (lambda* (#:key inputs vendor-dir #:allow-other-keys) (substitute* (map (lambda (dir) (string-append dir "/Cargo.toml")) (find-files vendor-dir "system-deps.*" #:directories? #t)) (("0.0.10") ,(package-version rust-version-compare-0.0))) #t))))) (native-inputs `(("pkg-config" ,pkg-config))) (inputs `(("atk" ,atk) ("cairo" ,cairo) ("glib" ,glib) ("gtk+" ,gtk+) ("pango" ,pango))) (home-page "http://gtk-rs.org/") (synopsis "FFI bindings to libgtk-3") (description "This package provides FFI bindings to libgtk-3.") (license license:expat))) (define-public rust-gtk-sys-0.9 (package (name "rust-gtk-sys") (version "0.9.2") (source (origin (method url-fetch) (uri (crate-uri "gtk-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1hd4w49iaivzjkbxi0bhabqp1ifkzg9g47n822sh12xlqxhgdpjk")))) (build-system cargo-build-system) (arguments `(#:tests? #f ;missing files #:cargo-inputs (("rust-atk-sys" ,rust-atk-sys-0.9) ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9) ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9) ("rust-gdk-sys" ,rust-gdk-sys-0.9) ("rust-gio-sys" ,rust-gio-sys-0.9) ("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-libc" ,rust-libc-0.2) ("rust-pango-sys" ,rust-pango-sys-0.9) ("rust-pkg-config" ,rust-pkg-config-0.3)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))) (inputs `(("gtk+" ,gtk+))) (home-page "http://gtk-rs.org/") (synopsis "FFI bindings to libgtk-3") (description "This package provides FFI bindings to libgtk-3.") (license license:expat))) (define-public rust-html2pango-0.3 (package (name "rust-html2pango") (version "0.3.3") (source (origin (method url-fetch) (uri (crate-uri "html2pango" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0f0phim3bgmq0gcsvm9q8674190d5v5idlsqyxykxjf36d02i6s6")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-ammonia" ,rust-ammonia-3) ("rust-anyhow" ,rust-anyhow-1) ("rust-html5ever" ,rust-html5ever-0.25) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-linkify" ,rust-linkify-0.4) ("rust-maplit" ,rust-maplit-1) ("rust-markup5ever-rcdom" ,rust-markup5ever-rcdom-0.1) ("rust-regex" ,rust-regex-1)) #:cargo-development-inputs (("rust-pretty-assertions" ,rust-pretty-assertions-0.6)))) (home-page "https://gitlab.gnome.org/World/html2pango") (synopsis "Convert HTML to pango.") (description "html2pango converts html tags to Pango markup. It also converts raw links to http links and strips unwanted tags.") (license license:gpl3))) (define-public rust-letter-avatar-1 (package (name "rust-letter-avatar") (version "1.3.0") (source (origin (method url-fetch) (uri (crate-uri "letter-avatar" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0if2mihpxn4xissv68qciqn5vywy0kl0sx9hcyrhd70s2fyn09k6")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cairo-rs" ,rust-cairo-rs-0.9) ("rust-pango" ,rust-pango-0.9) ("rust-pangocairo" ,rust-pangocairo-0.10) ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)) #:phases (modify-phases %standard-phases (add-after 'configure 'fix-version-requirements (lambda* (#:key inputs vendor-dir #:allow-other-keys) (substitute* (map (lambda (dir) (string-append dir "/Cargo.toml")) (find-files vendor-dir "system-deps.*" #:directories? #t)) (("0.0.10") ,(package-version rust-version-compare-0.0))) #t))))) (native-inputs `(("pkg-config" ,pkg-config))) (inputs `(("cairo" ,cairo) ("glib" ,glib) ("pango" ,pango))) (home-page "https://gitlab.gnome.org/jsparber/letter-avatar") (synopsis "Generates user avatars using username initials") (description "Generates user avatars using username initials") (license license:gpl3+))) (define-public rust-letter-avatar-for-fractal (package (inherit rust-letter-avatar-1) (name "rust-letter-avatar") (version "1.2.1") (source (origin (method url-fetch) (uri (crate-uri "letter-avatar" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "00hnlyckr25h5hvisk90vf88diww6cds140s8cpfhjx4p33kxnm8")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cairo-rs" ,rust-cairo-rs-0.8) ("rust-pango" ,rust-pango-0.8) ("rust-pangocairo" ,rust-pangocairo-0.9) ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)))) (properties '((hidden? . #t))))) (define-public rust-libhandy-sys-0.5 (package (name "rust-libhandy-sys") (version "0.5.0") (source (origin (method url-fetch) (uri (crate-uri "libhandy-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0ih4ws1d9n4qp4rwgsfilklgchqq3prnrb7h3avik1wi5s2ay1yp")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-gdk" ,rust-gdk-0.12) ("rust-gdk-sys" ,rust-gdk-sys-0.9) ("rust-gio" ,rust-gio-0.8) ("rust-gio-sys" ,rust-gio-sys-0.9) ("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-gtk-sys" ,rust-gtk-sys-0.9) ("rust-libc" ,rust-libc-0.2) ("rust-pango-sys" ,rust-pango-sys-0.9) ("rust-pkg-config" ,rust-pkg-config-0.3)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))) (native-inputs `(("pkg-config" ,pkg-config))) (inputs `(("atk" ,atk) ("cairo" ,cairo) ("glib" ,glib) ("gtk+" ,gtk+) ("libhandy" ,(module-ref (resolve-interface '(gnu packages gnome)) 'libhandy-0.0)) ("pango" ,pango))) (home-page "https://gitlab.gnome.org/World/Rust/libhandy-rs") (synopsis "The sys part of the rust bindings for libhandy") (description "The sys part of the rust bindings for libhandy") (license license:gpl3+))) (define-public rust-libhandy-0.5 (package (name "rust-libhandy") (version "0.5.0") (source (origin (method url-fetch) (uri (crate-uri "libhandy" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "01zska4i6641pj8d9gcc2kclx5vvsbbyfpv4rn5kahs11rigba9a")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-gdk" ,rust-gdk-0.12) ("rust-gdk-sys" ,rust-gdk-sys-0.9) ("rust-gio" ,rust-gio-0.8) ("rust-gio-sys" ,rust-gio-sys-0.9) ("rust-glib" ,rust-glib-0.9) ("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-gtk" ,rust-gtk-0.8) ("rust-gtk-sys" ,rust-gtk-sys-0.9) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-libc" ,rust-libc-0.2) ("rust-libhandy-sys" ,rust-libhandy-sys-0.5) ("rust-pango" ,rust-pango-0.8)) #:phases (modify-phases %standard-phases (add-before 'check 'pre-check (lambda* (#:key inputs #:allow-other-keys) ;; Tests require a running X server. (system "Xvfb :1 &") (setenv "DISPLAY" ":1") #t))))) (native-inputs `(("xorg-server" ,xorg-server-for-tests))) (inputs `(("atk" ,atk) ("cairo" ,cairo) ("glib" ,glib) ("gtk+" ,gtk+) ("libhandy" ,(module-ref (resolve-interface '(gnu packages gnome)) 'libhandy-0.0)) ("pango" ,pango))) (home-page "https://gitlab.gnome.org/World/Rust/libhandy-rs") (synopsis "Rust bindings for libhandy") (description "Rust bindings for libhandy") (license license:gpl3+))) (define-public rust-pango-0.9 (package (name "rust-pango") (version "0.9.1") (source (origin (method url-fetch) (uri (crate-uri "pango" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0f64hynd9vq6966wb66mrg5kq9q371bkhncp37nqrgdyh22hcdwr")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-glib" ,rust-glib-0.10) ("rust-glib-sys" ,rust-glib-sys-0.10) ("rust-gobject-sys" ,rust-gobject-sys-0.10) ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1) ("rust-libc" ,rust-libc-0.2) ("rust-once-cell" ,rust-once-cell-1) ("rust-pango-sys" ,rust-pango-sys-0.10)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) (inputs `(("pango" ,pango))) (home-page "http://gtk-rs.org/") (synopsis "Rust bindings for the Pango library") (description "Rust bindings for the Pango library") (license license:expat))) (define-public rust-pango-0.8 (package (inherit rust-pango-0.9) (name "rust-pango") (version "0.8.0") (source (origin (method url-fetch) (uri (crate-uri "pango" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0xq50950il3228grzs4xvc5s6phxcl5l50grz6syvs0vixr6p70y")))) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-glib" ,rust-glib-0.9) ("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-libc" ,rust-libc-0.2) ("rust-pango-sys" ,rust-pango-sys-0.9) ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) (define-public rust-pango-0.7 (package (inherit rust-pango-0.8) (name "rust-pango") (version "0.7.0") (source (origin (method url-fetch) (uri (crate-uri "pango" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "11np7nxb69g3kid2l78b7k519x1wk1c3f9yy7swgzy24n5qs0grr")))) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-glib" ,rust-glib-0.8) ("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-libc" ,rust-libc-0.2) ("rust-pango-sys" ,rust-pango-sys-0.9) ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) (define-public rust-pango-sys-0.10 (package (name "rust-pango-sys") (version "0.10.0") (source (origin (method url-fetch) (uri (crate-uri "pango-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1468xzyk2wanxb2b32fsmwk6bnafdaicxl5b4301dlb2ic66bli4")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.10) ("rust-gobject-sys" ,rust-gobject-sys-0.10) ("rust-libc" ,rust-libc-0.2) ("rust-system-deps" ,rust-system-deps-1)))) (inputs `(("pango" ,pango))) (home-page "http://gtk-rs.org/") (synopsis "FFI bindings to libpango-1.0") (description "This package provides FFI bindings to @code{libpango-1.0}.") (license license:expat))) (define-public rust-pango-sys-0.9 (package (inherit rust-pango-sys-0.10) (name "rust-pango-sys") (version "0.9.1") (source (origin (method url-fetch) (uri (crate-uri "pango-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0zdynikh6jrfa31fpmbrwnz46a57idci73zzkf0z0g3vj223vfc6")))) (arguments `(#:tests? #f ; Some test files not included in release. #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-libc" ,rust-libc-0.2) ("rust-pkg-config" ,rust-pkg-config-0.3)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-pangocairo-0.10 (package (name "rust-pangocairo") (version "0.10.0") (source (origin (method url-fetch) (uri (crate-uri "pangocairo" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "10z8hlc82984nwvy5pnyh95ls9s5r1qrlkpn14zh4pjsl1ksxx80")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-cairo-rs" ,rust-cairo-rs-0.9) ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.10) ("rust-glib" ,rust-glib-0.10) ("rust-glib-sys" ,rust-glib-sys-0.10) ("rust-gobject-sys" ,rust-gobject-sys-0.10) ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1) ("rust-libc" ,rust-libc-0.2) ("rust-pango" ,rust-pango-0.9) ("rust-pango-sys" ,rust-pango-sys-0.10) ("rust-pangocairo-sys" ,rust-pangocairo-sys-0.11)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)) #:phases (modify-phases %standard-phases (add-after 'configure 'fix-version-requirements (lambda* (#:key inputs vendor-dir #:allow-other-keys) (substitute* (map (lambda (dir) (string-append dir "/Cargo.toml")) (find-files vendor-dir "system-deps.*" #:directories? #t)) (("0.0.10") ,(package-version rust-version-compare-0.0))) #t))))) (native-inputs `(("pkg-config" ,pkg-config))) (inputs `(("cairo" ,cairo) ("glib" ,glib) ("pango" ,pango))) (home-page "http://gtk-rs.org/") (synopsis "Rust bindings for the PangoCairo library") (description "Rust bindings for the PangoCairo library.") (license license:expat))) (define-public rust-pangocairo-0.9 (package (name "rust-pangocairo") (version "0.9.0") (source (origin (method url-fetch) (uri (crate-uri "pangocairo" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0bap3h78hdqdyln58349qjjbcv45m8a0a16c4n9fprdj1my0gldx")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-cairo-rs" ,rust-cairo-rs-0.8) ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9) ("rust-glib" ,rust-glib-0.9) ("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-libc" ,rust-libc-0.2) ("rust-pango" ,rust-pango-0.8) ("rust-pango-sys" ,rust-pango-sys-0.9) ("rust-pangocairo-sys" ,rust-pangocairo-sys-0.10) ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) (inputs `(("gtk+" ,gtk+))) (home-page "http://gtk-rs.org/") (synopsis "Rust bindings for the PangoCairo library") (description "Rust bindings for the PangoCairo library.") (license license:expat))) (define-public rust-pangocairo-0.8 (package (inherit rust-pangocairo-0.9) (name "rust-pangocairo") (version "0.8.0") (source (origin (method url-fetch) (uri (crate-uri "pangocairo" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0qjiwsp73x3w0493dzycyjzxnzwq7ixwmf1ccr5r41pjhxbnk1kl")))) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-cairo-rs" ,rust-cairo-rs-0.7) ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9) ("rust-glib" ,rust-glib-0.8) ("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-libc" ,rust-libc-0.2) ("rust-pango" ,rust-pango-0.7) ("rust-pango-sys" ,rust-pango-sys-0.9) ("rust-pangocairo-sys" ,rust-pangocairo-sys-0.10) ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) (define-public rust-pangocairo-sys-0.11 (package (name "rust-pangocairo-sys") (version "0.11.0") (source (origin (method url-fetch) (uri (crate-uri "pangocairo-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "167b1z6ns3lw1dqfq3mnhmknf7isi5vacp2fp0rh4bwcd5zwkk4l")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.10) ("rust-glib-sys" ,rust-glib-sys-0.10) ("rust-libc" ,rust-libc-0.2) ("rust-pango-sys" ,rust-pango-sys-0.10) ("rust-system-deps" ,rust-system-deps-1)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)) #:phases (modify-phases %standard-phases (add-after 'configure 'fix-version-requirements (lambda* (#:key inputs vendor-dir #:allow-other-keys) (substitute* (map (lambda (dir) (string-append dir "/Cargo.toml")) (find-files vendor-dir "system-deps.*" #:directories? #t)) (("0.0.10") ,(package-version rust-version-compare-0.0))) #t))))) (native-inputs `(("pkg-config" ,pkg-config))) (inputs `(("cairo" ,cairo) ("glib" ,glib) ("pango" ,pango))) (home-page "https://gtk-rs.org/") (synopsis "FFI bindings to pangocairo") (description "This package provides FFI bindings to pangocairo.") (license license:expat))) (define-public rust-pangocairo-sys-0.10 (package (name "rust-pangocairo-sys") (version "0.10.1") (source (origin (method url-fetch) (uri (crate-uri "pangocairo-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1zlyf5vajarnxg5034b8qa5w5zajv96lfvlgiki26svpmcqip4m3")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9) ("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-libc" ,rust-libc-0.2) ("rust-pango-sys" ,rust-pango-sys-0.9) ("rust-pkg-config" ,rust-pkg-config-0.3)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))) (inputs `(("gtk+" ,gtk+))) (home-page "https://gtk-rs.org/") (synopsis "FFI bindings to libgtk-3") (description "This package provides FFI bindings to libgtk-3.") (license license:expat))) (define-public rust-secret-service-1 (package (name "rust-secret-service") (version "1.1.3") (source (origin (method url-fetch) (uri (crate-uri "secret-service" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "12hxz35i7sw5xsdldz1c6776fmz98z4dwh5779jis98w61020xbd")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; XXX: see rust-dbus #:cargo-inputs (("rust-aes" ,rust-aes-0.6) ("rust-block-modes" ,rust-block-modes-0.7) ("rust-dbus" ,rust-dbus-0.2) ("rust-hkdf" ,rust-hkdf-0.10) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-num" ,rust-num-0.3) ("rust-rand" ,rust-rand-0.7) ("rust-sha2" ,rust-sha2-0.9)) #:phases (modify-phases %standard-phases (add-before 'check 'pre-check (lambda* (#:key inputs #:allow-other-keys) ;; Tests require a running X server. (system "Xvfb :1 &") (setenv "DISPLAY" ":1") ;; For the missing /etc/machine-id. (setenv "DBUS_FATAL_WARNINGS" "0") #t))))) (native-inputs `(("xorg-server" ,xorg-server-for-tests))) (inputs `(("dbus" ,dbus))) (home-page "https://github.com/hwchen/secret-service-rs.git") (synopsis "Library to interface with Secret Service API") (description "Library to interface with Secret Service API") (license (list license:expat license:asl2.0)))) (define-public rust-sourceview4-sys-0.2 (package (name "rust-sourceview4-sys") (version "0.2.0") (source (origin (method url-fetch) (uri (crate-uri "sourceview4-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "146l7fni9zc68rr1aim5di4mzrk22r8jxb96ww8fgp6f51np690v")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.10) ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.10) ("rust-gdk-sys" ,rust-gdk-sys-0.10) ("rust-gio-sys" ,rust-gio-sys-0.10) ("rust-glib-sys" ,rust-glib-sys-0.10) ("rust-gobject-sys" ,rust-gobject-sys-0.10) ("rust-gtk-sys" ,rust-gtk-sys-0.10) ("rust-libc" ,rust-libc-0.2) ("rust-pkg-config" ,rust-pkg-config-0.3) ("rust-system-deps" ,rust-system-deps-1)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)) #:phases (modify-phases %standard-phases (add-after 'configure 'fix-version-requirements (lambda* (#:key inputs vendor-dir #:allow-other-keys) (substitute* (map (lambda (dir) (string-append dir "/Cargo.toml")) (find-files vendor-dir "system-deps.*" #:directories? #t)) (("0.0.10") ,(package-version rust-version-compare-0.0))) #t))))) (native-inputs `(("pkg-config" ,pkg-config))) (inputs `(("atk" ,atk) ("cairo" ,cairo) ("glib" ,glib) ("gtk+" ,gtk+) ("gtksourceview" ,gtksourceview) ("pango" ,pango))) (home-page "https://gitlab.gnome.org/World/Rust/sourceview4-rs") (synopsis "FFI bindings for GtkSourceView 4") (description "FFI bindings for GtkSourceView 4") (license license:lgpl2.1+))) (define-public rust-sourceview4-0.2 (package (name "rust-sourceview4") (version "0.2.0") (source (origin (method url-fetch) (uri (crate-uri "sourceview4" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1c35bm98gmn93qralgjlippdjm2d6199j811qgrn1zd4iv3j3kv7")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-cairo-rs" ,rust-cairo-rs-0.9) ("rust-gdk" ,rust-gdk-0.13) ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.9) ("rust-gdk-sys" ,rust-gdk-sys-0.10) ("rust-gio" ,rust-gio-0.9) ("rust-gio-sys" ,rust-gio-sys-0.10) ("rust-glib" ,rust-glib-0.10) ("rust-glib-sys" ,rust-glib-sys-0.10) ("rust-gobject-sys" ,rust-gobject-sys-0.10) ("rust-gtk" ,rust-gtk-0.9) ("rust-gtk-sys" ,rust-gtk-sys-0.10) ("rust-libc" ,rust-libc-0.2) ("rust-pango" ,rust-pango-0.9) ("rust-sourceview4-sys" ,rust-sourceview4-sys-0.2)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)) #:phases (modify-phases %standard-phases (add-after 'configure 'fix-version-requirements (lambda* (#:key inputs vendor-dir #:allow-other-keys) (substitute* (map (lambda (dir) (string-append dir "/Cargo.toml")) (find-files vendor-dir "system-deps.*" #:directories? #t)) (("0.0.10") ,(package-version rust-version-compare-0.0))) #t))))) (native-inputs `(("pkg-config" ,pkg-config))) (inputs `(("atk" ,atk) ("cairo" ,cairo) ("glib" ,glib) ("gtk+" ,gtk+) ("gtksourceview" ,gtksourceview) ("pango" ,pango))) (home-page "https://gitlab.gnome.org/World/Rust/sourceview4-rs") (synopsis "API bindings for GtkSourceView 4") (description "API bindings for GtkSourceView 4") (license license:lgpl2.1+))) (define-public rust-sourceview4-for-fractal (package (inherit rust-sourceview4-0.2) (source (origin (method git-fetch) (uri (git-reference (url "https://gitlab.gnome.org/World/Rust/sourceview4-rs/") (commit "fa8819fa7ecbe56f44d951656d3825f468915754"))) (file-name "rust-sourceview4-0.2.0.tar.gz") (sha256 (base32 "0aib8385fxdpw79sasfzn6q11sqx3wigkb267if9fb12bagycgpk")))) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-gdk" ,rust-gdk-0.12) ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8) ("rust-gio" ,rust-gio-0.9) ("rust-gio-sys" ,rust-gio-sys-0.10) ("rust-glib" ,rust-glib-0.9) ("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-gtk" ,rust-gtk-0.8) ("rust-gtk-sys" ,rust-gtk-sys-0.9) ("rust-libc" ,rust-libc-0.2) ("rust-pango" ,rust-pango-0.8)))) (properties `((hidden? . #t)))))