aboutsummaryrefslogtreecommitdiff
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
;;;
;;; 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 hugs)
  #:use-module (guix licenses)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system gnu)
  #:use-module (gnu packages))

(define-public hugs
  (package
    (name "hugs")
    (version "Sep2006")
    (source
     (origin
      (method url-fetch)
      (uri (string-append "https://www.haskell.org/hugs/downloads/2006-09/"
                          name "98-plus-" version ".tar.gz"))
      (sha256
       (base32
        "1mdy4aq4campgmnpc2qwq7bsbfhaxfsqdghbyyz2wms4lnfcmyma"))
      (patches (search-patches "hugs-fix-build.patch"))))
    (build-system gnu-build-system)
    (arguments
     `(#:phases
       (modify-phases %standard-phases
         (add-before 'configure 'fix-sh-n-cp
           (lambda _
             (substitute*
                 '("configure"
                   "libraries/configure"
                   "packages/time/configure"
                   "packages/base/configure"
                   "packages/X11/configure"
                   "packages/HGL/configure"
                   "packages/OpenAL/configure"
                   "packages/OpenGL/configure"
                   "packages/network/configure"
                   "packages/unix/configure"
                   "packages/Cabal/tests/HSQL/configure"
                   "packages/ALUT/configure"
                   "packages/GLUT/configure"
                   "packages/base/cbits/execvpe.c"
                   "packages/base/System/Process/Internals.hs"
                   "packages/Cabal/Distribution/attic"
                   "packages/Cabal/Distribution/Simple/Register.hs"
                   "packages/Cabal/Distribution/Simple/Hugs.hs"
                   "tools/hugs-hc"
                   "src/machdep.c"
                   "libraries/Makefile.in")
               (("/bin/sh") (which "sh")))
             (substitute* '("demos/Makefile.in"
                            "libraries/Makefile.in")
               (("/bin/cp") (which "cp")))
             #t)))
       #:tests? #f)) ; no test target
    (home-page "https://www.haskell.org/hugs/")
    (synopsis "Functional programming system based on Haskell 98")
    (description
     "Hugs 98 is an interpreter and programming environment for developing
Haskell programs.  It provides an almost complete implementation of Haskell
98, which includes expression and pattern syntax, primitives for monadic I/O,
with support for simple interactive programs, handle-based I/O, and exception
handling.  Hugs has a nearly complete implementation of the Haskell module
system and supports a number of advanced extensions.")
   (license (non-copyleft "file://License"
                          "See License in the distribution."))))
Tobias Geerinckx-Rice 2023-07-09gnu: xtl: Update to 0.7.5....* gnu/packages/cpp.scm (xtl): Update to 0.7.5. Tobias Geerinckx-Rice 2023-07-01gnu: Add tl-optional....* gnu/packages/cpp.scm (tl-optional): New variable. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> David Elsing 2023-07-01gnu: Add tsl-ordered-map....* gnu/packages/cpp.scm (tsl-ordered-map): New variable. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> David Elsing 2023-07-01gnu: Add tsl-sparse-map....* gnu/packages/cpp.scm (tsl-sparse-map): New variable. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> David Elsing 2023-07-01gnu: Add tsl-hopscotch-map....* gnu/packages/cpp.scm (tsl-hopscotch-map): New variable. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> David Elsing 2023-07-01gnu: Add mpark-variant....* gnu/packages/cpp.scm (mpark-variant): New variable. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> David Elsing 2023-06-25gnu: aws-sdk-cpp: Update to 1.9.306....* gnu/packages/cpp.scm (aws-sdk-cpp): Update to 1.9.306. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Greg Hogan 2023-06-14gnu: psascan: Do not build with "-march=native"....* gnu/packages/cpp.scm (psascan)[origin]: Add 'snippet'. [properties]: New field. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Zheng Junjie 2023-06-05gnu: cpp-httplib: Update to 0.12.5....* gnu/packages/cpp.scm (cpp-httplib): Update to 0.12.5. [arguments]: Adjust configure-flags to build the tests. Add a make-flag to set CXX. Adjust custom 'disable-network-tests phase to skip more network tests. Remove custom 'check phase. [native-inputs]: Add googletest. Efraim Flashner 2023-06-02gnu: cpp-mustache: Update to 5.0 to fix build....* gnu/packages/cpp.scm (cpp-mustache): Update to 5.0. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Denis 'GNUtoo' Carikli 2023-05-28gnu: cli11: Use G-Expressions....* gnu/packages/cpp.scm (cli11)[arguments]: Convert to list of G-Expressions. Liliana Marie Prikler 2023-05-28gnu: cli11: Update to 2.3.2....* gnu/packages/cpp.scm (cli11): Update to 2.3.2. [source]: Remove snippet. [arguments]: Drop #:imported-modules, #:modules, and #:phases. [native-inputs]: Add “catch2”. Liliana Marie Prikler 2023-05-28gnu: c++-gsl: Update to 4.0.0...* gnu/packages/cpp.scm (c++gsl): Update to 4.0.0. * gnu/packages/patches/c++-gsl-find-system-gtest.patch: Delete file. * gnu/packages/patches/c++-gsl-move-array-bounds-tests.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove deleted patches. Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de> Saku Laesvuori 2023-05-18gnu: cxxopts: Update to 3.1.1....* gnu/packages/cpp.scm (cxxopts): Update to 3.1.1. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Greg Hogan 2023-05-14gnu: cpp: Mention that autoload prevents module cycles....* gnu/packages/cpp.scm: Add a comment on the #:autoload to explain that serialization depends on cpp. Liliana Marie Prikler 2023-05-14gnu: Add lager....* gnu/packages/cpp.scm (lager): New variable. Liliana Marie Prikler 2023-05-14gnu: Add zug....* gnu/packages/cpp.scm (zug): New variable. Liliana Marie Prikler 2023-05-14gnu: Add immer....* gnu/packages/cpp.scm (immer): New variable. Liliana Marie Prikler 2023-05-14gnu: nlohmann-json: Improve package style....* gnu/package/cpp.scm (nlohmann-json)[source]<snippet>: Fit to 80 chars width. Use G-Expressions. [arguments]: Use G-Expressions. Liliana Marie Prikler 2023-05-14gnu: nlohmann-json: Update to 3.11.2....* gnu/packages/cpp.scm (nlohmann-json): Update to 3.11.2. [source]<snippet>: Adjust accordingly. [native-inputs]<json_test_data>: Update to 3.1.0. Liliana Marie Prikler 2023-05-14gnu: Rename json-modern-cxx to nlohmann-json....* gnu/packages/cpp.scm (nlohmann-json): New variable. (json-modern-cxx): Mark as deprecated alias. (xtl, jsonnet)[inputs]: Use nlohmann-json. * gnu/packages/build-tools.scm (bear)[inputs]: Likewise. * gnu/packages/cybersecurity.scm (blacksmith)[inputs]: Likewise. * gnu/packages/databases.scm (sqlitebrowser)[inputs]: Adjust comment. * gnu/packages/games.scm (openrct2)[inputs]: Use nlohmann-json. * gnu/packages/graphics.scm (f3d)[native-inputs]: Likewise. * gnu/packages/hardware.scm (openrgb)[inputs]: Likewise. [arguments]: Adjust accordingly. * gnu/packages/image-processing.scm (paraview)[inputs]: Adjust comment. * gnu/packages/irods.scm (irods, irods-client-icommands)[inputs]: Use nlohmann-json. * gnu/packages/jupyter.scm (xeus)[inputs]: Likewise. * gnu/packages/messaging.scm (mtxclient, nheko)[inputs]: Likewise. * gnu/packages/text-editors.scm (jucipp)[inputs]: Likewise. * gnu/packages/video.scm (mktoolnix)[inputs]: Likewise. * gnu/packages/xdisorg.scm (nwg-launchers)[inputs]: Likewise. Liliana Marie Prikler 2023-05-13gnu: ftxui: Build ftxui-benchmark....* gnu/packages/cpp.scm (ftxui)[native-inputs]: Add benchmark. [arguments]: Remove #:phases. Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Artyom V. Poptsov 2023-05-11gnu: ftxui: Update to 4.0.0....* gnu/packages/cpp.scm (ftxui): Update to 4.0.0. Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Lu Hui 2023-04-28gnu: libexpected: Update to 1.1.0....* gnu/packages/patches/libexpected-use-provided-catch2.patch: Add new patch. * gnu/packages/patches/libexpected-nofetch.patch: Remove unused patch. * gnu/local.mk (dist_patch_DATA): Register changes. * gnu/packages/cpp.scm (libexpected): Update to 1.1.0, and use new patch. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Josselin Poiret 2023-04-21gnu: Add abseil-cpp-20211102.0....* gnu/packages/cpp.scm (abseil-cpp-20211102.0): New variable. Ricardo Wurmus 2023-04-20gnu: abseil-cpp: Add variant for C++11....* gnu/packages/cpp.scm (abseil-cpp-for-c++-standard): New procedure. (abseil-cpp-cxxstd17): Use it. (abseil-cpp-cxxstd11): New variable. Ludovic Courtès 2023-04-12gnu: abseil-cpp-20200923.3: Fix build failure....* gnu/packages/cpp.scm (abseil-cpp-20200923.3)[arguments]: Add phase 'fix-max to add a missing type cast. Ricardo Wurmus 2023-04-08gnu: xsd: Build with GCC 10....* gnu/packages/cpp.scm (xsd)[native-inputs]: Add gcc-10. Ricardo Wurmus 2023-04-08gnu: libxsd-frontend: Build with GCC 10....* gnu/packages/cpp.scm (libxsd-frontend)[native-inputs]: Add gcc-10. Ricardo Wurmus 2023-04-08gnu: cli: Use GCC 10....* gnu/packages/cpp.scm (cli)[native-inputs]: Add gcc-10. Ricardo Wurmus 2023-04-08gnu: libcutl: Use GCC 10....* gnu/packages/cpp.scm (libcutl)[native-inputs]: Add gcc-10. Ricardo Wurmus 2023-03-02Merge remote-tracking branch 'savannah/master' into core-updates...Conflicts: gnu/local.mk gnu/packages/autotools.scm gnu/packages/cmake.scm gnu/packages/gnuzilla.scm gnu/packages/haskell.scm gnu/packages/pdf.scm gnu/packages/python-xyz.scm gnu/packages/samba.scm gnu/packages/tex.scm gnu/packages/tls.scm gnu/packages/wxwidgets.scm Christopher Baines 2023-02-11gnu: Add mcpp....* gnu/packages/cpp.scm (mcpp): New public variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Sughosha 2023-02-01gnu: simdjson: Update to 3.1.0....* gnu/packages/cpp.scm (simdjson): Update to 3.1.0. Signed-off-by: Christopher Baines <mail@cbaines.net> Greg Hogan