pkgsrc-Changes archive

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

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



Module Name:    pkgsrc
Committed By:   pho
Date:           Mon Jan 30 10:10:03 UTC 2023

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

Log Message:
devel/hs-hls-ormolu-plugin: import hs-hls-ormolu-plugin-1.0.3.0

Integration with the Ormolu code formatter

--
I will soon remove devel/hs-hls-oumolu-plugin. It had a typo in the directory name and CVS doesn't let me rename anything.


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

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-ormolu-plugin/DESCR
diff -u /dev/null pkgsrc/devel/hs-hls-ormolu-plugin/DESCR:1.1
--- /dev/null   Mon Jan 30 10:10:03 2023
+++ pkgsrc/devel/hs-hls-ormolu-plugin/DESCR     Mon Jan 30 10:10:03 2023
@@ -0,0 +1 @@
+Integration with the Ormolu code formatter
Index: pkgsrc/devel/hs-hls-ormolu-plugin/Makefile
diff -u /dev/null pkgsrc/devel/hs-hls-ormolu-plugin/Makefile:1.1
--- /dev/null   Mon Jan 30 10:10:03 2023
+++ pkgsrc/devel/hs-hls-ormolu-plugin/Makefile  Mon Jan 30 10:10:03 2023
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2023/01/30 10:10:03 pho Exp $
+
+DISTNAME=      hls-ormolu-plugin-1.0.3.0
+CATEGORIES=    devel
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       Integration with the Ormolu code formatter
+LICENSE=       apache-2.0
+
+.include "../../devel/hs-ghcide/buildlink3.mk"
+.include "../../devel/hs-hls-plugin-api/buildlink3.mk"
+.include "../../devel/hs-lens/buildlink3.mk"
+.include "../../devel/hs-lsp/buildlink3.mk"
+.include "../../devel/ormolu/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/hs-hls-ormolu-plugin/PLIST
diff -u /dev/null pkgsrc/devel/hs-hls-ormolu-plugin/PLIST:1.1
--- /dev/null   Mon Jan 30 10:10:03 2023
+++ pkgsrc/devel/hs-hls-ormolu-plugin/PLIST     Mon Jan 30 10:10:03 2023
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1 2023/01/30 10:10:03 pho Exp $
+lib/hls-ormolu-plugin-${PKGVERSION}/${HS_VERSION}/package-description
+lib/hls-ormolu-plugin-${PKGVERSION}/${HS_VERSION}/package-id
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Ide/Plugin/Ormolu.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ide/Plugin/Ormolu.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Ide/Plugin/Ormolu.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-ormolu-plugin-${PKGVERSION}/LICENSE
+${PLIST.doc}share/doc/${HS_PLATFORM}/hls-ormolu-plugin-${PKGVERSION}/html/Ide-Plugin-Ormolu.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/hls-ormolu-plugin-${PKGVERSION}/html/doc-index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/hls-ormolu-plugin-${PKGVERSION}/html/haddock-bundle.min.js
+${PLIST.doc}share/doc/${HS_PLATFORM}/hls-ormolu-plugin-${PKGVERSION}/html/hls-ormolu-plugin.haddock
+${PLIST.doc}share/doc/${HS_PLATFORM}/hls-ormolu-plugin-${PKGVERSION}/html/index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/hls-ormolu-plugin-${PKGVERSION}/html/linuwial.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/hls-ormolu-plugin-${PKGVERSION}/html/meta.json
+${PLIST.doc}share/doc/${HS_PLATFORM}/hls-ormolu-plugin-${PKGVERSION}/html/quick-jump.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/hls-ormolu-plugin-${PKGVERSION}/html/synopsis.png
Index: pkgsrc/devel/hs-hls-ormolu-plugin/buildlink3.mk
diff -u /dev/null pkgsrc/devel/hs-hls-ormolu-plugin/buildlink3.mk:1.1
--- /dev/null   Mon Jan 30 10:10:03 2023
+++ pkgsrc/devel/hs-hls-ormolu-plugin/buildlink3.mk     Mon Jan 30 10:10:03 2023
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2023/01/30 10:10:03 pho Exp $
+
+BUILDLINK_TREE+=       hs-hls-ormolu-plugin
+
+.if !defined(HS_HLS_ORMOLU_PLUGIN_BUILDLINK3_MK)
+HS_HLS_ORMOLU_PLUGIN_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-hls-ormolu-plugin+=   hs-hls-ormolu-plugin>=1.0.3
+BUILDLINK_ABI_DEPENDS.hs-hls-ormolu-plugin+=   hs-hls-ormolu-plugin>=1.0.3.0
+BUILDLINK_PKGSRCDIR.hs-hls-ormolu-plugin?=     ../../devel/hs-hls-ormolu-plugin
+
+.include "../../devel/hs-ghcide/buildlink3.mk"
+.include "../../devel/hs-hls-plugin-api/buildlink3.mk"
+.include "../../devel/hs-lens/buildlink3.mk"
+.include "../../devel/hs-lsp/buildlink3.mk"
+.include "../../devel/ormolu/buildlink3.mk"
+.endif # HS_HLS_ORMOLU_PLUGIN_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-hls-ormolu-plugin
Index: pkgsrc/devel/hs-hls-ormolu-plugin/distinfo
diff -u /dev/null pkgsrc/devel/hs-hls-ormolu-plugin/distinfo:1.1
--- /dev/null   Mon Jan 30 10:10:03 2023
+++ pkgsrc/devel/hs-hls-ormolu-plugin/distinfo  Mon Jan 30 10:10:03 2023
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2023/01/30 10:10:03 pho Exp $
+
+BLAKE2s (hls-ormolu-plugin-1.0.3.0.tar.gz) = e5894580b1019bdf8239392beb1f5584525c188bad994d0effc865cf4d454f28
+SHA512 (hls-ormolu-plugin-1.0.3.0.tar.gz) = 5c3390684e7040222bc09d58406acf87ec0ee83fb2fe18e71b36d4a740d2588d65e2ee89ab12d3edf5fa76176ff1aef81bb7292bb1c7a1925f0603cb18cb34ee
+Size (hls-ormolu-plugin-1.0.3.0.tar.gz) = 6557 bytes
+SHA1 (patch-hls-ormolu-plugin.cabal) = 0cbb86e58c9e01282a319ae996039f6819138069

