From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51325) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d0wzG-0002dn-UL for guix-patches@gnu.org; Wed, 19 Apr 2017 17:18:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d0wzC-0006yg-L6 for guix-patches@gnu.org; Wed, 19 Apr 2017 17:18:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:59281) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d0wzC-0006yb-Hd for guix-patches@gnu.org; Wed, 19 Apr 2017 17:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d0wzC-0006zU-CF for guix-patches@gnu.org; Wed, 19 Apr 2017 17:18:02 -0400 Subject: bug#26568: [PATCH] =?UTF-8?Q?gnu=C2=A0:?= Add meson. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50319) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d0wvx-0008DO-9g for guix-patches@gnu.org; Wed, 19 Apr 2017 17:14:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d0wvv-0005CH-Vx for guix-patches@gnu.org; Wed, 19 Apr 2017 17:14:41 -0400 Received: from [2a01:e35:87a7:5290:226:b6ff:fe11:6912] (port=52612 helo=mail.nybble.fr) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d0wvv-0005BC-JL for guix-patches@gnu.org; Wed, 19 Apr 2017 17:14:39 -0400 Received: by nybble.fr (OpenSMTPD) with ESMTPSA id be72eb64 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Wed, 19 Apr 2017 20:47:55 +0000 (UTC) Date: Wed, 19 Apr 2017 22:47:50 +0200 From: Corentin Bocquillon Message-ID: <20170419204750.GA13306@nibupac> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: attachment; filename="0001-gnu-packages-build-tools.scm-meson-Add-meson-package.patch" Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 26568@debbugs.gnu.org >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