>From f2429bf6badea06689c11b44d2b2281df57140d9 Mon Sep 17 00:00:00 2001 From: Corentin Bocquillon Date: Wed, 19 Apr 2017 22:30:07 +0200 Subject: [PATCH] =?UTF-8?q?*=20gnu/packages/build-tools.scm=20(meson)?= =?UTF-8?q?=C2=A0:=20Add=20meson=20package.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gnu/packages/build-tools.scm | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm index 8901a4657..e26c31511 100644 --- a/gnu/packages/build-tools.scm +++ b/gnu/packages/build-tools.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2017 Ricardo Wurmus +;;; Copyright © 2017 Corentin Bocquillon ;;; ;;; This file is part of GNU Guix. ;;; @@ -23,7 +24,9 @@ #:use-module (guix download) #:use-module (gnu packages) #:use-module (gnu packages python) - #:use-module (guix build-system gnu)) + #:use-module (gnu packages ninja) + #:use-module (guix build-system gnu) + #:use-module (guix build-system python)) (define-public bam (package @@ -62,3 +65,27 @@ describe the build process. It takes its inspiration for the script files from scons. While scons focuses on being 100% correct when building, bam makes a few sacrifices to acquire fast full and incremental build times.") (license license:bsd-3))) + +(define-public meson + (package + (name "meson") + (version "0.39.1") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/mesonbuild/meson/" + "archive/" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1jwgd6sl7zl7h16id3405gwk6vlkk86ggwrp0k47njwkxmryq8d4")))) + (build-system python-build-system) + (inputs `(("ninja", ninja))) + (home-page "https://mesonbuild.com/") + (synopsis "Meson build system") + (description + "The meson build system is focused on user-friendliness and speed. +According to the developpers of meson, every seconds spent waiting for +the build system, writing or debugging build definitions is a second wasted +so meson is designed to be very fast and simple. +It supports C, C++, Fortran, Java and Rust.") + (license asl2.0))) -- 2.12.2