diff options
author | Igor Goryachev via Guix-patches via <guix-patches@gnu.org> | 2024-08-05 13:44:46 +0300 |
---|---|---|
committer | Andrew Tropin <andrew@trop.in> | 2024-08-05 17:14:57 +0400 |
commit | 1bfc5418f2f69cdd3fd441ac9bf175963ec6f832 (patch) | |
tree | 80f07f6ee87205e0d5473e204c940fdd42f2c50f /gnu/packages/erlang-xyz.scm | |
parent | 83905e1dcd30fbbea6781986313d56d2df6e597d (diff) | |
download | guix-1bfc5418f2f69cdd3fd441ac9bf175963ec6f832.tar.gz guix-1bfc5418f2f69cdd3fd441ac9bf175963ec6f832.zip |
gnu: Add erlang-jiffy.
* gnu/packages/erlang-xyz.scm (erlang-jiffy): New variable.
Change-Id: I44918d5f1c3ed158cc6c65bad05b684744ebecd9
Signed-off-by: Andrew Tropin <andrew@trop.in>
Diffstat (limited to 'gnu/packages/erlang-xyz.scm')
-rw-r--r-- | gnu/packages/erlang-xyz.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/erlang-xyz.scm b/gnu/packages/erlang-xyz.scm index b3e8d13ad7..81dfe1c5de 100644 --- a/gnu/packages/erlang-xyz.scm +++ b/gnu/packages/erlang-xyz.scm @@ -19,6 +19,7 @@ (define-module (gnu packages erlang-xyz) #:use-module (gnu packages) #:use-module (gnu packages erlang) + #:use-module (gnu packages python) #:use-module (guix build-system rebar) #:use-module (guix download) #:use-module (guix gexp) @@ -62,6 +63,32 @@ Erlang and Elixir.") (home-page "https://hex.pm/packages/jose") (license license:expat))) +(define-public erlang-jiffy + (package + (name "erlang-jiffy") + (version "1.1.2") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "jiffy" version)) + (sha256 + (base32 "10gkbi48in96bzkv7f2cqw9119krpd40whcsn0yd7fr0lx1bqqdv")))) + (build-system rebar-build-system) + (native-inputs (list erlang-pc + python)) ; for tests + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-before 'build 'set-environment + (lambda _ + (setenv "HOME" "/tmp") + (setenv "CC" "gcc")))))) + (synopsis "JSON Decoder/Encoder") + (description "This package provides JSON Decoder/Encoder for Erlang.") + (home-page "https://hex.pm/packages/jiffy") + (license license:expat))) + (define-public erlang-p1-utils (package (name "erlang-p1-utils") |