aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-10-01 16:17:01 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-10-18 11:35:41 +0300
commit278f8a7de8b2a27f5250bb511fef0504ab33b6a1 (patch)
tree07dd7ff66b11e5a07cce12dec7c574273c7257fa
parentbd73bec121ab894f8b87856e6883fd8791d47f9f (diff)
downloadguix-278f8a7de8b2a27f5250bb511fef0504ab33b6a1.tar.gz
guix-278f8a7de8b2a27f5250bb511fef0504ab33b6a1.zip
gnu: Add rust-pangocairo-0.17.
* gnu/packages/crates-gtk.scm (rust-pangocairo-0.17): New variable. (rust-pangocairo-0.15): Inherit from rust-pangocairo-0.17.
-rw-r--r--gnu/packages/crates-gtk.scm47
1 files changed, 36 insertions, 11 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 0abfddcea4..e816c5ee41 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2187,8 +2187,43 @@ library.")
(("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-pangocairo-0.17
+ (package
+ (name "rust-pangocairo")
+ (version "0.17.10")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pangocairo" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1kr2b31034b8zif4r3lf4rniqphk2bxi2q7n8iwq2wrf3k5jkgw6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(;; FIXME: error[E0277]: `Errors` doesn't implement `std::fmt::Display`
+ #:tests? #f
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-cairo-rs" ,rust-cairo-rs-0.17)
+ ("rust-glib" ,rust-glib-0.17)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pango" ,rust-pango-0.17)
+ ("rust-pangocairo-sys" ,rust-pangocairo-sys-0.17))
+ #:cargo-development-inputs
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list pango))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "Rust bindings for the PangoCairo library")
+ (description
+ "This package provides Rust bindings for the @code{PangoCairo} library.")
+ (license license:expat)))
+
(define-public rust-pangocairo-0.15
(package
+ (inherit rust-pangocairo-0.17)
(name "rust-pangocairo")
(version "0.15.1")
(source
@@ -2199,7 +2234,6 @@ library.")
(sha256
(base32
"0rjk0clrjxah4kc0kybn7l7bxa5m5kpxkihxc2i7a6hx3xfa8xkq"))))
- (build-system cargo-build-system)
(arguments
`(;; FIXME: error[E0277]: `Errors` doesn't implement `std::fmt::Display`
#:tests? #f
@@ -2211,16 +2245,7 @@ library.")
("rust-pango" ,rust-pango-0.15)
("rust-pangocairo-sys" ,rust-pangocairo-sys-0.15))
#:cargo-development-inputs
- (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
- (native-inputs
- (list pkg-config))
- (inputs
- (list pango))
- (home-page "https://gtk-rs.org/")
- (synopsis "Rust bindings for the PangoCairo library")
- (description
- "Rust bindings for the PangoCairo library.")
- (license license:expat)))
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
(define-public rust-pangocairo-sys-0.17
(package
>2023-11-28gnu: alfis: Update to 0.8.4....* gnu/packages/rust-apps.scm (alfis): Update to 0.8.4. [source]: Add snippet to use packaged versions of dependencies. [cargo-inputs]: Add rust-spmc-0.3, rust-winapi-0.3. Replace rust-simplelog-0.11 with 0.12, rust-toml-0.5 with 0.7, rust-signature-1 with 2, rust-base64-0.13 with 0.21, rust-sqlite-0.26 with 0.30, rust-uuid-0.8 with 1, rust-lru-0.7 with 0.9, rust-open-2 with 3, rust-thread-priority-0.4 with 0.10. [inputs]: Add sqlite Efraim Flashner 2023-11-28gnu: rust-xremap: Remove older dependencies workaround....* gnu/packages/rust-apps.scm (rust-xremap)[source]: Remove snippet. Change-Id: If67c214293f60c8dd1a36cf9552abf7861d370f3 Efraim Flashner 2023-11-28gnu: rust-cargo-c: Update to 0.9.27....* gnu/packages/rust-apps.scm (rust-cargo-c): Update to 0.9.27. [cargo-inputs]: Add rust-windows-sys-0.48. Replace rust-cargo-0.69 with 0.74, rust-cbindgen-0.24 with 0.26, rust-itertools-0.10 with 0.11. [inputs]: Replace libgit2 with libgit2-1.6. Change-Id: Id697dd15d444fab60c55647c87d4d6689d69148b Efraim Flashner 2023-11-08gnu: Have vim packages use vim-build-system....* gnu/packages/vim.scm (vim-neocomplete, vim-neocomplete-snippets, vim-neosnippet, vim-scheme, vim-luna, vim-fugitive, vim-airline, vim-airline-themes, vim-syntastic, neovim-syntastic, vim-solarized, vim-rainbow, editorconfig-vim, neovim-packer, vim-guix-vim, vim-asyncrun, vim-dispatch, vim-gemini-vim, vim-eunuch, vim-slime, vim-vlime, vim-paredit, vim-surround, vim-gnupg, vim-ctrlp, vim-mucomplete, vim-gitgutter, vim-characterize, vim-tagbar, vim-nerdtree, vim-nerdcommander): [build-system]: Switch to vim-build-system. [arguments]: Adjust accordingly. * gnu/packages/code.scm (global)[arguments]: Move vim files to their new location. * gnu/packages/lisp.scm (txr), * gnu/packages/mail.scm (msmtp), * gnu/packages/rust-apps.scm (skim), * gnu/packages/vim.scm (vifm), * gnu/packages/wm.scm (fluxbox): Same. Co-authored-by: Efraim Flashner <efraim@flashner.co.il> Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Change-Id: I8b3e5d65d76a100c3dbddc1ae562b72966c2b304 Jonathan Scoresby 2023-10-26gnu: Add rust-cbindgen-0.26....* gnu/packages/rust-apps.scm (rust-cbindgen-0.26): New variable. (rust-cbindgen-0.24): Inherit from rust-cbindgen-0.26. Change-Id: Id17f8e251ceecc8ae0708dcfc19acfc5c56b824f Signed-off-by: John Kehayias <john.kehayias@protonmail.com> Tomas Volf 2023-10-22gnu: Add xremap-gnome....* gnu/packages/rust-apps.scm (xremap-gnome): New variable. Efraim Flashner 2023-10-22gnu: Add xremap-x11....* gnu/packages/rust-apps.scm (xremap-x11): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Aleksandr Vityazev 2023-10-22gnu: Add xremap-sway....* gnu/packages/rust-apps.scm (xremap-sway): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Aleksandr Vityazev 2023-10-22gnu: Add xremap-wlroots....* gnu/packages/rust-apps.scm (xremap-wlroots): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Aleksandr Vityazev 2023-10-22gnu: rust-xremap: Install shell completions....* gnu/packages/rust-apps.scm (rust-xremap)[arguments]: Add a phase to install the shell completions. Efraim Flashner 2023-10-22gnu: Add rust-xremap....* gnu/packages/rust-apps.scm (rust-xremap): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Aleksandr Vityazev 2023-10-18Revert "build: cargo-build-system: Disable tests by default."...This reverts commit 37667443074a6de29f7665868f102111d62f0af9. This change needs more discussion. Efraim Flashner 2023-10-18build: cargo-build-system: Disable tests by default....* guix/build-system/cargo.scm (cargo-build): Disable tests by default. * gnu/packages/admin.scm (greetd, wlgreet, du-dust), * gnu/packages/bioinformatics.scm (circtools, python-gseapy), * gnu/packages/crypto.scm (rust-minisign, b3sum), * gnu/packages/gnome.scm (librsvg), * gnu/packages/python-crypto.scm (python-blake3, python-cryptography-rust), * gnu/packages/python-xyz.scm (python-orjson), * gnu/packages/rust-apps.scm (agate, alfis, bat, diffr, drill, dutree, exa, fd, hexyl, hyperfine, i3status-rust, just, maturin, ripgrep, rot8, rust-swc, rust-cargo-edit, git-interactive-rebase-tool, rust-cbindgen, rust-cbindgen-0.24, rust-cbindgen-0.19, sniffglue, tectonic, treefmt, hex, tokei, vivid, watchexec, rbw, rust-analyzer, rust-cargo-c, rtss, skim, skim-0.7, svd2rust, swayhide, tealdeer, git-absorb, zoxide, htmlq), * gnu/packages/sequoia.scm (sequoia-sqv), * gnu/packages/syndication.scm (newsboat), * gnu/packages/terminals.scm (alacritty), * gnu/packages/text-editors.scm (kak-lsp, parinfer-rust), * gnu/packages/tree-sitter.scm (tree-sitter-cli), * gnu/packages/video.scm (rav1e), * gnu/packages/web.scm (monolith, castor) [arguments]: Enable tests. Efraim Flashner 2023-10-18gnu: rust-oorandom-11: Rename from rust-oorandom-11.1....* gnu/packages/crates-io.scm (rust-oorandom-11): Use new name. (rust-criterion-0.5, rust-criterion-0.4, rust-criterion-0.3, rust-salsa-0.17): Use new name. * gnu/packages/rust-apps.scm (rust-analyzer): Same. Efraim Flashner 2023-10-18gnu: rust-swc: Update to 1.2.124....* gnu/packages/rust-apps.scm (rust-swc): Update to 1.2.124. [source]: Add snippet to not hardcode dependency versions. [arguments]: Don't install package source. Don't skip tests. Add cargo-build-flags and cargo-test-flags to only build the swc_cli binary. Remove custom 'enable-unstable-phases, 'patch-build-failures phases. Use custom 'install phase. [cargo-inputs]: Add rust-abi-stable-0.10, rust-ahash-0.7, rust-ansi-term-0.12, rust-anyhow-1, rust-arrayvec-0.5, rust-arbitrary-1, rust-auto-impl-0.5, rust-auto-impl-0.4, rust-backtrace-0.3, rust-bincode-1, rust-bitflags-1, rust-browserslist-0.6, rust-cfg-if-0.1, rust-copyless-0.1, rust-debug-unreachable-0.1, rust-difference-2, rust-glob-0.3, rust-hex-0.4, rust-indexmap-1, rust-inflector-0.11, rust-lexical-5, rust-libloading-0.7, rust-lru-0.7, rust-mimalloc-rust-0.1, rust-normpath-0.2, rust-num-bigint-0.2, rust-owning-ref-0.4, rust-parking-lot-0.11, rust-parking-lot-core-0.8, rust-paw-0.8, rust-pmutil-0.5, rust-pretty-assertions-0.7, rust-pretty-assertions-0.6, rust-quote-1, rust-rayon-1, rust-rustc-hash-1, rust-semver-0.9, rust-serde-1, rust-serde-json-1, rust-serde-regex-1, rust-sha-1-0.9, rust-smallvec-1, rust-sourcemap-6, rust-string-cache-codegen-0.5, rust-structopt-0.3, rust-syn-1, rust-termcolor-1, rust-tracing-0.1, rust-tracing-subscriber-0.3, rust-typed-arena-2, rust-wasm-bindgen-0.2, rust-wasm-bindgen-futures-0.4, rust-unicode-width-0.1, rust-unicode-xid-0.2, rust-url-2. Replace rust-dashmap-3 with 4, rust-napi-0.5 with 2, rust-napi-build-0.2 with 1, rust-napi-derive-0.5 with 2, rust-ordered-float-1 with 2. Remove rust-fxhash-0.2, rust-jemallocator-0.3, rust-log-0.4, rust-mimalloc-0.1. [cargo-development-inputs]: Add rust-ansi-term-0.12, rust-dashmap-4, rust-hex-0.4, rust-ntest-0.7, rust-path-clean-0.1, rust-pretty-assertions-0.7, rust-reqwest-0.11, rust-sha-1-0.9, rust-url-2, rust-walkdir-2. Remove rust-num-bigint-0.2, rust-pretty-env-logger-0.3, rust-string-cache-codegen-0.5, rust-tempfile-3. Efraim Flashner 2023-10-16gnu: Add xsv....* gnu/packages/crates-io.scm (xsv): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Wilko Meyer 2023-10-12gnu: ripgrep: Prepare for cross-compiling....* gnu/packages/rust-apps.scm (ripgrep) [native-inputs]: Move pcre2 ... [inputs]: ... to here. Efraim Flashner 2023-09-28gnu: just: Install shell completions....* gnu/packages/rust-apps.scm (just)[arguments]: Add a phase to install the shell completions. Efraim Flashner 2023-09-28gnu: just: Install manpage....* gnu/packages/rust-apps.scm (just)[arguments]: Add phase to install manpage. Efraim Flashner 2023-09-28gnu: Add just....* gnu/packages/rust-apps.scm (just): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Andrew Jose 2023-09-09gnu: rust-analyzer: Update required dependencies version....Use pinned versions of different dependencies required by rust-analyzer@2022-01-10. * gnu/packages/crates-io.scm (rust-salsa-0.17): Require RUST-INDEXMAP-1.7. (rust-serde-path-to-error-0.1): Require RUST-SERDE-JSON-1.0.73. (rust-serde-repr-0.1): Require RUST-QUOTE-1.0.10, RUST-PROC-MACRO2-1.0.34, RUST-SERDE-JSON-1.0.73, RUST-TRYBUILD-1.0.19. * gnu/packages/rust-apps.scm (rust-analyzer): Adjust versions similarly. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Distopico 2023-09-09gnu: rust-analyzer: Fix build of version 2022-01-10....* gnu/packages/rust-apps.scm (rust-analyzer): Update dependency rust-notify-5-pre.13. This fixes the build of `rust-analyzer@2022-01-10`, which required a pinned version of `rust-notify` (`rust-notify-5-pre.13`) to compile and rust >= 1.64. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Distopico