From patchwork Wed Oct 31 06:02:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Vong X-Patchwork-Id: 58 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0F2F41676A; Wed, 31 Oct 2018 06:04:12 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) by mira.cbaines.net (Postfix) with ESMTPS id C995F16761 for ; Wed, 31 Oct 2018 06:04:11 +0000 (GMT) Received: from localhost ([::1]:57481 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHjbu-0001uS-V4 for patchwork@mira.cbaines.net; Wed, 31 Oct 2018 02:04:10 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56356) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHjbq-0001uM-PO for guix-patches@gnu.org; Wed, 31 Oct 2018 02:04:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHjbm-0005Sl-Ma for guix-patches@gnu.org; Wed, 31 Oct 2018 02:04:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:51900) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHjbm-0005SQ-Hk for guix-patches@gnu.org; Wed, 31 Oct 2018 02:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gHjbm-0006XU-C0 for guix-patches@gnu.org; Wed, 31 Oct 2018 02:04:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#33215] [PATCH 00/11] build-system: Add 'clojure-build-system'. Resent-From: Alex Vong Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 31 Oct 2018 06:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33215 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 33215@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.154096580225087 (code B ref -1); Wed, 31 Oct 2018 06:04:02 +0000 Received: (at submit) by debbugs.gnu.org; 31 Oct 2018 06:03:22 +0000 Received: from localhost ([127.0.0.1]:56158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gHjb8-0006WZ-HP for submit@debbugs.gnu.org; Wed, 31 Oct 2018 02:03:22 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46647) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gHjb6-0006WL-4t for submit@debbugs.gnu.org; Wed, 31 Oct 2018 02:03:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHjaz-0003vn-Vu for submit@debbugs.gnu.org; Wed, 31 Oct 2018 02:03:14 -0400 Received: from lists.gnu.org ([2001:4830:134:3::11]:42651) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gHjaz-0003ud-SR for submit@debbugs.gnu.org; Wed, 31 Oct 2018 02:03:13 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56249) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHjaz-0001s0-3N for guix-patches@gnu.org; Wed, 31 Oct 2018 02:03:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHjav-0003iv-16 for guix-patches@gnu.org; Wed, 31 Oct 2018 02:03:13 -0400 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]:33178) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHjau-0003hv-LB for guix-patches@gnu.org; Wed, 31 Oct 2018 02:03:08 -0400 Received: by mail-pl1-x644.google.com with SMTP id x6-v6so6750481pln.0 for ; Tue, 30 Oct 2018 23:03:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:user-agent:mime-version; bh=6XsFFijhr2nZxWnxaUmJ8KbPImlL873XALP4jlGgiK8=; b=pyYsGR3V/xmaNpFVzX0WmD1r/FIoFRi+rtS1YKBfF8CnPEyJ5dQJYKDf+8+qSeRTkr PB02sXtMtEcRJ4X3aUFfrEHUfu9vN8gXlMf2YXGnx6b92QBUogryQ1CdB2kEaN9CFbdg 3FajCNopz0L7qt5/SfUKNQXlaDakgx5mu6TFN7Dys671H0QnnFUkIfCVJ0IVlxtRZwQh WBPpLgHHNt38WGEGxA4BQkwxYmn3wA3mb+8cdfYJlDFC1IbgvOJLhkb5+ywUB95r4oqz tl+QcQe7WarqrbjKuusx/RsfjkctMIm6gTK7r+xGR6NCp0jtYP9gPI82rVqk1qq4N3NJ AwLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :mime-version; bh=6XsFFijhr2nZxWnxaUmJ8KbPImlL873XALP4jlGgiK8=; b=TgS0gfc5PbKRZBiWoUx5pEEenb4uo/4IYCQ+xAed8vyLfgU34xi58w12sontW3N6H3 YsUgYIJeRYxD+JbQ89viPDf4fXUWATGYAE+qfVj2MIs66lmhkmErVOGWoIcAhok4TXN0 WBi5ZqTRf+d6hjIcaaV+u4rQd517LYq0BdR0PDr9G32OKla51cHm8w8vkZWvpoquIpY8 Nw4cio1682EbG2UdRXsgs3jw95Ky5IZ69stldl5cLcutEt3h5XEefMjX9LCK0bSiY9Rs pwStJx8h4mm1y6sUcJmRhdcoLe73oJwT0lqy5ERgnbvkgvcrisbdDeDEqGcY1GQtOwEZ lkDw== X-Gm-Message-State: AGRZ1gJ79XBZLIFnl1SzCK+27X7r2yMTdpl81foC0cqZMXoVdTNg5xe2 uyOG2Y8mJORx4g+09VH/mYbbTATP X-Google-Smtp-Source: AJdET5e2mqiW/zIz5BGuf24Q1+rx5Qx27CT2FGFt1OnsrpTgejEJcmqyxPUNmmZiCeu6BVY+izjNGQ== X-Received: by 2002:a17:902:bc44:: with SMTP id t4-v6mr1881469plz.300.1540965787284; Tue, 30 Oct 2018 23:03:07 -0700 (PDT) Received: from debian (42-3-197-089.static.netvigator.com. [42.3.197.89]) by smtp.gmail.com with ESMTPSA id s2-v6sm61460630pfk.133.2018.10.30.23.03.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 30 Oct 2018 23:03:06 -0700 (PDT) From: Alex Vong Date: Wed, 31 Oct 2018 14:02:36 +0800 Message-ID: <87muquhcw3.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alexvong1995@gmail.com Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hello, This patch series adds a simple Clojure build system to guix. It uses plain old 'compile' in Clojure. The patch series does 4 things: 1. Move the 'clojure' package from 'java.scm' to 'lisp.scm' since clojure is a lisp! Also, 'java.scm' is getting large. I don't want to make it even larger by adding new clojure packages. 2. Refactor the 'clojure' package. For example, removing the need to keep 2 lists in sync and factors code into the new 'clojure-utils.scm'. 3. Add 'clojure-build-system' and friends. 4. Add 5 clojure packages to test if everthing works. Cheers, Alex