;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2019 Robert Vollmert ;;; ;;; 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 . (define-module (gnu packages elm) #:use-module (gnu packages) #:use-module (gnu packages haskell) #:use-module (gnu packages haskell-check) #:use-module (gnu packages haskell-crypto) #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages haskell-web) #:use-module (guix build-system haskell) #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages)) ;; The full elm build calls out to itself via Template Haskell to ;; compile the elm reactor web app. elm reactor isn't required to ;; compile elm applications, so we take this part out of this ;; bootstrap package. (define-public elm-compiler (package (name "elm-compiler") (version "0.19.0") (source (origin (method git-fetch) (file-name (git-file-name name version)) (uri (git-reference (url "https://github.com/elm/compiler/") (commit version))) (sha256 (base32 "0s93z9vr0vp5w894ghc5s34nsq09sg1msf59zfiba87sid5vgjqy")) (patches (search-patches "elm-compiler-disable-reactor.patch" "elm-compiler-fix-map-key.patch")))) (build-system haskell-build-system) (arguments `(#:phases (modify-phases %standard-phases (add-before 'configure 'update-constraints (lambda _ (substitute* "elm.cabal" (("(ansi-terminal|containers|network|http-client|language-glsl)\\s+[^,]+" all dep) dep))))))) (inputs (list ghc-ansi-terminal ghc-ansi-wl-pprint ghc-edit-distance ghc-file-embed ghc-http ghc-http-client ghc-http-client-tls ghc-http-types ghc-language-glsl ghc-logict ghc-network ghc-raw-strings-qq ghc-scientific ghc-sha ghc-snap-core ghc-snap-server ghc-unordered-containers ghc-utf8-string ghc-vector ghc-zip-archive)) (home-page "https://elm-lang.org") (synopsis "Programming language for Web applications") (description "This package provides Elm, a statically-typed functional programming language for the browser. It includes commands for developers such as @command{elm make} and @command{elm repl}.") (license license:bsd-3))) Rename to ... (libcap): ... this. (libcap/next): Define as deprecated alias for LIBCAP. (fakeroot)[inputs]: Change from LIBCAP/NEXT to LIBCAP. * gnu/packages/ntp.scm (chrony, ntp)[inputs]: Likewise. Marius Bakke 2020-03-18gnu: avahi: Update to 0.8....* gnu/packages/patches/avahi-CVE-2018-1000845.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/avahi.scm (avahi): Update to 0.8. [source](patches): Remove obsolete patch. [properties]: Remove. [arguments]: Remove "--disable-qt3" from #:configure-flags. Add "--disable-qt5". [inputs]: Add LIBEVENT. Sort lexicographically. [native-inputs]: Remove INTLTOOL. Add GETTEXT-MINIMAL. Marius Bakke 2020-03-18gnu: avahi: Do not build the static libraries....* gnu/packages/avahi.scm (avahi)[arguments]: Add "--disable-static" to #:configure-flags. Marius Bakke 2020-01-21Merge branch 'staging' into core-updatesMarius Bakke 2020-01-19gnu: Use HTTPS for avahi.org everywhere....* gnu/packages/avahi.scm (avahi)[home-page]: Use HTTPS. * gnu/services/avahi.scm (avahi-service): Likewise in docstring. Tobias Geerinckx-Rice 2019-12-05gnu: avahi: Incorporate grafted changes....* gnu/packages/avahi.scm (avahi)[replacement]: Remove. [source](patches): Add avahi-CVE-2018-1000845.patch. [properties]: New field. (avahi/fixed): Remove variable. Marius Bakke 2019-10-23gnu: avahi: Don't use package/inherit....Thanks to Mark H Weaver <mhw@netris.org>. * gnu/packages/avahi.scm (avahi): Use (package (inherit …)) instead of package/inherit. Tobias Geerinckx-Rice 2019-10-23gnu: avahi: Fix CVE-2018-1000845 and duplicate CVE-2017-6519....* gnu/packages/avahi.scm (avahi/fixed): New variable. (avahi)[replacement]: Use it. * gnu/packages/patches/avahi-CVE-2018-1000845.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Tobias Geerinckx-Rice