From cec97e93996b86031ddc39f18c32b71d46a91b94 Mon Sep 17 00:00:00 2001 From: Peter Tillemans Date: Mon, 16 Oct 2023 15:42:34 +0200 Subject: [PATCH] initial commit --- my-hello.scm | 27 +++++++++++++++++++++++++++ snam-maven.scm | 25 +++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 my-hello.scm create mode 100644 snam-maven.scm diff --git a/my-hello.scm b/my-hello.scm new file mode 100644 index 0000000..4a47c6c --- /dev/null +++ b/my-hello.scm @@ -0,0 +1,27 @@ +(define-module (my-hello) + #:use-module (guix licenses) + #:use-module (guix packages) + #:use-module (guix build-system gnu) + #:use-module (guix download)) + +(define-public my-hello + (package + (name "my-hello") + (version "2.10") + (source (origin + (method url-fetch) + (uri (string-append "mirror://gnu/hello/hello-" version + ".tar.gz")) + (sha256 + (base32 + "0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i")))) + (build-system gnu-build-system) + (synopsis "Hello, Guix world: An example custom Guix package") + (description + "GNU Hello prints the message \"Hello, world!\" and then exits. It +serves as an example of standard GNU coding practices. As such, it supports +command-line arguments, multiple languages, and so on.") + (home-page "https://www.gnu.org/software/hello/") + (license gpl3+))) + +my-hello diff --git a/snam-maven.scm b/snam-maven.scm new file mode 100644 index 0000000..c161039 --- /dev/null +++ b/snam-maven.scm @@ -0,0 +1,25 @@ +(define-module (snam-maven) + #:use-module (guix licenses) + #:use-module (guix packages) + #:use-module (guix build-system copy) + #:use-module (guix download)) + +(define-public snam-maven + (package + (name "snam-maven") + (version "3.9.5") + (source (origin + (method url-fetch) + (uri (string-append "https://dlcdn.apache.org/maven/maven-3/" version "/binaries/apache-maven-" version + "-bin.tar.gz")) + (sha256 + (base32 + "0z7ghjfi3w7r9ax56dzg714zq5g0cnbkkxj25qgfh7q40nqp5ljz")))) + (build-system copy-build-system) + (synopsis "My Maven, a java build system.") + (description + "Maven is a standard build system and package manager for java programs") + (home-page "https://maven.apache.org/") + (license asl2.0))) + +snam-maven