Cabal revisions of derive-storable-plugin-0.2.3.0
Hackage metadata revisions edit the .cabal file after upload; each diff below is one revision.
revision 1
--- Initial generic-storable-plugin.cabal generated by cabal init. For --- further documentation, see http://haskell.org/cabal/users-guide/--name: derive-storable-plugin-version: 0.2.3.0-synopsis: GHC core plugin supporting the derive-storable package.-description: The package helps derive-storable package in forcing compile time evaluation of- sizes, alignments and offsets.-homepage: https://www.github.com/mkloczko/derive-storable-plugin/-license: MIT-license-file: LICENSE-author: Mateusz Kłoczko-maintainer: mateusz.p.kloczko@gmail.com--- copyright: -category: Foreign-build-type: Simple-extra-source-files: ChangeLog.md README.md-cabal-version: >=1.10-tested-with: GHC==8.0.2, GHC==8.2.2, GHC==8.4.2, GHC==8.6.5, GHC==8.8.1--Flag sumtypes- Description: Use sumtypes within the benchmark and the test.- Default: False--library- exposed-modules: Foreign.Storable.Generic.Plugin- , Foreign.Storable.Generic.Plugin.Internal- , Foreign.Storable.Generic.Plugin.Internal.Error- , Foreign.Storable.Generic.Plugin.Internal.Compile- , Foreign.Storable.Generic.Plugin.Internal.GroupTypes- , Foreign.Storable.Generic.Plugin.Internal.Helpers- , Foreign.Storable.Generic.Plugin.Internal.Predicates- , Foreign.Storable.Generic.Plugin.Internal.Types- -- other-modules: - other-extensions: DeriveGeneric, DeriveAnyClass, PatternGuards- build-depends: base >=4.9 && <4.14, ghc >= 8.0 && <8.9, ghci >= 8.0 && <8.9, derive-storable >= 0.1.1 && < 0.3- hs-source-dirs: src- default-language: Haskell2010--benchmark plugin-benchmark- type: exitcode-stdio-1.0- hs-source-dirs: benchmark/- default-language: Haskell2010- other-modules: TestCases, TestCasesOptimized- Main-is: Main.hs- build-depends: base >= 4.9 && < 4.14, deepseq, criterion >= 1.1.0- , derive-storable, derive-storable-plugin-- if flag(sumtypes)- cpp-options: -DGSTORABLE_SUMTYPES--test-suite c_alignment- type: exitcode-stdio-1.0- - hs-source-dirs: test/Basic, test/Basic/cbits- c-sources: test/Basic/cbits/TestCases.c - main-is: MemoryCSpec.hs- other-modules: TestCases - build-depends: base >= 4.8 && < 5, derive-storable, derive-storable-plugin- , hspec >= 2.4, QuickCheck >= 2.10- , ghc >= 8.0 && <8.9, ghci >= 8.0 && <8.9- - default-language: Haskell2010- if flag(sumtypes)- cpp-options: -DGSTORABLE_SUMTYPES-+-- Initial generic-storable-plugin.cabal generated by cabal init. For +-- further documentation, see http://haskell.org/cabal/users-guide/ + +name: derive-storable-plugin +version: 0.2.3.0 +x-revision: 1 +synopsis: GHC core plugin supporting the derive-storable package. +description: The package helps derive-storable package in forcing compile time evaluation of + sizes, alignments and offsets. +homepage: https://www.github.com/mkloczko/derive-storable-plugin/ +license: MIT +license-file: LICENSE +author: Mateusz Kłoczko +maintainer: mateusz.p.kloczko@gmail.com +-- copyright: +category: Foreign +build-type: Simple +extra-source-files: ChangeLog.md README.md +cabal-version: >=1.10 +tested-with: GHC==8.0.2, GHC==8.2.2, GHC==8.4.2, GHC==8.6.5, GHC==8.8.1 + +Flag sumtypes + Description: Use sumtypes within the benchmark and the test. + Default: False + +library + exposed-modules: Foreign.Storable.Generic.Plugin + , Foreign.Storable.Generic.Plugin.Internal + , Foreign.Storable.Generic.Plugin.Internal.Error + , Foreign.Storable.Generic.Plugin.Internal.Compile + , Foreign.Storable.Generic.Plugin.Internal.GroupTypes + , Foreign.Storable.Generic.Plugin.Internal.Helpers + , Foreign.Storable.Generic.Plugin.Internal.Predicates + , Foreign.Storable.Generic.Plugin.Internal.Types + -- other-modules: + other-extensions: DeriveGeneric, DeriveAnyClass, PatternGuards + build-depends: base >=4.9 && <4.15, ghc >= 8.0 && <8.11, ghci >= 8.0 && <8.11, derive-storable >= 0.1.1 && < 0.3 + hs-source-dirs: src + default-language: Haskell2010 + +benchmark plugin-benchmark + type: exitcode-stdio-1.0 + hs-source-dirs: benchmark/ + default-language: Haskell2010 + other-modules: TestCases, TestCasesOptimized + Main-is: Main.hs + build-depends: base >= 4.9 && < 4.15, deepseq, criterion >= 1.1.0 + , derive-storable, derive-storable-plugin + + if flag(sumtypes) + cpp-options: -DGSTORABLE_SUMTYPES + +test-suite c_alignment + type: exitcode-stdio-1.0 + + hs-source-dirs: test/Basic, test/Basic/cbits + c-sources: test/Basic/cbits/TestCases.c + main-is: MemoryCSpec.hs + other-modules: TestCases + build-depends: base >= 4.8 && < 5, derive-storable, derive-storable-plugin + , hspec >= 2.4, QuickCheck >= 2.10 + , ghc >= 8.0 && <8.11, ghci >= 8.0 && <8.11 + + default-language: Haskell2010 + if flag(sumtypes) + cpp-options: -DGSTORABLE_SUMTYPES +
revision 2
name: derive-storable-plugin version: 0.2.3.0 -x-revision: 1 +x-revision: 2 synopsis: GHC core plugin supporting the derive-storable package. description: The package helps derive-storable package in forcing compile time evaluation of sizes, alignments and offsets. , Foreign.Storable.Generic.Plugin.Internal.Types -- other-modules: other-extensions: DeriveGeneric, DeriveAnyClass, PatternGuards - build-depends: base >=4.9 && <4.15, ghc >= 8.0 && <8.11, ghci >= 8.0 && <8.11, derive-storable >= 0.1.1 && < 0.3 + build-depends: base >=4.9 && <4.15, ghc >= 8.0 && <8.11, ghci >= 8.0 && <8.11, derive-storable >= 0.1.1 && < 0.4 hs-source-dirs: src default-language: Haskell2010
revision 3
name: derive-storable-plugin version: 0.2.3.0 -x-revision: 2 +x-revision: 3 synopsis: GHC core plugin supporting the derive-storable package. description: The package helps derive-storable package in forcing compile time evaluation of sizes, alignments and offsets. , Foreign.Storable.Generic.Plugin.Internal.Types -- other-modules: other-extensions: DeriveGeneric, DeriveAnyClass, PatternGuards - build-depends: base >=4.9 && <4.15, ghc >= 8.0 && <8.11, ghci >= 8.0 && <8.11, derive-storable >= 0.1.1 && < 0.4 + build-depends: base >=4.9 && <4.15, ghc >= 8.0 && <8.11, ghci >= 8.0 && <8.11, derive-storable >= 0.1.1 && < 0.3 hs-source-dirs: src default-language: Haskell2010