From 8a3acb21203a77e25bae347650f160b0cbebf51a Mon Sep 17 00:00:00 2001 From: TakeV Date: Thu, 23 Mar 2023 00:11:53 -0700 Subject: [PATCH] Add guix packaging --- guix.scm | 35 +++++++++++++++++++++++++++++++++++ manifest.scm | 14 ++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 guix.scm create mode 100644 manifest.scm diff --git a/guix.scm b/guix.scm new file mode 100644 index 0000000..a267363 --- /dev/null +++ b/guix.scm @@ -0,0 +1,35 @@ +(use-modules ((guix licenses) + #:prefix license:) + (guix gexp) + (guix packages) + (gnu packages image) + (gnu packages lesstif) + (gnu packages xorg) + (gnu packages pkg-config) + (guix build-system meson)) + +(define %source-dir + (dirname (current-filename))) + +(define-public meson + (package + (name "Meson") + (version "2.7") + (source (local-file %source-dir + #:recursive? #t)) + (build-system meson-build-system) + (native-inputs (list pkg-config)) + (inputs (list libjpeg + libjpeg-turbo + libpng + libxmu + libxpm + libxt + xorgproto + motif)) + (home-page "http://www.ncsa.illinois.edu/research/project-highlights/ncsa-mosaic/") + (synopsis "Web browser from the 90s") + (description "MCSA Mosaic is a web browser from the 90s.") + (license license:expat))) + +meson diff --git a/manifest.scm b/manifest.scm new file mode 100644 index 0000000..488f8cb --- /dev/null +++ b/manifest.scm @@ -0,0 +1,14 @@ +;; What follows is a "manifest" equivalent to the command line you gave. +;; You can store it in a file that you may then pass to any 'guix' command +;; that accepts a '--manifest' (or '-m') option. + +(specifications->manifest + (list "libjpeg" + "libjpeg-turbo" + "libpng" + "libxmu" + "libxpm" + "libxt" + "xorgproto" + "motif" + "pkg-config"))