[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/35: gnu: Add nqp-configure.
From: |
guix-commits |
Subject: |
08/35: gnu: Add nqp-configure. |
Date: |
Mon, 4 Mar 2024 04:53:39 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 89d603da19c19a77dab11558a6fdb7a19f543749
Author: Paul A. Patience <paul@apatience.com>
AuthorDate: Fri Apr 29 05:17:35 2022 +0000
gnu: Add nqp-configure.
* gnu/packages/perl6.scm (nqp-configure): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/perl6.scm | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
diff --git a/gnu/packages/perl6.scm b/gnu/packages/perl6.scm
index 35652cda17..b510a584f2 100644
--- a/gnu/packages/perl6.scm
+++ b/gnu/packages/perl6.scm
@@ -98,6 +98,60 @@ with native libraries.
@end itemize")
(license license:artistic2.0)))
+(define-public nqp-configure
+ (let ((commit "9b98931e0bfb8c4aac61590edf5074e63aa8ea4b"))
+ (package
+ (name "nqp-configure")
+ ;; NQP and Rakudo use the same version of nqp-configure.
+ ;; We may as well set nqp-configure's version to the same as theirs.
+ (version "2022.04")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Raku/nqp-configure")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1vc1q11kjb964jal9dhgf5vwp371a3rfw7gj987n33kzli7a10n0"))))
+ (build-system perl-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'create-makefile-and-manifest
+ (lambda _
+ (call-with-output-file "Makefile.PL"
+ (lambda (port)
+ (format port "
+use ExtUtils::MakeMaker;
+WriteMakefile(NAME => 'NQP::Config');\n")))
+ (call-with-output-file "MANIFEST"
+ (lambda (port)
+ (format port "
+LICENSE
+MANIFEST
+Makefile.PL
+README.md
+bin/make.nqp
+doc/Macros.md
+doc/NQP-Config.md
+lib/NQP/Config.pm
+lib/NQP/Config/Test.pm
+lib/NQP/Macros.pm
+t/10-config.t
+t/20-macros.t
+t/30-if-macro.t\n")))))
+ (add-after 'patch-source-shebangs 'patch-more-shebangs
+ (lambda _
+ (substitute* '("bin/make.nqp"
+ "lib/NQP/Config.pm")
+ (("/bin/sh") (which "sh"))))))))
+ (home-page "https://github.com/Raku/nqp-configure")
+ (synopsis "Configuration and build modules for NQP")
+ (description "This library provides support modules for NQP and Rakudo
+@file{Configure.pl} scripts.")
+ (license license:artistic2.0))))
+
(define-public nqp
(package
(name "nqp")
- branch master updated (f00f56514d -> 8850782392), guix-commits, 2024/03/04
- 16/35: gnu: perl6-json: Perl -> Raku., guix-commits, 2024/03/04
- 02/35: gnu: units: Update to 2.23., guix-commits, 2024/03/04
- 07/35: gnu: moarvm: Update to 2022.04., guix-commits, 2024/03/04
- 08/35: gnu: Add nqp-configure.,
guix-commits <=
- 06/35: gnu: rakudo: Remove trailing booleans., guix-commits, 2024/03/04
- 13/35: gnu: perl6-terminal-ansicolor: Perl -> Raku., guix-commits, 2024/03/04
- 31/35: gnu: perl6-test-meta: Update to 0.0.17., guix-commits, 2024/03/04
- 25/35: gnu: perl6-mime-base64: Update to 1.2.3., guix-commits, 2024/03/04
- 34/35: gnu: Remove libtommath-1.0., guix-commits, 2024/03/04
- 29/35: gnu: perl6-svg-plot: Perl -> Raku., guix-commits, 2024/03/04
- 32/35: gnu: perl6-test-mock: Update to 1.5-0.1130427., guix-commits, 2024/03/04
- 17/35: gnu: perl6-json-fast: Update to 0.17., guix-commits, 2024/03/04
- 21/35: gnu: perl6-json-unmarshal: Reindent., guix-commits, 2024/03/04
- 24/35: gnu: perl6-meta6: Update to 0.0.26., guix-commits, 2024/03/04