diff options
author | NoƩ Lopez <noelopez@free.fr> | 2024-12-03 23:34:23 +0800 |
---|---|---|
committer | Hilton Chain <hako@ultrarare.space> | 2024-12-31 10:56:36 +0800 |
commit | e6cdfe00820548d419df0cbae178de2e33f29d66 (patch) | |
tree | c6dd34aff78ea24ed44fefbcedb7cac90f8d1be0 | |
parent | 9de53159a9e6d6eafdad308255b5b0ca0acbd44d (diff) |
gnu: Add zig-zul
* gnu/packages/zig-xyz.scm (zig-zul): New variable.
Modified-by: Hilton Chain <hako@ultrarare.space>
Signed-off-by: Hilton Chain <hako@ultrarare.space>
Change-Id: Id871d577b8cb87144c7bb5c5102f987fe78d6620
-rw-r--r-- | gnu/packages/zig-xyz.scm | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/zig-xyz.scm b/gnu/packages/zig-xyz.scm index 8481d2dd3f..8888fd5da6 100644 --- a/gnu/packages/zig-xyz.scm +++ b/gnu/packages/zig-xyz.scm @@ -490,3 +490,39 @@ Language Server Protocol} for the Zig programming language.") (inputs (modify-inputs (package-inputs base) (replace "zig" zig-0.13)))))) + +(define-public zig-zul + ;; No releases. + (let ((commit "ae0c27350c0db6b460f22cba30b6b0c4a02d1ffd") + (revision "0")) + (package + (name "zig-zul") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/karlseguin/zul") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0h0581hhm6xzhb0s43aa357x4c4cxfvfpy24q4f5ss9jrgfc1g52")))) + (build-system zig-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + ;; These tests can pass independently, but may cause + ;; ConnectionRefused error when running in order. + (add-before 'check 'skip-problematic-tests + (lambda _ + (substitute* "src/http.zig" + ((".*http\\.(Request|Response).*" line) + (string-append + line "if (true) return error.SkipZigTest;")))))))) + (home-page "https://www.goblgobl.com/zul/") + (synopsis "Zig utility library") + (description + "@code{zul} enhances Zig's standard library by wrapping common tasks +(e.g., reading lines from a file) with simpler APIs and adding new functionality +(e.g., @code{UUID} type).") + (license license:expat)))) |