From patchwork Wed Dec 18 13:50:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Soo X-Patchwork-Id: 16554 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 5C0221793A; Wed, 18 Dec 2019 13:52:23 +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=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 3B1E317935 for ; Wed, 18 Dec 2019 13:52:17 +0000 (GMT) Received: from localhost ([::1]:54730 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihZkO-000842-MM for patchwork@mira.cbaines.net; Wed, 18 Dec 2019 08:52:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:32809) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihZkF-00083w-EW for guix-patches@gnu.org; Wed, 18 Dec 2019 08:52:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ihZkA-0007Lg-TW for guix-patches@gnu.org; Wed, 18 Dec 2019 08:52:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36803) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ihZk9-0007EW-Na for guix-patches@gnu.org; Wed, 18 Dec 2019 08:52:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ihZk9-0001n0-M6 for guix-patches@gnu.org; Wed, 18 Dec 2019 08:52:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#38596] [PATCH] Add PureScript References: In-Reply-To: Resent-From: John Soo Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 18 Dec 2019 13:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38596 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 38596@debbugs.gnu.org, Brett Gilio Received: via spool by 38596-submit@debbugs.gnu.org id=B38596.15766770756810 (code B ref 38596); Wed, 18 Dec 2019 13:52:01 +0000 Received: (at 38596) by debbugs.gnu.org; 18 Dec 2019 13:51:15 +0000 Received: from localhost ([127.0.0.1]:42776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ihZjD-0001lP-SM for submit@debbugs.gnu.org; Wed, 18 Dec 2019 08:51:14 -0500 Received: from mail-ua1-f42.google.com ([209.85.222.42]:46234) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ihZj8-0001km-N0 for 38596@debbugs.gnu.org; Wed, 18 Dec 2019 08:51:02 -0500 Received: by mail-ua1-f42.google.com with SMTP id l6so634334uap.13 for <38596@debbugs.gnu.org>; Wed, 18 Dec 2019 05:50:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asu-edu.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=0vu9hlfT/m8FHf6Z/z9C1ZVWSa8agV6dPeucoesLh5E=; b=hm+umECFNDIAAIcLrnT9jWcqV2tme6TMwMGqHQYZbBydMnQO4MwdFsIEeK9dPJXsUh DKr3JNNftYeGJZao6SGJOcS0Q+695fjrV0uQvOZswPMo92Vash2xXRmJUWJ2shMCJMEe iYCQryn/nEuEgdLxFXgsuc6I89HYNYbTm6jrSdBviQfTnnFFwtJkdN11l+na63g2haRp QM/qzjVooDoqC8arNWiyntzS4XaMw9BsyV6ZZl9/htKbVV+x8UTuXAxNEuCMEQjwKIaF HGcirMe+rxfLu0ZBT71ZjOj2U+BT/29Uf1wNSQ21N2YqmZ0NrYTgXhQSSdIi1Ew9N6H1 LpYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=0vu9hlfT/m8FHf6Z/z9C1ZVWSa8agV6dPeucoesLh5E=; b=cBlaGmS1OcS5BC9VV37mJPEGyay0uwIJlWiZceFFO2sH24jA+zoyISHz7sTYPAD5j+ dFZ6NE8CiJ/FWnAoYA6GChwhR5/+BX1sL/85mrnnS/hl2bKCZkaTDtBRjhhbZIwaN04J UjkFXqKyDjB/rNoBoGs6xLJIWCWRnxKBnJCQRYGoaLxn8+b0gjmEuVofkYaw5E6pAeVO LfDn0EXi46i3y+/rAv2XQh8WTHFfz3pbNgDviEBr5UkDqxj7GVBrMTCdIk2FetTwK6gb 2JbBTsEGBSDJjO0dRq0bSHC7TnzX062h/Sq383D8/M7xWuf18x0ZzRP9NVWCpqrBOBCB 6wjg== X-Gm-Message-State: APjAAAX2clakM9fEFABOX0Bc/k+ZgGTAX2lyXWNzJPaUQ/IYccI79G0M sS7n7JQChEWc039e145OXwfPNsHGv8UN5ulMGRWIrAow X-Google-Smtp-Source: APXvYqwUUC/vgN4BSBo5y3uhXWQm0kpRE8rF4wiXE0Extvw+eGbLd9Tv65FcHoQ2aCaL8uICXhiujdA2e2VhozXqzAs= X-Received: by 2002:ab0:488b:: with SMTP id x11mr1380345uac.86.1576677052711; Wed, 18 Dec 2019 05:50:52 -0800 (PST) MIME-Version: 1.0 From: John Soo Date: Wed, 18 Dec 2019 13:50:41 +0000 Message-ID: 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: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hi all, I realized I had a typo in the final patch. Here are my updated patches. - John From 9524b60aa99a0d1ca88d4ed2c8b54354942956fc Mon Sep 17 00:00:00 2001 From: John Soo Date: Fri, 13 Dec 2019 09:21:50 -0800 Subject: [PATCH 22/22] gnu: Add purescript. * gnu/packages/purescript.scm (purescript): New variable. --- gnu/local.mk | 2 +- gnu/packages/purescript.scm | 89 +++++++++++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+), 1 deletion(-) diff --git a/gnu/local.mk b/gnu/local.mk index c895b7711a..31b1ad1124 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -405,7 +405,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/pretty-print.scm \ %D%/packages/protobuf.scm \ %D%/packages/pure.scm \ - %D$/packages/purescript.scm \ + %D%/packages/purescript.scm \ %D%/packages/pv.scm \ %D%/packages/python.scm \ %D%/packages/python-check.scm \ diff --git a/gnu/packages/purescript.scm b/gnu/packages/purescript.scm index 8936e1bb87..7b60aae097 100644 --- a/gnu/packages/purescript.scm +++ b/gnu/packages/purescript.scm @@ -116,3 +116,92 @@ (sha256 (base32 "1xacvl5wf47cz61igb94zf961b9ks0yhr02myxgjf53clm70dg6j")))))) + +(define-public purescript + (package + (name "purescript") + (version "0.13.5") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://hackage/package/purescript/purescript-" + version + ".tar.gz")) + (sha256 + (base32 + "0plqzlcfaw2ik2im7aq8yy1b1y88cnc8qd7wwaayndbdz060s9j4")))) + (build-system haskell-build-system) + (inputs + `(("ghc-glob" ,ghc-glob-0.9.3) + ("ghc-aeson" ,ghc-aeson) + ("ghc-aeson-better-errors" ,ghc-aeson-better-errors) + ("ghc-aeson-pretty" ,ghc-aeson-pretty) + ("ghc-ansi-terminal" ,ghc-ansi-terminal-0.8.2) + ("ghc-base-compat" ,ghc-base-compat) + ("ghc-blaze-html" ,ghc-blaze-html) + ("ghc-bower-json" ,ghc-bower-json) + ("ghc-boxes" ,ghc-boxes) + ("ghc-cheapskate" ,ghc-cheapskate) + ("ghc-clock" ,ghc-clock-0.7.2) + ("ghc-cryptonite" ,ghc-cryptonite) + ("ghc-data-ordlist" ,ghc-data-ordlist) + ("ghc-dlist" ,ghc-dlist) + ("ghc-edit-distance" ,ghc-edit-distance) + ("ghc-file-embed" ,ghc-file-embed) + ("ghc-fsnotify" ,ghc-fsnotify) + ("ghc-happy" ,ghc-happy) + ("ghc-language-javascript" ,ghc-language-javascript) + ("ghc-lifted-async" ,ghc-lifted-async-0.10.0.4) + ("ghc-lifted-base" ,ghc-lifted-base) + ("ghc-memory" ,ghc-memory) + ("ghc-microlens-platform" ,ghc-microlens-platform) + ("ghc-monad-control" ,ghc-monad-control) + ("ghc-monad-logger" ,ghc-monad-logger) + ("ghc-network" ,ghc-network-3.0.1.1) + ("ghc-parallel" ,ghc-parallel) + ("ghc-pattern-arrows" ,ghc-pattern-arrows) + ("ghc-protolude" ,ghc-protolude) + ("ghc-regex-tdfa" ,ghc-regex-tdfa) + ("ghc-safe" ,ghc-safe) + ("ghc-scientific" ,ghc-scientific) + ("ghc-semialign" ,ghc-semialign) + ("ghc-semigroups" ,ghc-semigroups) + ("ghc-sourcemap" ,ghc-sourcemap) + ("ghc-split" ,ghc-split) + ("ghc-stringsearch" ,ghc-stringsearch) + ("ghc-syb" ,ghc-syb) + ("ghc-these" ,ghc-these) + ("ghc-transformers-base" ,ghc-transformers-base) + ("ghc-transformers-compat" ,ghc-transformers-compat) + ("ghc-unordered-containers" ,ghc-unordered-containers) + ("ghc-utf8-string" ,ghc-utf8-string) + ("ghc-vector" ,ghc-vector) + ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint) + ("ghc-http-types" ,ghc-http-types) + ("ghc-network" ,ghc-network) + ("ghc-optparse-applicative" ,ghc-optparse-applicative) + ("ghc-wai" ,ghc-wai) + ("ghc-wai-websockets" ,ghc-wai-websockets) + ("ghc-warp" ,ghc-warp) + ("ghc-websockets" ,ghc-websockets) + ("ghc-gitrev" ,ghc-gitrev))) + (native-inputs + `(("ghc-happy" ,ghc-happy-1.19.9) + ("ghc-hunit" ,ghc-hunit) + ("ghc-hspec" ,ghc-hspec) + ("hspec-discover" ,hspec-discover) + ("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-hspec" ,ghc-tasty-hspec))) + (arguments + `(;; Tests require npm + #:tests? #f + ;; Haddock fails + #:haddock? #f + #:configure-flags '("--flags=release"))) + (home-page "http://www.purescript.org/") + (synopsis "Haskell inspired programming language compiling to JavaScript") + (description + "A small strongly, statically typed programming language with +expressive types, inspired by Haskell and compiling to JavaScript.") + (license license:bsd-3))) -- 2.24.0