diff --git a/srcpkgs/hlint/patches/ghc8.8.3.patch b/srcpkgs/hlint/patches/ghc8.8.3.patch new file mode 100644 index 0000000000..356800d31c --- /dev/null +++ b/srcpkgs/hlint/patches/ghc8.8.3.patch @@ -0,0 +1,13 @@ +--- stack.yaml 2020-02-09 22:30:02.000000000 +0100 ++++ stack.yaml 2020-03-28 12:06:31.711342411 +0100 +@@ -4,8 +4,7 @@ + resolver: nightly-2019-08-07 # Don't roll to an 8.8.1 or 8.8.2 resolver because of the Windows linker bug + packages: [.] + extra-deps: +- - ghc-lib-parser-8.8.2.20200205 +- - ghc-lib-parser-ex-8.8.5.1 ++ - ghc-lib-parser-8.8.3.20200224 ++ - ghc-lib-parser-ex-8.8.6.0 +- - haskell-src-exts-1.23.0 + ghc-options: + "$locals": -Wunused-imports -Worphans -Wunused-top-binds -Wunused-local-binds -Wincomplete-patterns diff --git a/srcpkgs/hlint/template b/srcpkgs/hlint/template index 0dc5a0f244..53151062ad 100644 --- a/srcpkgs/hlint/template +++ b/srcpkgs/hlint/template @@ -1,15 +1,16 @@ # Template file for 'hlint' pkgname=hlint -version=2.1.11 -revision=4 +version=2.2.11 +revision=1 build_style=haskell-stack -stackage="lts-13.2" +stackage="lts-15.4" +makedepends="ncurses-devel" short_desc="Haskell source code suggestions" maintainer="Inokentiy Babushkin " license="BSD-3-Clause" -homepage="https://github.com/ndmitchell/hlint" -distfiles="https://github.com/ndmitchell/hlint/archive/v${version}.tar.gz" -checksum=edb6e18e9b8abceb6326212c4c20163516e88e80da734a504065b9fe833cccc4 +homepage="https://github.com/ndmitchell/${pkgname}" +distfiles="https://github.com/ndmitchell/${pkgname}/archive/v${version}.tar.gz" +checksum=207539d3627efd3caed9e6fd3b1aeb8f1eb64553f1f9f166090adbf2fb71e172 nocross=yes # Can't yet cross compile Haskell nopie_files="/usr/bin/hlint"