guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

16/17: gnu: Add ghc-happy@1.19.9


From: guix-commits
Subject: 16/17: gnu: Add ghc-happy@1.19.9
Date: Fri, 8 May 2020 05:09:16 -0400 (EDT)

cbaines pushed a commit to branch master
in repository guix.

commit 5c826341a3a42030b8fccaa2c220b44a3e11983b
Author: John Soo <address@hidden>
AuthorDate: Fri Dec 13 08:52:48 2019 -0800

    gnu: Add ghc-happy@1.19.9
    
    * gnu/packages/purescript.scm (ghc-happy-1.19.9): New file, New variable.
    * gnu/local.mk (GNU_SYSTEM_MODULES): Add purescript.scm.
    
    Signed-off-by: Christopher Baines <address@hidden>
---
 gnu/local.mk                |  3 ++-
 gnu/packages/purescript.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+), 1 deletion(-)

diff --git a/gnu/local.mk b/gnu/local.mk
index 98bdf69..4f618bc 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -21,7 +21,7 @@
 # Copyright © 2018 Stefan Stefanović <address@hidden>
 # Copyright © 2018 Maxim Cournoyer <address@hidden>
 # Copyright © 2019 Guillaume Le Vaillant <address@hidden>
-# Copyright © 2019 John Soo <address@hidden>
+# Copyright © 2019, 2020 John Soo <address@hidden>
 # Copyright © 2019 Jonathan Brielmaier <address@hidden>
 # Copyright © 2019 Evan Straw <address@hidden>
 # Copyright © 2019 Brett Gilio <address@hidden>
@@ -430,6 +430,7 @@ GNU_SYSTEM_MODULES =                                \
   %D%/packages/pretty-print.scm                        \
   %D%/packages/protobuf.scm                    \
   %D%/packages/pure.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
new file mode 100644
index 0000000..244fe0e
--- /dev/null
+++ b/gnu/packages/purescript.scm
@@ -0,0 +1,44 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2020 John Soo <address@hidden>
+;;;
+;;; 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 <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages purescript)
+  #:use-module (gnu packages haskell-xyz)
+  #:use-module (gnu packages haskell-check)
+  #:use-module (gnu packages haskell-crypto)
+  #:use-module (gnu packages haskell-web)
+  #:use-module ((gnu packages python) #:select (python))
+  #:use-module (guix download)
+  #:use-module (guix git-download)
+  #:use-module (guix packages)
+  #:use-module (guix build-system haskell)
+  #:use-module ((guix licenses) #:prefix license:))
+
+(define ghc-happy-1.19.9
+  (package
+    (inherit ghc-happy)
+    (version "1.19.9")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/happy/happy-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "138xpxdb7x62lpmgmb6b3v3vgdqqvqn4273jaap3mjmc2gla709y"))))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]