From patchwork Thu Feb 13 13:59:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Soo X-Patchwork-Id: 20237 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 4466F27BBEA; Thu, 13 Feb 2020 14:00:38 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 2466327BBE4 for ; Thu, 13 Feb 2020 14:00:35 +0000 (GMT) Received: from localhost ([::1]:52802 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2F2g-00030R-2C for patchwork@mira.cbaines.net; Thu, 13 Feb 2020 09:00:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52512) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2F2K-0002p0-JC for guix-patches@gnu.org; Thu, 13 Feb 2020 09:00:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j2F2B-0006x7-Sp for guix-patches@gnu.org; Thu, 13 Feb 2020 09:00:12 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53467) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j2F2A-0006uR-Nk for guix-patches@gnu.org; Thu, 13 Feb 2020 09:00:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j2F2A-0005pg-M4 for guix-patches@gnu.org; Thu, 13 Feb 2020 09:00:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39309] [PATCH WIP] gnu: add stack. Resent-From: John Soo Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 Feb 2020 14:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39309 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Timothy Sample Cc: 39309@debbugs.gnu.org Received: via spool by 39309-submit@debbugs.gnu.org id=B39309.158160239222372 (code B ref 39309); Thu, 13 Feb 2020 14:00:02 +0000 Received: (at 39309) by debbugs.gnu.org; 13 Feb 2020 13:59:52 +0000 Received: from localhost ([127.0.0.1]:59441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2F20-0005om-K7 for submit@debbugs.gnu.org; Thu, 13 Feb 2020 08:59:52 -0500 Received: from mail-vs1-f65.google.com ([209.85.217.65]:36410) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2F1z-0005oZ-2l for 39309@debbugs.gnu.org; Thu, 13 Feb 2020 08:59:51 -0500 Received: by mail-vs1-f65.google.com with SMTP id a2so3963816vso.3 for <39309@debbugs.gnu.org>; Thu, 13 Feb 2020 05:59:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asu-edu.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=KC4t0gwq9tvKWwGuw0iDUg66/Sfl2XkNXObSIeSuf3k=; b=H7/psJID87pNE89CVDmYCjuWF3zc8wul0ghxhyMGkT6O08wGAoDaEajpXBmQeoeQwI mKBTHxt2QVBUGlP0eiNxB0Oq+gPJcZStwsadm0lux3iip4iZdjWcBQpIPsNOSxlO31U6 3w4aoZThjmG2ArLASv9kzKu/XH876thi9jdOmZPdzHa/jMGkvExwsrnVJ5wmzwMaNncH CH4STJcj8usfhG4d0JDvJ2STs0eoqo2Hfxk12G8uUioOxz24lPTvjvdfYIubie3MdF91 hog81C9kJG/T220FJ42zb6duX/0KFOJAHq6xw4RIe/1wFgy7lPV7F4oeMX4Ku9Myy+DB mK3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KC4t0gwq9tvKWwGuw0iDUg66/Sfl2XkNXObSIeSuf3k=; b=QRY8jvsGKjzJe7j+8ii5iKYaRL2lML32FVWebjCcg84vHJfIFSQtxY4KW6ZbAS8hyJ 3xzD2rLA0l30aMOKEEPvme9gfGfqvhQKH/EJTfUcbfrB/JKSZKYodDlnPGYS0iOu5lyC mtzAvWo9svxMj2f0VSdzQx3yQpAu3X9gCzRsy5QITd6AUFH5aGlfQlo7G7IF65pzsWlo dZ7kZuCesmTZmprmV0fi4tn8Z2e9wxbg+S4fnKOQCh72q9PAdq9lt0IO+YnBtPT+mQb8 OdKvDTwms8JJ7lzXyaqrYZBNl8p07kiFCIzsxpjOasVtJKByvI/PEfBEvlkgySTb82hZ jVcA== X-Gm-Message-State: APjAAAU4rkxtHmOKeUcTxvYqIKkQn8n3svuMftHz5SFc2m+RsEHqm9AT yw/shMhI7z5hhsWZzQSGdtaZ6NXpIzTlCFYiWdgI5g== X-Google-Smtp-Source: APXvYqymA6Xz2RYHQxwG//bOdToGIRZ7yg3bo69qVZ0uufQDERzX5zOUJfS/MYLnI9xqPSf+aq4Xk7IRcXK6/saSSCs= X-Received: by 2002:a67:f155:: with SMTP id t21mr15831295vsm.80.1581602385301; Thu, 13 Feb 2020 05:59:45 -0800 (PST) MIME-Version: 1.0 References: <87k14vou0u.fsf@ngyro.com> In-Reply-To: From: John Soo Date: Thu, 13 Feb 2020 13:59:33 +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 Tim, Also here's an updated patch set with the native input for hsc2hs and no ghc-hspec-discover. - John From c2a41472136a6f184399122b3d7032b3e9b959a8 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 26 Jan 2020 11:19:47 -0800 Subject: [PATCH 34/34] gnu: Add stack. * gnu/packages/haskell-xyz.scm (stack): New variable. --- gnu/packages/haskell-apps.scm | 110 ++++++++++++++++++++++++++++++++++ 1 file changed, 110 insertions(+) diff --git a/gnu/packages/haskell-apps.scm b/gnu/packages/haskell-apps.scm index 0a4a4f62cd..2188cf5849 100644 --- a/gnu/packages/haskell-apps.scm +++ b/gnu/packages/haskell-apps.scm @@ -691,6 +691,116 @@ advanced user's otherwise working script to fail under future circumstances. @end enumerate") (license license:gpl3+))) +(define-public stack + (package + (name "stack") + (version "2.1.3.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/stack/stack-" + version + ".tar.gz")) + (sha256 + (base32 + "1q2nagnc24fvyj3hwnpgyp3rqhxswhscyw4pw2dazqx34ad3d0zr")))) + (build-system haskell-build-system) + (inputs + `(("ghc-aeson" ,ghc-aeson) + ("ghc-annotated-wl-pprint" ,ghc-annotated-wl-pprint) + ("ghc-ansi-terminal" ,ghc-ansi-terminal) + ("ghc-async" ,ghc-async) + ("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-base64-bytestring" ,ghc-base64-bytestring) + ("ghc-colour" ,ghc-colour) + ("ghc-conduit" ,ghc-conduit) + ("ghc-conduit-extra" ,ghc-conduit-extra) + ("ghc-cryptonite" ,ghc-cryptonite) + ("ghc-cryptonite-conduit" ,ghc-cryptonite-conduit) + ("ghc-echo" ,ghc-echo) + ("ghc-exceptions" ,ghc-exceptions) + ("ghc-extra" ,ghc-extra) + ("ghc-file-embed" ,ghc-file-embed) + ("ghc-filelock" ,ghc-filelock) + ("ghc-fsnotify" ,ghc-fsnotify) + ("ghc-generic-deriving" ,ghc-generic-deriving) + ("ghc-hackage-security" ,ghc-hackage-security) + ("ghc-hashable" ,ghc-hashable) + ("ghc-hi-file-parser" ,ghc-hi-file-parser) + ("ghc-hpack" ,ghc-hpack) + ("ghc-http-client" ,ghc-http-client) + ("ghc-http-client-tls" ,ghc-http-client-tls) + ("ghc-http-conduit" ,ghc-http-conduit) + ("ghc-http-download" ,ghc-http-download) + ("ghc-http-types" ,ghc-http-types) + ("ghc-memory" ,ghc-memory) + ("ghc-microlens" ,ghc-microlens) + ("ghc-mintty" ,ghc-mintty) + ("ghc-mono-traversable" ,ghc-mono-traversable) + ("ghc-mustache" ,ghc-mustache) + ("ghc-neat-interpolation" ,ghc-neat-interpolation) + ("ghc-network-uri" ,ghc-network-uri) + ("ghc-open-browser" ,ghc-open-browser) + ("ghc-optparse-applicative" ,ghc-optparse-applicative) + ("ghc-pantry" ,ghc-pantry) + ("ghc-path" ,ghc-path) + ("ghc-path-io" ,ghc-path-io) + ("ghc-persistent" ,ghc-persistent) + ("ghc-persistent-sqlite" ,ghc-persistent-sqlite) + ("ghc-persistent-template" ,ghc-persistent-template) + ("ghc-primitive" ,ghc-primitive) + ("ghc-project-template" ,ghc-project-template) + ("ghc-regex-applicative-text" ,ghc-regex-applicative-text) + ("ghc-resource-pool" ,ghc-resource-pool) + ("ghc-resourcet" ,ghc-resourcet) + ("ghc-retry" ,ghc-retry) + ("ghc-rio" ,ghc-rio) + ("ghc-rio-prettyprint" ,ghc-rio-prettyprint) + ("ghc-semigroups" ,ghc-semigroups) + ("ghc-split" ,ghc-split) + ("ghc-streaming-commons" ,ghc-streaming-commons) + ("ghc-tar" ,ghc-tar) + ("ghc-temporary" ,ghc-temporary) + ("ghc-terminal-size" ,ghc-terminal-size) + ("ghc-text-metrics" ,ghc-text-metrics) + ("ghc-th-reify-many" ,ghc-th-reify-many) + ("ghc-tls" ,ghc-tls) + ("ghc-typed-process" ,ghc-typed-process) + ("ghc-unicode-transforms" ,ghc-unicode-transforms) + ("ghc-unix-compat" ,ghc-unix-compat) + ("ghc-unliftio" ,ghc-unliftio) + ("ghc-unordered-containers" ,ghc-unordered-containers) + ("ghc-vector" ,ghc-vector) + ("ghc-yaml" ,ghc-yaml) + ("ghc-zip-archive" ,ghc-zip-archive) + ("ghc-zlib" ,ghc-zlib) + ("ghc-githash" ,ghc-githash) + ("ghc-optparse-simple" ,ghc-optparse-simple) + ("ghc-hspec" ,ghc-hspec) + ("ghc-optparse-generic" ,ghc-optparse-generic))) + (native-inputs + `(("ghc-hsc2hs" ,ghc-hsc2hs) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-raw-strings-qq" ,ghc-raw-strings-qq) + ("ghc-smallcheck" ,ghc-smallcheck))) + (home-page "http://haskellstack.org") + (synopsis "Haskell Tool Stack") + (description + "Stack is a cross-platform program for developing Haskell projects. It +is aimed at Haskellers both new and experienced. + +It features: + +@itemize +@item Installing GHC automatically, in an isolated location. +@item Installing packages needed for your project. +@item Building your project. +@item Testing your project. +@item Benchmarking your project. +@end itemize") + (license license:bsd-3))) + (define-public stylish-haskell (package (name "stylish-haskell") -- 2.25.0