[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
71/78: gnu: gnucobol: Remove pregenerated files.
From: |
guix-commits |
Subject: |
71/78: gnu: gnucobol: Remove pregenerated files. |
Date: |
Fri, 23 Feb 2024 03:12:16 -0500 (EST) |
sharlatan pushed a commit to branch go-team
in repository guix.
commit 2859520dff0eb714d5dbf58b88f61ec153f5e954
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Feb 22 13:36:56 2024 +0200
gnu: gnucobol: Remove pregenerated files.
* gnu/packages/cobol.scm (gnucobol)[source]: Add snippet to remove some
pregenerated files.
[native-inputs]: Add bison, flex.
Change-Id: I1b08b1a10505808527fcee4d136668cbdc504fee
---
gnu/packages/cobol.scm | 20 +++++++++++++++++---
1 file changed, 17 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/cobol.scm b/gnu/packages/cobol.scm
index b864dfff0f..9e9be5122a 100644
--- a/gnu/packages/cobol.scm
+++ b/gnu/packages/cobol.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2017, 2018, 2021-2023 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2017, 2018, 2021-2024 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -23,7 +23,9 @@
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix gexp)
+ #:use-module (gnu packages bison)
#:use-module (gnu packages dbm)
+ #:use-module (gnu packages flex)
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages perl)
@@ -42,7 +44,17 @@
version ".tar.xz"))
(sha256
(base32
- "1qifkkrmscc5csri1l4rm9pbik74c3pc5za1rzx7jizddks8md1v"))))
+ "1qifkkrmscc5csri1l4rm9pbik74c3pc5za1rzx7jizddks8md1v"))
+ (snippet
+ #~(begin (use-modules (guix build utils))
+ ;; Remove some files generated by bison and flex.
+ (for-each delete-file
+ '("cobc/parser.c"
+ "cobc/parser.h"
+ "cobc/ppparse.c"
+ "cobc/ppparse.h"
+ "cobc/pplex.c"
+ "cobc/scanner.c"))))))
(arguments
(list
#:configure-flags
@@ -62,7 +74,9 @@
(lambda _ (setenv "TERM" "xterm-256color"))))
#:test-target "checkall"))
(native-inputs
- `(("perl" ,perl)
+ `(("bison" ,bison)
+ ("flex" ,flex)
+ ("perl" ,perl)
("newcob" ,(origin
(method url-fetch)
(uri
"https://www.itl.nist.gov/div897/ctg/suites/newcob.val.Z")
- 24/78: gnu: font-intel-one-mono: Update to 1.3.0., (continued)
- 24/78: gnu: font-intel-one-mono: Update to 1.3.0., guix-commits, 2024/02/23
- 25/78: gnu: font-intel-one-mono: Split outputs for "out", "ttf" and "woff"., guix-commits, 2024/02/23
- 33/78: gnu: emacs-eglot: Update to 1.17., guix-commits, 2024/02/23
- 51/78: gnu: emacs-jinx: Update to 1.2., guix-commits, 2024/02/23
- 74/78: gnu: Add go-go-etcd-io-gofail., guix-commits, 2024/02/23
- 73/78: gnu: tlpui: Fix build., guix-commits, 2024/02/23
- 63/78: gnu: emacs-ox-tufte: Update to 4.0.4., guix-commits, 2024/02/23
- 50/78: gnu: emacs-gptel: Update to 0.7.0., guix-commits, 2024/02/23
- 35/78: gnu: emacs-excorporate: Update to 1.1.2., guix-commits, 2024/02/23
- 77/78: gnu: Remove go-golang-org-x-net-html., guix-commits, 2024/02/23
- 71/78: gnu: gnucobol: Remove pregenerated files.,
guix-commits <=
- 66/78: gnu: emacs-tempel: Update to 1.1., guix-commits, 2024/02/23
- 48/78: gnu: emacs-flymake-mypy: Update to 0.3.1., guix-commits, 2024/02/23
- 69/78: gnu: emacs-visual-fill-column: Update to 2.5.2., guix-commits, 2024/02/23
- 62/78: gnu: emacs-org-fc: Update to 0.5.1., guix-commits, 2024/02/23
- 64/78: gnu: emacs-pg: Update to 0.28., guix-commits, 2024/02/23
- 75/78: gnu: go-go-etcd-io-bbolt: Move to (gnu packages golang-xyz)., guix-commits, 2024/02/23
- 59/78: gnu: emacs-osm: Update to 1.3., guix-commits, 2024/02/23
- 70/78: gnu: emacs-yeetube: Update to 2.1.2., guix-commits, 2024/02/23
- 54/78: gnu: emacs-mastodon: Update to 1.0.14., guix-commits, 2024/02/23
- 55/78: gnu: emacs-meow: Update to 1.4.5., guix-commits, 2024/02/23