Index: pkgsrc/devel/hs-hls-ormolu-plugin/patches/patch-hls-ormolu-plugin.cabal
diff -u /dev/null pkgsrc/devel/hs-hls-ormolu-plugin/patches/patch-hls-ormolu-plugin.cabal:1.1
--- /dev/null   Mon Jan 30 10:10:03 2023
+++ pkgsrc/devel/hs-hls-ormolu-plugin/patches/patch-hls-ormolu-plugin.cabal     Mon Jan 30 10:10:03 2023
@@ -0,0 +1,28 @@
+$NetBSD: patch-hls-ormolu-plugin.cabal,v 1.1 2023/01/30 10:10:03 pho Exp $
+
+What's wrong with GHC 9.4, it does seem to work?
+
+--- hls-ormolu-plugin.cabal.orig       2023-01-30 09:46:14.338913823 +0000
++++ hls-ormolu-plugin.cabal
+@@ -21,10 +21,6 @@ source-repository head
+     location: https://github.com/haskell/haskell-language-server.git
+ 
+ library
+-  if impl(ghc >= 9.3)
+-    buildable: False
+-  else
+-    buildable: True
+   exposed-modules:  Ide.Plugin.Ormolu
+   hs-source-dirs:   src
+   build-depends:
+@@ -42,10 +38,6 @@ library
+   default-language: Haskell2010
+ 
+ test-suite tests
+-  if impl(ghc >= 9.3)
+-    buildable: False
+-  else
+-    buildable: True
+   type:             exitcode-stdio-1.0
+   default-language: Haskell2010
+   hs-source-dirs:   test



Home | Main Index | Thread Index | Old Index