diff options
| author | Daniel Khodabakhsh <d@niel.khodabakh.sh> | 2026-02-06 21:58:19 -0800 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-02-08 11:11:47 +0100 |
| commit | a643b04de3a08c8f00a3eefbb2890e289d5d511a (patch) | |
| tree | a6100f54f18f9e120a34b052a1aa752823445655 /gnu/packages/rust-apps.scm | |
| parent | 446bbceac1ff1efa4984f81fb68d45a76f9f370d (diff) | |
gnu: Add vtracer.
* gnu/packages/rust-apps.scm (vtracer): New variable.
* gnu/packages/rust-crates.scm: Add crates for vtracer.
Change-Id: I7e77f7d7a1b7bbdafb926e6e2a745d280ad74234
Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu/packages/rust-apps.scm')
| -rw-r--r-- | gnu/packages/rust-apps.scm | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index 40ad280299b..8ac7a6ade19 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -46,6 +46,7 @@ ;;; Copyright © 2025 Julian Flake <julian@flake.de> ;;; Copyright © 2025 Ahmad Jarara <ajarara@fastmail.com> ;;; Copyright © 2025 Cayetano Santos <csantosb@inventati.org> +;;; Copyright © 2026 Daniel Khodabakhsh <d@niel.khodabakh.sh> ;;; ;;; This file is part of GNU Guix. ;;; @@ -3133,6 +3134,44 @@ will be translated to either truecolor (24-bit) ANSI codes or 8-bit codes for older terminal emulators.") (license (list license:expat license:asl2.0)))) +(define-public vtracer + (package + (name "vtracer") + (version "0.6.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "vtracer" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "035x0dbbyi3nnyc2ajawdjq9j6slpsq2k2hmyf3p77n9qn3p2c62")))) + (build-system cargo-build-system) + (native-inputs (list maturin python-wrapper)) + (inputs (cargo-inputs 'vtracer)) + (arguments + (list + #:install-source? #f + #:imported-modules + `(,@%cargo-build-system-modules ,@%pyproject-build-system-modules) + #:modules '((guix build cargo-build-system) + ((guix build pyproject-build-system) + #:prefix py:) + (guix build utils)) + #:phases + #~(modify-phases %standard-phases + (add-after 'build 'build-python-module + (assoc-ref py:%standard-phases + 'build)) + (add-after 'build-python-module 'install-python-module + (assoc-ref py:%standard-phases + 'install))))) + (home-page "http://www.visioncortex.org/vtracer") + (synopsis "Raster to vector graphics converter with Python bindings") + (description + "VTracer is a command-line tool and library to convert raster images (like +PNG and JPEG) into vector graphics (SVG).") + (license (list license:expat license:asl2.0)))) + (define-public watchexec (package (name "watchexec") |
