Subject: [bug#72474] [PATCH 04/30] gnu: Add erlang-provider-asn1.

From: Igor Goryachev <[email-masked]>
Date: Mon, 5 Aug 2024 13:44:37 +0300

* gnu/packages/erlang.scm (erlang-provider-asn1): New variable.

Change-Id: I12c57f721226d5256616650f634f129ad2f74fa2
---
 gnu/packages/erlang.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm
index 7bf26483d0..b6a31f26e9 100644
--- a/gnu/packages/erlang.scm
+++ b/gnu/packages/erlang.scm
@@ -565,6 +565,24 @@ (define-public erlang-providers
     (description "This package provides an Erlang providers library.")
     (license license:asl2.0)))
 
+(define-public erlang-provider-asn1
+  (package
+    (name "erlang-provider-asn1")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hexpm-uri "provider_asn1" version))
+       (sha256
+        (base32 "01gvpwdlkpmvzi280rn66f5ijlvap6k368yzpb0mmlv2hrcsbrrj"))))
+    (build-system rebar-build-system)
+    (inputs (list erlang-providers))
+    (synopsis "Compile ASN.1 with Rebar3")
+    (description "This package contains plugin for ASN.1 compilation from
+within Rebar3.")
+    (home-page "https://hex.pm/packages/provider_asn1")
+    (license license:expat)))
+
 (define-public erlang-relx
   (package
     (name "erlang-relx")
-- 
2.45.2