[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#71707] [PATCH v4 05/15] gnu: elixir-makeup: Update to 1.1.2, make r
From: |
Igor Goryachev |
Subject: |
[bug#71707] [PATCH v4 05/15] gnu: elixir-makeup: Update to 1.1.2, make reproducible. |
Date: |
Tue, 2 Jul 2024 09:55:07 +0300 |
* gnu/packages/elixir-xyz.scm (elixir-makeup): Update to 1.1.2, make
reproducible.
Change-Id: I43fca3e4d1f6d2a5e678940416710c126b51a59b
---
gnu/packages/elixir-xyz.scm | 36 +++++++++++++++++++++++++++++++-----
1 file changed, 31 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/elixir-xyz.scm b/gnu/packages/elixir-xyz.scm
index 69e3a53ff3..9f3601c427 100644
--- a/gnu/packages/elixir-xyz.scm
+++ b/gnu/packages/elixir-xyz.scm
@@ -24,6 +24,8 @@ (define-module (gnu packages elixir-xyz)
#:use-module (gnu packages compression)
#:use-module (gnu packages base)
#:use-module (gnu packages)
+ #:use-module (guix build mix-build-system)
+ #:use-module (guix build utils)
#:use-module (guix build-system gnu)
#:use-module (guix build-system mix)
#:use-module (guix download)
@@ -56,20 +58,44 @@ (define-public elixir-nimble-parsec
(define-public elixir-makeup
(package
(name "elixir-makeup")
- (version "1.1.0")
+ (version "1.1.2")
(source
(origin
(method url-fetch)
(uri (hexpm-uri name version))
(sha256
- (base32 "19jpprryixi452jwhws3bbks6ki3wni9kgzah3srg22a3x8fsi8a"))))
+ (base32 "1b3civqrznn3dxqa3iybwbpgj8dj6f7q1zlgr8gd5jzvh5mmdqfc"))))
(build-system mix-build-system)
(propagated-inputs (list elixir-nimble-parsec))
- (arguments (list #:tests? #f)) ; no tests
+ (arguments
+ `(#:tests? #f ; no tests
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'make-reproducible
+ (lambda _
+ (substitute* "lib/makeup/token/utils.ex"
+ (("@precedence
Hierarchy.hierarchy_to_precedence\\(@hierarchy\\)")
+ ""))
+ (substitute* "lib/makeup/token/utils.ex"
+ (("@token_to_class_map
Hierarchy.style_to_class_map\\(@hierarchy\\)")
+ ""))
+ (substitute* "lib/makeup/token/utils.ex"
+ (("@standard_token_types Map.keys\\(@token_to_class_map\\)")
+ ""))
+ (substitute* "lib/makeup/token/utils.ex"
+ (("@precedence")
+ "Hierarchy.hierarchy_to_precedence(@hierarchy)"))
+ (substitute* "lib/makeup/token/utils.ex"
+ (("@token_to_class_map")
+ "Hierarchy.style_to_class_map(@hierarchy)"))
+ (substitute* "lib/makeup/token/utils.ex"
+ (("@standard_token_types")
+ "Map.keys(token_to_class_map())")))))))
(synopsis "Syntax highlighter for source code")
(description
- "Makeup is a generic syntax highlighter in the style of Pygments suitable
for use in code hosting,
-forums, wikis or other applications that need to prettify source code.")
+ "Makeup is a generic syntax highlighter in the style of Pygments suitable
+for use in code hosting, forums, wikis or other applications that need to
prettify
+source code.")
(home-page "https://hexdocs.pm/makeup/")
(license license:bsd-2)))
--
2.45.2
- [bug#71707] [PATCH v4 03/15] gnu: elixir: Update to 1.17.1., (continued)
- [bug#71707] [PATCH v4 03/15] gnu: elixir: Update to 1.17.1., Igor Goryachev, 2024/07/02
- [bug#71707] [PATCH v4 09/15] gnu: elixir-castore: Update to 1.0.7., Igor Goryachev, 2024/07/02
- [bug#71707] [PATCH v4 08/15] gnu: elixir-bunt: Update to 1.0.0., Igor Goryachev, 2024/07/02
- [bug#71707] [PATCH v4 11/15] gnu: elixir-credo: Update to 1.7.7, fix lint warnings., Igor Goryachev, 2024/07/02
- [bug#71707] [PATCH v4 13/15] gnu: elixir-dialyxir: Update to 1.4.3., Igor Goryachev, 2024/07/02
- [bug#71707] [PATCH v4 15/15] build-sysem/mix: Preserve code paths., Igor Goryachev, 2024/07/02
- [bug#71707] [PATCH v4 06/15] gnu: elixir-jason: Fix lint warnings., Igor Goryachev, 2024/07/02
- [bug#71707] [PATCH v4 10/15] gnu: elixir-excoveralls: Update to 0.18.1, fix lint warnings., Igor Goryachev, 2024/07/02
- [bug#71707] [PATCH v4 02/15] gnu: elixir-hex: Remove redundant directory, fix lint warnings., Igor Goryachev, 2024/07/02
- [bug#71707] [PATCH v4 04/15] gnu: elixir-nimble-parsec: Update to 1.4.0., Igor Goryachev, 2024/07/02
- [bug#71707] [PATCH v4 05/15] gnu: elixir-makeup: Update to 1.1.2, make reproducible.,
Igor Goryachev <=
- [bug#71707] [PATCH v4 07/15] gnu: elixir-file-system: Update to 1.0.0., Igor Goryachev, 2024/07/02
- [bug#71707] [PATCH v4 12/15] gnu: elixir-erlex: Update to 0.2.7., Igor Goryachev, 2024/07/02
- [bug#71707] [PATCH v4 14/15] gnu: elixir-machete: Update to 0.3.3., Igor Goryachev, 2024/07/02
- bug#71707: [PATCH v4 01/15] gnu: elixir: Fix mix substitute., Andrew Tropin, 2024/07/02