[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/07: gnu: ghc-stylish-haskell: Deprecate older duplicate package.
From: |
guix-commits |
Subject: |
07/07: gnu: ghc-stylish-haskell: Deprecate older duplicate package. |
Date: |
Sat, 21 Mar 2020 16:38:31 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 08c62ac7bdd7c8c90bfa21dfb02008e4c2662e51
Author: John Soo <address@hidden>
AuthorDate: Fri Dec 13 06:32:00 2019 -0800
gnu: ghc-stylish-haskell: Deprecate older duplicate package.
* gnu/packages/haskell-xyz.scm (ghc-stylish-haskell): Deprecate it.
Signed-off-by: Marius Bakke <address@hidden>
---
gnu/packages/haskell-xyz.scm | 63 +-------------------------------------------
1 file changed, 1 insertion(+), 62 deletions(-)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 261bc57..0828dc9 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -11119,68 +11119,7 @@ occurrences of a substring (the first in case of
overlaps) with another.")
(license license:bsd-3)))
(define-public ghc-stylish-haskell
- (package
- (name "ghc-stylish-haskell")
- (version "0.9.2.1")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "mirror://hackage/package/stylish-haskell/stylish-haskell-"
- version
- ".tar.gz"))
- (sha256
- (base32
- "1ls11fdx6snvfx8yykpidz142zzxwi5bazl49hgfqlwx50rqcp7w"))))
- (build-system haskell-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-before 'configure 'update-constraints
- (lambda _
- (substitute* "stylish-haskell.cabal"
- (("haskell-src-exts >= 1\\.18 && < 1\\.21,")
- "haskell-src-exts >= 1.18 && < 1.22,"))
- #t)))))
- (inputs
- `(("ghc-aeson" ,ghc-aeson)
- ("ghc-file-embed" ,ghc-file-embed)
- ("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
- ("ghc-semigroups" ,ghc-semigroups)
- ("ghc-syb" ,ghc-syb)
- ("ghc-yaml" ,ghc-yaml)
- ("ghc-strict" ,ghc-strict)
- ("ghc-optparse-applicative"
- ,ghc-optparse-applicative)))
- (native-inputs
- `(("ghc-hunit" ,ghc-hunit)
- ("ghc-test-framework" ,ghc-test-framework)
- ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
- (home-page "https://github.com/jaspervdj/stylish-haskell")
- (synopsis "Haskell code prettifier")
- (description "Stylish-haskell is a Haskell code prettifier. The goal is
-not to format all of the code in a file, to avoid \"getting in the way\".
-However, this tool can e.g. clean up import statements and help doing various
-tasks that get tedious very quickly. It can
-@itemize
-@item
-Align and sort @code{import} statements
-@item
-Group and wrap @code{{-# LANGUAGE #-}} pragmas, remove (some) redundant
-pragmas
-@item
-Remove trailing whitespaces
-@item
-Align branches in @code{case} and fields in records
-@item
-Convert line endings (customisable)
-@item
-Replace tabs by four spaces (turned off by default)
-@item
-Replace some ASCII sequences by their Unicode equivalent (turned off by
-default)
-@end itemize")
- (license license:bsd-3)))
+ (deprecated-package "ghc-stylish-haskell" stylish-haskell))
(define-public ghc-svg-builder
(package
- branch master updated (dde3f55 -> 08c62ac), guix-commits, 2020/03/21
- 03/07: gnu: Add r-httpcode., guix-commits, 2020/03/21
- 01/07: Revert "gnu: Remove qemu-minimal@2.10.", guix-commits, 2020/03/21
- 04/07: gnu: Add r-latex2exp., guix-commits, 2020/03/21
- 05/07: gnu: Add r-oai., guix-commits, 2020/03/21
- 06/07: gnu: stylish-haskell: Update description., guix-commits, 2020/03/21
- 02/07: gnu: global: Add 'python-wrapper' as input., guix-commits, 2020/03/21
- 07/07: gnu: ghc-stylish-haskell: Deprecate older duplicate package.,
guix-commits <=