From 394011bc053ca9bc669b004ea830dc325f78a9aa Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Fri, 3 Jan 2025 12:09:35 +0200 Subject: [PATCH] gnu: Add rust-edit-0.1. * gnu/packages/crates-io.scm (rust-edit-0.1): New variable. Change-Id: I6e12be875e2a1b1851564795071ebfaf5af3e5ef --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 783816879a..fa514c2fbb 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -22052,6 +22052,28 @@ (define-public rust-ecb-0.1 (description "Electronic Codebook (ECB) block cipher mode of operation") (license license:expat))) +(define-public rust-edit-0.1 + (package + (name "rust-edit") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "edit" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02dan6bg9pcj42ny48g8fq9f76w30c826n4gihy1d1s7fq78cr7k")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-shell-words" ,rust-shell-words-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-which" ,rust-which-4)))) + (home-page "https://github.com/milkey-mouse/edit") + (synopsis "Open a file in the default text editor") + (description + "This package provides functions to open a file in the default text editor.") + (license license:cc0))) + (define-public rust-edit-distance-2 (package (name "rust-edit-distance")