pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/hs-hls-hlint-plugin



Module Name:    pkgsrc
Committed By:   pho
Date:           Tue Jan 31 18:59:48 UTC 2023

Added Files:
        pkgsrc/devel/hs-hls-hlint-plugin: DESCR Makefile PLIST buildlink3.mk
            distinfo
        pkgsrc/devel/hs-hls-hlint-plugin/patches: patch-src_Ide_Plugin_Hlint.hs

Log Message:
devel/hs-hls-hlint-plugin: import hs-hls-hlint-plugin-1.1.1.0

Hlint integration plugin with Haskell Language Server.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/hs-hls-hlint-plugin/DESCR \
    pkgsrc/devel/hs-hls-hlint-plugin/Makefile \
    pkgsrc/devel/hs-hls-hlint-plugin/PLIST \
    pkgsrc/devel/hs-hls-hlint-plugin/buildlink3.mk \
    pkgsrc/devel/hs-hls-hlint-plugin/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/hs-hls-hlint-plugin/patches/patch-src_Ide_Plugin_Hlint.hs

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/hs-hls-hlint-plugin/DESCR
diff -u /dev/null pkgsrc/devel/hs-hls-hlint-plugin/DESCR:1.1
--- /dev/null   Tue Jan 31 18:59:48 2023
+++ pkgsrc/devel/hs-hls-hlint-plugin/DESCR      Tue Jan 31 18:59:48 2023
@@ -0,0 +1 @@
+Hlint integration plugin with Haskell Language Server.
Index: pkgsrc/devel/hs-hls-hlint-plugin/Makefile
diff -u /dev/null pkgsrc/devel/hs-hls-hlint-plugin/Makefile:1.1
--- /dev/null   Tue Jan 31 18:59:48 2023
+++ pkgsrc/devel/hs-hls-hlint-plugin/Makefile   Tue Jan 31 18:59:48 2023
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2023/01/31 18:59:48 pho Exp $
+
+DISTNAME=      hls-hlint-plugin-1.1.1.0
+CATEGORIES=    devel
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       Hlint integration plugin with Haskell Language Server
+LICENSE=       apache-2.0
+
+HASKELL_UNRESTRICT_DEPENDENCIES+=      \
+       apply-refact
+
+.include "../../converters/hs-aeson/buildlink3.mk"
+.include "../../devel/hs-data-default/buildlink3.mk"
+.include "../../textproc/hs-Diff/buildlink3.mk"
+.include "../../misc/hs-extra/buildlink3.mk"
+.include "../../devel/hs-ghc-exactprint/buildlink3.mk"
+.include "../../devel/hs-ghc-lib-parser/buildlink3.mk"
+.include "../../devel/hs-ghc-lib-parser-ex/buildlink3.mk"
+.include "../../devel/hs-ghcide/buildlink3.mk"
+.include "../../devel/hs-hashable/buildlink3.mk"
+.include "../../devel/hlint/buildlink3.mk"
+.include "../../devel/hs-hls-plugin-api/buildlink3.mk"
+.include "../../sysutils/hs-hslogger/buildlink3.mk"
+.include "../../devel/hs-lens/buildlink3.mk"
+.include "../../devel/hs-lsp/buildlink3.mk"
+.include "../../devel/hs-refact/buildlink3.mk"
+.include "../../textproc/hs-regex-tdfa/buildlink3.mk"
+.include "../../sysutils/hs-temporary/buildlink3.mk"
+.include "../../devel/hs-unordered-containers/buildlink3.mk"
+.include "../../devel/hs-apply-refact/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/hs-hls-hlint-plugin/PLIST
diff -u /dev/null pkgsrc/devel/hs-hls-hlint-plugin/PLIST:1.1
--- /dev/null   Tue Jan 31 18:59:48 2023
+++ pkgsrc/devel/hs-hls-hlint-plugin/PLIST      Tue Jan 31 18:59:48 2023
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1 2023/01/31 18:59:48 pho Exp $
+lib/hls-hlint-plugin-${PKGVERSION}/${HS_VERSION}/package-description
+lib/hls-hlint-plugin-${PKGVERSION}/${HS_VERSION}/package-id
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Ide/Plugin/Hlint.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ide/Plugin/Hlint.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Ide/Plugin/Hlint.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+${PLIST.shlibs}lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+${PLIST.doc}share/doc/${HS_PLATFORM}/hls-hlint-plugin-${PKGVERSION}/LICENSE
+${PLIST.doc}share/doc/${HS_PLATFORM}/hls-hlint-plugin-${PKGVERSION}/html/Ide-Plugin-Hlint.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/hls-hlint-plugin-${PKGVERSION}/html/doc-index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/hls-hlint-plugin-${PKGVERSION}/html/haddock-bundle.min.js
+${PLIST.doc}share/doc/${HS_PLATFORM}/hls-hlint-plugin-${PKGVERSION}/html/hls-hlint-plugin.haddock
+${PLIST.doc}share/doc/${HS_PLATFORM}/hls-hlint-plugin-${PKGVERSION}/html/index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/hls-hlint-plugin-${PKGVERSION}/html/linuwial.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/hls-hlint-plugin-${PKGVERSION}/html/meta.json
+${PLIST.doc}share/doc/${HS_PLATFORM}/hls-hlint-plugin-${PKGVERSION}/html/quick-jump.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/hls-hlint-plugin-${PKGVERSION}/html/synopsis.png
Index: pkgsrc/devel/hs-hls-hlint-plugin/buildlink3.mk
diff -u /dev/null pkgsrc/devel/hs-hls-hlint-plugin/buildlink3.mk:1.1
--- /dev/null   Tue Jan 31 18:59:48 2023
+++ pkgsrc/devel/hs-hls-hlint-plugin/buildlink3.mk      Tue Jan 31 18:59:48 2023
@@ -0,0 +1,33 @@
+# $NetBSD: buildlink3.mk,v 1.1 2023/01/31 18:59:48 pho Exp $
+
+BUILDLINK_TREE+=       hs-hls-hlint-plugin
+
+.if !defined(HS_HLS_HLINT_PLUGIN_BUILDLINK3_MK)
+HS_HLS_HLINT_PLUGIN_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-hls-hlint-plugin+=    hs-hls-hlint-plugin>=1.1.1
+BUILDLINK_ABI_DEPENDS.hs-hls-hlint-plugin+=    hs-hls-hlint-plugin>=1.1.1.0
+BUILDLINK_PKGSRCDIR.hs-hls-hlint-plugin?=      ../../devel/hs-hls-hlint-plugin
+
+.include "../../converters/hs-aeson/buildlink3.mk"
+.include "../../devel/hs-data-default/buildlink3.mk"
+.include "../../textproc/hs-Diff/buildlink3.mk"
+.include "../../misc/hs-extra/buildlink3.mk"
+.include "../../devel/hs-ghc-exactprint/buildlink3.mk"
+.include "../../devel/hs-ghc-lib-parser/buildlink3.mk"
+.include "../../devel/hs-ghc-lib-parser-ex/buildlink3.mk"
+.include "../../devel/hs-ghcide/buildlink3.mk"
+.include "../../devel/hs-hashable/buildlink3.mk"
+.include "../../devel/hlint/buildlink3.mk"
+.include "../../devel/hs-hls-plugin-api/buildlink3.mk"
+.include "../../sysutils/hs-hslogger/buildlink3.mk"
+.include "../../devel/hs-lens/buildlink3.mk"
+.include "../../devel/hs-lsp/buildlink3.mk"
+.include "../../devel/hs-refact/buildlink3.mk"
+.include "../../textproc/hs-regex-tdfa/buildlink3.mk"
+.include "../../sysutils/hs-temporary/buildlink3.mk"
+.include "../../devel/hs-unordered-containers/buildlink3.mk"
+.include "../../devel/hs-apply-refact/buildlink3.mk"
+.endif # HS_HLS_HLINT_PLUGIN_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-hls-hlint-plugin
Index: pkgsrc/devel/hs-hls-hlint-plugin/distinfo
diff -u /dev/null pkgsrc/devel/hs-hls-hlint-plugin/distinfo:1.1
--- /dev/null   Tue Jan 31 18:59:48 2023
+++ pkgsrc/devel/hs-hls-hlint-plugin/distinfo   Tue Jan 31 18:59:48 2023
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2023/01/31 18:59:48 pho Exp $
+
+BLAKE2s (hls-hlint-plugin-1.1.1.0.tar.gz) = e24bfb8281bbf464acf592910a373fbc04dedaad595da6cb7caed7b9b6c58af6
+SHA512 (hls-hlint-plugin-1.1.1.0.tar.gz) = 575a584c3de1270ebabf141a9e890a4dfedbcd24a35df3cd672d6d17683e47e33a0e191cbb028dd729aec5d96389785ccea317dda59c1166f7b4e41b98771068
+Size (hls-hlint-plugin-1.1.1.0.tar.gz) = 19236 bytes
+SHA1 (patch-src_Ide_Plugin_Hlint.hs) = cb78d32580622f1b2059640ff5792fbaab4ebae2

