void-packages/srcpkgs/hlint/template

20 lines
575 B
Bash

# Template file for 'hlint'
pkgname=hlint
version=2.1.8
revision=1
build_style=haskell-stack
nocross=yes # Can't yet cross compile Haskell
stackage="lts-12.0"
short_desc="Haskell source code suggestions"
maintainer="Inokentiy Babushkin <twk@twki.de>"
license="BSD-3-Clause"
homepage="https://github.com/ndmitchell/hlint"
distfiles="https://github.com/ndmitchell/${pkgname}/archive/v${version}.tar.gz"
checksum=ad94f0a5baf05b83603c4ef26c426c2769047c83dd11b659d6bf00bccf895a04
nopie_files="/usr/bin/hlint"
post_install() {
rm -f ${DESTDIR}/usr/bin/engine
vlicense LICENSE
}