From fae670b1352c094fd4b5ae3aaeaf519d48105e55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Sun, 12 Jan 2025 10:53:01 +0100 Subject: [PATCH] gnu: Add chimerautils. * gnu/packages/linux.scm (chimerautils): New procedure. Change-Id: Ie4982283bcde55793cd97ace1e13fa1be740527e Reviewed-by: Nicolas Graves Signed-off-by: Sharlatan Hellseher --- gnu/packages/linux.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 41335789b575f9ef718eabc37c4bd631f6d69ef8..6529a44c6284aa4189ff540a58114d081919f012 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -152,6 +152,7 @@ #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages image) #:use-module (gnu packages kde-frameworks) + #:use-module (gnu packages libedit) #:use-module (gnu packages libevent) #:use-module (gnu packages libunwind) #:use-module (gnu packages libusb) @@ -3237,6 +3238,40 @@ block devices, UUIDs, TTYs, and many other tools.") (modify-inputs (package-inputs util-linux) (prepend eudev))))) +(define-public chimerautils + (package + (name "chimerautils") + (version "14.3.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/chimera-linux/chimerautils") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "10xs9i9w9an9jjq7vgkyfqfyzdisbb57c8c1rryjpfiz8dmi8g41")))) + (build-system meson-build-system) + (arguments + (list + #:tests? #f)) ;no test suite + (inputs (list acl + libedit + libxo + ncurses + openssl + zlib + (list zstd "lib"))) + (native-inputs (list flex bison pkg-config)) + (home-page "https://github.com/chimera-linux/chimerautils") + (synopsis "The FreeBSD-based core Linux userland from Chimera Linux") + (description + "This is a port of the FreeBSD userland for Linux provided by +the Chimera Linux distribution. Essentially, it is a collection of UNIX tools +such as @command{grep}, @command{cp}, @command{vi}, etc. and can be used as an +alternative to the corresponding implementations from the GNU project.") + (license license:bsd-2))) + (define-public ddate (package (name "ddate")