From f8b05606513f2df1a3d085f90bdd953c8e202ae9 Mon Sep 17 00:00:00 2001 From: unmush Date: Tue, 26 Nov 2024 12:13:32 Subject: [PATCH v2 01/21] gnu: add treecc. * gnu/packages/dotnet.scm: new module. (treecc): new package. * gnu/local.mk (GNU_SYSTEM_MODULES): add new module. --- gnu/local.mk | 1 + gnu/packages/dotnet.scm | 62 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 gnu/packages/dotnet.scm diff --git a/gnu/local.mk b/gnu/local.mk index fbe9dfbb0ef..9ebe49ca864 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -243,6 +243,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/dhall.scm \ %D%/packages/dico.scm \ %D%/packages/dictd.scm \ + %D%/packages/dotnet.scm \ %D%/packages/dictionaries.scm \ %D%/packages/diffoscope.scm \ %D%/packages/digest.scm \ diff --git a/gnu/packages/dotnet.scm b/gnu/packages/dotnet.scm new file mode 100644 index 00000000000..3084e1cf3a5 --- /dev/null +++ b/gnu/packages/dotnet.scm @@ -0,0 +1,62 @@ +(define-module (gnu packages dotnet) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (gnu packages assembly) + #:use-module (gnu packages bison) + #:use-module (gnu packages check) + #:use-module (gnu packages cmake) + #:use-module (gnu packages compression) + #:use-module (gnu packages curl) + #:use-module (gnu packages flex) + #:use-module (gnu packages gettext) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages base) + #:use-module (gnu packages autotools) + #:use-module (gnu packages bdw-gc) + #:use-module (gnu packages fontutils) + #:use-module (gnu packages glib) + #:use-module (gnu packages icu4c) + #:use-module (gnu packages instrumentation) + #:use-module (gnu packages kerberos) + #:use-module (gnu packages libffi) + #:use-module (gnu packages linux) + #:use-module (gnu packages llvm) + #:use-module (gnu packages perl) + #:use-module (gnu packages photo) + #:use-module (gnu packages texinfo) + #:use-module (gnu packages tls) + #:use-module (gnu packages image) + #:use-module (gnu packages gtk) + #:use-module (gnu packages python) + #:use-module (gnu packages xml) + #:use-module (gnu packages xorg) + #:use-module (gnu packages version-control) + #:use-module (gnu packages) + #:use-module (guix modules) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix git-download) + #:use-module (guix gexp) + #:use-module (guix utils) + #:use-module (guix build-system gnu) + #:use-module (guix build-system python) + #:use-module (ice-9 match)) + +(define-public treecc + (package + (name "treecc") + (version "0.3.10") + (source (origin + (method url-fetch) + (uri (string-append + "https://download.savannah.gnu.org/releases/dotgnu-pnet/treecc-" + version ".tar.gz")) + (sha256 + (base32 + "1rzgnspg2xccdq3qsx0vi3j28h4qkrzbrjnhzvnny34fjfk217ay")))) + (build-system gnu-build-system) + (home-page "https://www.gnu.org/software/dotgnu") + (synopsis "Tree Compiler-Compiler.") + (description "The treecc program is designed to assist in the development +of compilers and other language-based tools. It manages the generation of +code to handle abstract syntax trees and operations upon the trees.") + (license license:gpl2+))) -- 2.45.2