guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 5cea492dd20a9919c402256e7b5d2b223a061431
Author: Anderson Torres <[email protected]>
AuthorDate: Fri Jun 5 09:10:20 2026 -0300
gnu: dparser: Move to (gnu packages compiler-tools).
* gnu/packages/compiler-tools.scm: Move to here...
* gnu/packages/language.scm (dparser): ...from here.
Define as a deprecated variable.
Merges: https://codeberg.org/guix/guix/pulls/9161
Signed-off-by: Nguyễn Gia Phong <[email protected]>
---
gnu/packages/compiler-tools.scm | 39 ++++++++++++++++++++++++++++++++++++++-
gnu/packages/language.scm | 36 ++++--------------------------------
2 files changed, 42 insertions(+), 33 deletions(-)
diff --git a/gnu/packages/compiler-tools.scm b/gnu/packages/compiler-tools.scm
index be40dc4381..370830bd79 100644
--- a/gnu/packages/compiler-tools.scm
+++ b/gnu/packages/compiler-tools.scm
@@ -4,7 +4,7 @@
;;; Copyright © 2017, 2020, 2021 Sergei Trofimovich <[email protected]>
;;; Copyright © 2018, 2022 Tobias Geerinckx-Rice <[email protected]>
;;; Copyright © 2021 Foo Chuan Wei <[email protected]>
-;;; Copyright © 2024 Janneke Nieuwenhuizen <[email protected]>
+;;; Copyright © 2024-2025 Janneke Nieuwenhuizen <[email protected]>
;;; Copyright © 2025 Alexey Abramov <[email protected]>
;;; Copyright © 2025 Anderson Torres <[email protected]>
;;;
@@ -75,6 +75,43 @@ consist of a set of LALR(1) parsing tables and a driver
routine written in the
C programming language.")
(license license:public-domain)))
+(define-public dparser
+ (package
+ (name "dparser")
+ (version "1.33a")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jplevyak/dparser/")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0vzfi7d573qsmfxkgnzqkalhv06i2zc8hm0pwcgrgj8382g01zg1"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:test-target "test"
+ #:make-flags
+ #~(list
+ (string-append "CC=" #$(cc-for-target))
+ (string-append "PREFIX=" #$output))
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure))))
+ (home-page "https://dparser.sourceforge.net/")
+ (synopsis "Scannerless GLR parser generator")
+ (description
+ "DParser is scannerless GLR parser generator. The form of the text to be
+parsed can be specified using a combination of regular expressions and grammar
+productions. Because of the parsing technique, a scannerless GLR parser based
+on the Tomita algorithm the grammar can be ambiguous, right or left recursive,
+have any number of null productions, and because there is no separate
+tokenizer, can include whitespace in terminals and have terminals which are
+prefixes of other terminals.")
+ (license (list license:bsd-3))))
+
(define-public flex
(package
(name "flex")
diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm
index b9f8fe52df..e12ddbd08e 100644
--- a/gnu/packages/language.scm
+++ b/gnu/packages/language.scm
@@ -85,6 +85,7 @@
#:use-module (guix build-system perl)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system qt)
+ #:use-module (guix deprecation)
#:use-module (guix download)
#:use-module (guix gexp)
#:use-module (guix git-download)
@@ -1257,35 +1258,6 @@ forms, and about 300,000 distinct lemmas.")
tokenizer, detokenizer, truecaser and punctuation normalizer.")
(license license:expat)))
-(define-public dparser
- (package
- (name "dparser")
- (version "1.33a")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/jplevyak/dparser/")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0vzfi7d573qsmfxkgnzqkalhv06i2zc8hm0pwcgrgj8382g01zg1"))))
- (build-system gnu-build-system)
- (arguments
- (list #:make-flags #~(list
- (string-append "CC=" #$(cc-for-target))
- (string-append "PREFIX=" #$output))
- #:phases #~(modify-phases %standard-phases
- (delete 'configure))
- #:test-target "test"))
- (synopsis "Scannerless GLR parser generator")
- (description
- "DParser is scannerless GLR parser generator. The form of the text to be
-parsed can be specified using a combination of regular expressions and grammar
-productions. Because of the parsing technique, a scannerless GLR parser based
-on the Tomita algorithm the grammar can be ambiguous, right or left recursive,
-have any number of null productions, and because there is no separate
-tokenizer, can include whitespace in terminals and have terminals which are
-prefixes of other terminals.")
- (home-page "https://dparser.sourceforge.net/")
- (license (list license:bsd-3))))
+;; Deprecated on 2026-06-05.
+(define-deprecated/public-alias dparser
+ (@ (gnu packages compiler-tools) dparser))