[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#44492] [PATCH 29/52] gnu: Add rust-letter-avatar-1.
From: |
Leo Prikler |
Subject: |
[bug#44492] [PATCH 29/52] gnu: Add rust-letter-avatar-1. |
Date: |
Wed, 24 Feb 2021 12:11:12 +0100 |
* gnu/packages/crates-gtk.scm (rust-letter-avatar-1): New variable.
---
gnu/packages/crates-gtk.scm | 42 +++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index d562b07480..8e521cadd6 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -1598,6 +1598,48 @@
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-pango-0.9
(package
(name "rust-pango")
--
2.30.1
- [bug#44492] [PATCH 31/52] gnu: Add rust-libhandy-0.5., (continued)
- [bug#44492] [PATCH 31/52] gnu: Add rust-libhandy-0.5., Leo Prikler, 2021/02/24
- [bug#44492] [PATCH 33/52] gnu: Add rust-lmdb-sys-0.8., Leo Prikler, 2021/02/24
- [bug#44492] [PATCH 30/52] gnu: Add rust-libhandy-sys-0.5., Leo Prikler, 2021/02/24
- [bug#44492] [PATCH 35/52] gnu: Add rust-mdl-1., Leo Prikler, 2021/02/24
- [bug#44492] [PATCH 43/52] gnu: Add rust-secret-service-1., Leo Prikler, 2021/02/24
- [bug#44492] [PATCH 37/52] gnu: Add rust-aesni-0.10., Leo Prikler, 2021/02/24
- [bug#44492] [PATCH 36/52] gnu: Add rust-aes-soft-0.6., Leo Prikler, 2021/02/24
- [bug#44492] [PATCH 39/52] gnu: Add rust-block-modes-0.7., Leo Prikler, 2021/02/24
- [bug#44492] [PATCH 48/52] gnu: Add rust-sourceview4-sys-0.2., Leo Prikler, 2021/02/24
- [bug#44492] [PATCH 49/52] gnu: Add rust-sourceview4-0.2., Leo Prikler, 2021/02/24
- [bug#44492] [PATCH 29/52] gnu: Add rust-letter-avatar-1.,
Leo Prikler <=
- [bug#44492] [PATCH 32/52] gnu: Add rust-loggerv-0.7., Leo Prikler, 2021/02/24
- [bug#44492] [PATCH 34/52] gnu: Add rust-lmdb-0.8., Leo Prikler, 2021/02/24
- [bug#44492] [PATCH 38/52] gnu: Add rust-aes-0.6., Leo Prikler, 2021/02/24
- [bug#44492] [PATCH 44/52] gnu: Add rust-atk-sys-0.10., Leo Prikler, 2021/02/24
- [bug#44492] [PATCH 40/52] gnu: Add rust-hmac-0.10., Leo Prikler, 2021/02/24
- [bug#44492] [PATCH 46/52] gnu: Add rust-gtk-sys-0.10., Leo Prikler, 2021/02/24
- [bug#44492] [PATCH 47/52] gnu: Add rust-gtk-0.9., Leo Prikler, 2021/02/24
- [bug#44492] [PATCH 50/52] gnu: Add rust-sourceview4-for-fractal., Leo Prikler, 2021/02/24
- [bug#44492] [PATCH 01/52] gnu: Add rust-ruma-identifiers-validation-0.1., Nicolas Goaziou, 2021/02/24