Index: pkgsrc/devel/hs-hls-hlint-plugin/patches/patch-src_Ide_Plugin_Hlint.hs
diff -u /dev/null pkgsrc/devel/hs-hls-hlint-plugin/patches/patch-src_Ide_Plugin_Hlint.hs:1.1
--- /dev/null   Tue Jan 31 18:59:48 2023
+++ pkgsrc/devel/hs-hls-hlint-plugin/patches/patch-src_Ide_Plugin_Hlint.hs      Tue Jan 31 18:59:48 2023
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_Ide_Plugin_Hlint.hs,v 1.1 2023/01/31 18:59:48 pho Exp $
+
+Fix build with apply-refact-0.12.
+
+--- src/Ide/Plugin/Hlint.hs.orig       2023-01-31 18:52:13.392202043 +0000
++++ src/Ide/Plugin/Hlint.hs
+@@ -594,7 +594,7 @@ applyHint recorder ide nfp mhint =
+             -- We have to reparse extensions to remove the invalid ones
+             let (enabled, disabled, _invalid) = Refact.parseExtensions $ map show exts
+             let refactExts = map show $ enabled ++ disabled
+-            (Right <$> withRuntimeLibdir (Refact.applyRefactorings position commands temp refactExts))
++            (Right <$> Refact.applyRefactorings (topDir dflags) position commands temp refactExts)
+                 `catches` errorHandlers
+ #else
+     mbParsedModule <- liftIO $ runAction' $ getParsedModuleWithComments nfp



Home | Main Index | Thread Index | Old Index