mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
gnu: Add vtracer.
* gnu/packages/rust-apps.scm (vtracer): New variable. * gnu/packages/rust-crates.scm (lookup-cargo-inputs)[vtracer]: New entry. Change-Id: I7e77f7d7a1b7bbdafb926e6e2a745d280ad74234
This commit is contained in:
parent
8798a6be8d
commit
f0c07b9ae6
2 changed files with 119 additions and 0 deletions
|
|
@ -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.
|
||||
;;;
|
||||
|
|
@ -3134,6 +3135,42 @@ 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? #false
|
||||
#: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")
|
||||
|
|
|
|||
|
|
@ -58808,6 +58808,88 @@
|
|||
rust-windows-x86-64-msvc-0.48.5
|
||||
rust-windows-x86-64-msvc-0.52.6
|
||||
rust-yaml-rust-0.4.5))
|
||||
(vtracer => (list
|
||||
rust-adler-1.0.2
|
||||
rust-adler32-1.2.0
|
||||
rust-ansi-term-0.12.1
|
||||
rust-atty-0.2.14
|
||||
rust-autocfg-1.5.0
|
||||
rust-bit-vec-0.6.3
|
||||
rust-bitflags-1.3.2
|
||||
rust-bitflags-2.9.4
|
||||
rust-bumpalo-3.19.0
|
||||
rust-bytemuck-1.24.0
|
||||
rust-byteorder-1.5.0
|
||||
rust-cfg-if-1.0.4
|
||||
rust-clap-2.34.0
|
||||
rust-color-quant-1.1.0
|
||||
rust-crc32fast-1.5.0
|
||||
rust-crossbeam-deque-0.8.6
|
||||
rust-crossbeam-epoch-0.9.18
|
||||
rust-crossbeam-utils-0.8.21
|
||||
rust-deflate-0.8.6
|
||||
rust-either-1.15.0
|
||||
rust-fastrand-2.3.0
|
||||
rust-flo-curves-0.3.1
|
||||
rust-getrandom-0.2.16
|
||||
rust-gif-0.11.4
|
||||
rust-hermit-abi-0.1.19
|
||||
rust-image-0.23.14
|
||||
rust-indoc-1.0.9
|
||||
rust-itertools-0.8.2
|
||||
rust-jpeg-decoder-0.1.22
|
||||
rust-js-sys-0.3.81
|
||||
rust-libc-0.2.177
|
||||
rust-lock-api-0.4.14
|
||||
rust-log-0.4.28
|
||||
rust-memoffset-0.9.1
|
||||
rust-miniz-oxide-0.3.7
|
||||
rust-miniz-oxide-0.4.4
|
||||
rust-num-integer-0.1.46
|
||||
rust-num-iter-0.1.45
|
||||
rust-num-rational-0.3.2
|
||||
rust-num-traits-0.2.19
|
||||
rust-once-cell-1.21.3
|
||||
rust-parking-lot-0.12.5
|
||||
rust-parking-lot-core-0.9.12
|
||||
rust-png-0.16.8
|
||||
rust-proc-macro2-1.0.101
|
||||
rust-pyo3-0.19.2
|
||||
rust-pyo3-build-config-0.19.2
|
||||
rust-pyo3-ffi-0.19.2
|
||||
rust-pyo3-macros-0.19.2
|
||||
rust-pyo3-macros-backend-0.19.2
|
||||
rust-quote-1.0.41
|
||||
rust-rayon-1.11.0
|
||||
rust-rayon-core-1.13.0
|
||||
rust-redox-syscall-0.5.18
|
||||
rust-roots-0.0.6
|
||||
rust-rustversion-1.0.22
|
||||
rust-scoped-threadpool-0.1.9
|
||||
rust-scopeguard-1.2.0
|
||||
rust-smallvec-1.15.1
|
||||
rust-strsim-0.8.0
|
||||
rust-syn-1.0.109
|
||||
rust-syn-2.0.106
|
||||
rust-target-lexicon-0.12.16
|
||||
rust-textwrap-0.11.0
|
||||
rust-tiff-0.6.1
|
||||
rust-unicode-ident-1.0.19
|
||||
rust-unicode-width-0.1.14
|
||||
rust-unindent-0.1.11
|
||||
rust-vec-map-0.8.2
|
||||
rust-visioncortex-0.8.9
|
||||
rust-wasi-0.11.1+wasi-snapshot-preview1
|
||||
rust-wasm-bindgen-0.2.104
|
||||
rust-wasm-bindgen-backend-0.2.104
|
||||
rust-wasm-bindgen-macro-0.2.104
|
||||
rust-wasm-bindgen-macro-support-0.2.104
|
||||
rust-wasm-bindgen-shared-0.2.104
|
||||
rust-weezl-0.1.10
|
||||
rust-winapi-0.3.9
|
||||
rust-winapi-i686-pc-windows-gnu-0.4.0
|
||||
rust-winapi-x86-64-pc-windows-gnu-0.4.0
|
||||
rust-windows-link-0.2.1))
|
||||
(wallust =>
|
||||
(list rust-adler2-2.0.0
|
||||
rust-aho-corasick-1.1.3
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue