* [bug#75282] [PATCH] gnu: Add tclap.
@ 2025-01-02 12:57 Lars Bilke
2025-01-02 19:59 ` Liliana Marie Prikler
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Lars Bilke @ 2025-01-02 12:57 UTC (permalink / raw)
To: 75282; +Cc: Lars Bilke
* gnu/packages/cpp.scm (tclap): New variable.
Change-Id: I21e0eb623abe0b5add59647dec5606c706063e00
---
gnu/packages/cpp.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index d3a8223a9c..cc39fc8851 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -3531,3 +3531,35 @@ (define-public cpp-ada-url-parser
"Ada is a fast and spec-compliant URL parser written in C++.
Specification for URL parser can be found from the WHATWG website.")
(license license:gpl3+)))
+
+(define-public tclap
+ (package
+ (name "tclap")
+ (synopsis "Templatized Command Line Argument Parser")
+ (license license:expat)
+ (description
+ "This is a simple C++ library that facilitates parsing command line
+arguments in a type independent manner.")
+ (home-page "https://sourceforge.net/p/tclap/discussion/")
+ (version "1.4.0-1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.code.sf.net/p/tclap/code")
+ (commit "81b3d2a0c47895c22e9bb8c577f5ab521f76e5d2")))
+ (sha256
+ (base32 "0w06phgcjjnskxl9f0vmy5lgx5y2irbx14j9c2k8fis8a9sdiq51"))))
+ (build-system cmake-build-system)
+ (native-inputs (list python))
+ (arguments
+ (list
+ #:phases #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? parallel-tests? #:allow-other-keys)
+ (if tests?
+ (invoke "ctest" "-j"
+ (if parallel-tests?
+ (number->string (parallel-job-count))
+ "1"))
+ (format #t "test suite not run~%")))))))))
base-commit: ab43d883a0a88adbcfd3c3ab8d4c097cd9054b90
--
2.46.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#75282] [PATCH] gnu: Add tclap.
2025-01-02 12:57 [bug#75282] [PATCH] gnu: Add tclap Lars Bilke
@ 2025-01-02 19:59 ` Liliana Marie Prikler
2025-01-03 7:00 ` [bug#75282] [PATCH v2] gnu: Add tetgen Lars Bilke
2025-01-03 7:18 ` [bug#75282] [PATCH v2] gnu: Add tclap Lars Bilke
2 siblings, 0 replies; 4+ messages in thread
From: Liliana Marie Prikler @ 2025-01-02 19:59 UTC (permalink / raw)
To: Lars Bilke, 75282
Am Donnerstag, dem 02.01.2025 um 13:57 +0100 schrieb Lars Bilke:
> * gnu/packages/cpp.scm (tclap): New variable.
>
> Change-Id: I21e0eb623abe0b5add59647dec5606c706063e00
> ---
> gnu/packages/cpp.scm | 32 ++++++++++++++++++++++++++++++++
> 1 file changed, 32 insertions(+)
>
> diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
> index d3a8223a9c..cc39fc8851 100644
> --- a/gnu/packages/cpp.scm
> +++ b/gnu/packages/cpp.scm
> @@ -3531,3 +3531,35 @@ (define-public cpp-ada-url-parser
> "Ada is a fast and spec-compliant URL parser written in C++.
> Specification for URL parser can be found from the WHATWG website.")
> (license license:gpl3+)))
> +
> +(define-public tclap
> + (package
> + (name "tclap")
> + (synopsis "Templatized Command Line Argument Parser")
> + (license license:expat)
> + (description
> + "This is a simple C++ library that facilitates parsing command
> line
> +arguments in a type independent manner.")
> + (home-page "https://sourceforge.net/p/tclap/discussion/")
The preferred order is name, version, source, build-system, arguments,
inputs (any order), home-page, synopsis, description, license :)
> + (version "1.4.0-1")
> + (source
> + (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://git.code.sf.net/p/tclap/code")
> + (commit "81b3d2a0c47895c22e9bb8c577f5ab521f76e5d2")))
> + (sha256
> + (base32
> "0w06phgcjjnskxl9f0vmy5lgx5y2irbx14j9c2k8fis8a9sdiq51"))))
> + (build-system cmake-build-system)
> + (native-inputs (list python))
> + (arguments
> + (list
> + #:phases #~(modify-phases %standard-phases
> + (replace 'check
> + (lambda* (#:key tests? parallel-tests? #:allow-
> other-keys)
> + (if tests?
> + (invoke "ctest" "-j"
> + (if parallel-tests?
> + (number->string (parallel-
> job-count))
> + "1"))
> + (format #t "test suite not
> run~%")))))))))
>
> base-commit: ab43d883a0a88adbcfd3c3ab8d4c097cd9054b90
> --
> Cheers
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#75282] [PATCH v2] gnu: Add tetgen.
2025-01-02 12:57 [bug#75282] [PATCH] gnu: Add tclap Lars Bilke
2025-01-02 19:59 ` Liliana Marie Prikler
@ 2025-01-03 7:00 ` Lars Bilke
2025-01-03 7:18 ` [bug#75282] [PATCH v2] gnu: Add tclap Lars Bilke
2 siblings, 0 replies; 4+ messages in thread
From: Lars Bilke @ 2025-01-03 7:00 UTC (permalink / raw)
To: 75282; +Cc: Lars Bilke, Andreas Enge, Eric Bavier, Sharlatan Hellseher
* gnu/packages/geo.scm (tetgen): New variable.
Change-Id: Iba2de71cf0a10ca5c7b65f9851d05fe63c944b30
---
gnu/packages/geo.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 8b9b9a4cf7..17e495de41 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -3614,3 +3614,29 @@ (define-public laszip
@code{LAZ} files. The @code{LAS} format is a file format designed for the
interchange and archiving of lidar point cloud data.")
(license license:asl2.0)))
+
+ (define-public tetgen
+ (package
+ (name "tetgen")
+ (version "1.5.1-2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ufz/tetgen")
+ (commit version)))
+ (sha256
+ (base32 "0hd8mvmzybvlgvfx131p8782v8hggmg53vlkgazpsw9d6ympfcrv"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:tests? #f
+ #:configure-flags (list "-DCMAKE_POSITION_INDEPENDENT_CODE=ON")))
+ (home-page "https://wias-berlin.de/software/tetgen/")
+ (synopsis
+ "Quality Tetrahedral Mesh Generator and 3D Delaunay Triangulator")
+ (description
+ "TetGen is a program to generate tetrahedral meshes of any 3D
+polyhedral domains. TetGen generates exact constrained Delaunay
+tetrahedralizations, boundary conforming Delaunay meshes, and Voronoi
+partitions.")
+ (license license:agpl3)))
base-commit: ab43d883a0a88adbcfd3c3ab8d4c097cd9054b90
--
2.46.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#75282] [PATCH v2] gnu: Add tclap.
2025-01-02 12:57 [bug#75282] [PATCH] gnu: Add tclap Lars Bilke
2025-01-02 19:59 ` Liliana Marie Prikler
2025-01-03 7:00 ` [bug#75282] [PATCH v2] gnu: Add tetgen Lars Bilke
@ 2025-01-03 7:18 ` Lars Bilke
2 siblings, 0 replies; 4+ messages in thread
From: Lars Bilke @ 2025-01-03 7:18 UTC (permalink / raw)
To: 75282; +Cc: Lars Bilke
* gnu/packages/cpp.scm (tclap): New variable.
Change-Id: I21e0eb623abe0b5add59647dec5606c706063e00
---
gnu/packages/cpp.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index d3a8223a9c..c9afb60c16 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -3531,3 +3531,35 @@ (define-public cpp-ada-url-parser
"Ada is a fast and spec-compliant URL parser written in C++.
Specification for URL parser can be found from the WHATWG website.")
(license license:gpl3+)))
+
+(define-public tclap
+ (package
+ (name "tclap")
+ (version "1.4.0-1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.code.sf.net/p/tclap/code")
+ (commit "81b3d2a0c47895c22e9bb8c577f5ab521f76e5d2")))
+ (sha256
+ (base32 "0w06phgcjjnskxl9f0vmy5lgx5y2irbx14j9c2k8fis8a9sdiq51"))))
+ (build-system cmake-build-system)
+ (arguments
+ (list
+ #:phases #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? parallel-tests? #:allow-other-keys)
+ (if tests?
+ (invoke "ctest" "-j"
+ (if parallel-tests?
+ (number->string (parallel-job-count))
+ "1"))
+ (format #t "test suite not run~%")))))))
+ (native-inputs (list python))
+ (home-page "https://sourceforge.net/p/tclap/discussion/")
+ (synopsis "Templatized Command Line Argument Parser")
+ (description
+ "This is a simple C++ library that facilitates parsing command line
+arguments in a type independent manner.")
+ (license license:expat)))
base-commit: ab43d883a0a88adbcfd3c3ab8d4c097cd9054b90
--
2.46.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-01-03 7:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-02 12:57 [bug#75282] [PATCH] gnu: Add tclap Lars Bilke
2025-01-02 19:59 ` Liliana Marie Prikler
2025-01-03 7:00 ` [bug#75282] [PATCH v2] gnu: Add tetgen Lars Bilke
2025-01-03 7:18 ` [bug#75282] [PATCH v2] gnu: Add tclap Lars Bilke
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.