From mboxrd@z Thu Jan 1 00:00:00 1970 From: Corentin Bocquillon Subject: [PATCH] gnu: add meson Date: Fri, 14 Apr 2017 19:01:51 +0200 Message-ID: <20170414190151.0d10aceb@nybble.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46203) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cz51T-0002cQ-6P for guix-devel@gnu.org; Fri, 14 Apr 2017 13:28:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cz51R-0008R2-U1 for guix-devel@gnu.org; Fri, 14 Apr 2017 13:28:39 -0400 Received: from [2a01:e35:87a7:5290:226:b6ff:fe11:6912] (port=52560 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 1cz51R-0008Qr-H0 for guix-devel@gnu.org; Fri, 14 Apr 2017 13:28:37 -0400 Received: by nybble.fr (OpenSMTPD) with ESMTPSA id 326baa96 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Fri, 14 Apr 2017 17:01:54 +0000 (UTC) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/meson.scm (meson.scm) Add meson package. --- gnu/packages/meson.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 gnu/packages/meson.scm diff --git a/gnu/packages/meson.scm b/gnu/packages/meson.scm new file mode 100644 index 000000000..1193ab2ae --- /dev/null +++ b/gnu/packages/meson.scm @@ -0,0 +1,47 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright =C2=A9 2017 Corentin Bocquillon +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages meson) + #:use-module ((guix licenses) #:select (asl2.0)) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system python) + #:use-module (gnu packages) + #:use-module (gnu packages python) + #:use-module (gnu packages ninja)) + +(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 `(("python" ,python) + ("ninja", ninja))) + (home-page "https://mesonbuild.com/") + (synopsis "Meson build system") + (description + "The meson build system is focused on user-friendliness and speed.") + (license asl2.0))) --=20 2.12.2