From 51b8efb8506c1528ce2485a1f6507fe65fbc1720 Mon Sep 17 00:00:00 2001 From: Giacomo Leidi Date: Mon, 15 Sep 2025 22:57:10 +0200 Subject: [PATCH] gnu: Add elixir-earmark-ast-dsl. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/elixir-markup.scm: New file. (elixir-earmark-ast-dsl): New variable. * gnu/local.mk: Add it. Change-Id: I95c847ad8e68227db14a684e92138897009fdea1 Signed-off-by: Ludovic Courtès --- gnu/local.mk | 1 + gnu/packages/elixir-markup.scm | 46 ++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 gnu/packages/elixir-markup.scm diff --git a/gnu/local.mk b/gnu/local.mk index 31534b32ea9f1eee8dcdfad9a126da3a3c8c9c54..1641aec6a9b5b1c6c8e6a42978fc5626b78718cf 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -261,6 +261,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/electronics.scm \ %D%/packages/elf.scm \ %D%/packages/elixir.scm \ + %D%/packages/elixir-markup.scm \ %D%/packages/elixir-xyz.scm \ %D%/packages/elm.scm \ %D%/packages/embedded.scm \ diff --git a/gnu/packages/elixir-markup.scm b/gnu/packages/elixir-markup.scm new file mode 100644 index 0000000000000000000000000000000000000000..f3e51153963116914831337b8c6440ee0113e102 --- /dev/null +++ b/gnu/packages/elixir-markup.scm @@ -0,0 +1,46 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2025 Giacomo Leidi +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages elixir-markup) + #:use-module (gnu packages elixir-xyz) + #:use-module (guix build-system mix) + #:use-module (guix download) + #:use-module (guix gexp) + #:use-module ((guix licenses) + #:prefix license:) + #:use-module (guix packages)) + +(define-public elixir-earmark-ast-dsl + (package + (name "elixir-earmark-ast-dsl") + (version "0.3.7") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "earmark_ast_dsl" version)) + (sha256 + (base32 "1c90204jcz1pbxxdxmvwr32y663jwvpn05izqp7zmqlp8yknzlhj")))) + (build-system mix-build-system) + (synopsis + "Toolset to generate EarmarkParser AST Nodes") + (description + "@code{EarmarkAstDsl} is a toolset to generate @code{EarmarkParser} +conformant AST Nodes. Its main purpose is to remove boilerplate code from +Earmark and @code{EarmarkParser} tests.") + (home-page "https://hexdocs.pm/earmark_ast_dsl/") + (license license:asl2.0)))