Cabal revisions of constraints-deriving-1.1.0.0
Hackage metadata revisions edit the .cabal file after upload; each diff below is one revision.
revision 1
-cabal-version: 1.24---- This file has been generated from package.yaml by hpack version 0.31.1.------ see: https://github.com/sol/hpack------ hash: 8479ce57401f6861d28b9788c4d6722bb49be9d6bdbcede970e729f8d9887a37--name: constraints-deriving-version: 1.1.0.0-synopsis: Manipulating constraints and deriving class instances programmatically.-description: The library provides a plugin to derive class instances programmatically. Please see the README on GitHub at <https://github.com/achirkin/constraints-deriving#readme>-category: Constraints-homepage: https://github.com/achirkin/constraints-deriving#readme-bug-reports: https://github.com/achirkin/constraints-deriving/issues-author: Artem Chirkin-maintainer: achirkin@users.noreply.github.com-copyright: Copyright: (c) 2019 Artem Chirkin-license: BSD3-license-file: LICENSE-build-type: Custom-extra-source-files:- README.md- test/Spec/ClassDict01.hs- test/Spec/ClassDict02.hs- test/Spec/DeriveAll01.hs- test/Spec/DeriveAll02.hs- test/Spec/DeriveAll03.hs- test/Spec/DeriveAll04.hs- test/Spec/DeriveAll05.hs- test/Spec/DeriveAll06.hs- test/Spec/ToInstance01.hs- test/Spec/ToInstance02.hs- test/out/ClassDict01.stderr- test/out/ClassDict02.stderr- test/out/DeriveAll01.stderr- test/out/DeriveAll02.stderr- test/out/DeriveAll03.stderr- test/out/DeriveAll04.stderr- test/out/DeriveAll05.stderr- test/out/DeriveAll06.stderr- test/out/ToInstance01.stderr- test/out/ToInstance02.stderr- test/out/ClassDict01.stdout- test/out/ClassDict02.stdout- test/out/DeriveAll01.stdout- test/out/DeriveAll02.stdout- test/out/DeriveAll03.stdout- test/out/DeriveAll04.stdout- test/out/DeriveAll05.stdout- test/out/DeriveAll06.stdout- test/out/ToInstance01.stdout- test/out/ToInstance02.stdout--source-repository head- type: git- location: https://github.com/achirkin/constraints-deriving--custom-setup- setup-depends:- Cabal- , base--flag constraints- description: Use vanilla constraints package as a dependency instead of the manual minimalistic definitions copied from there.- manual: True- default: False--flag debug- description: Show debug trace info (used only for library development). Note, if you want to see the debug output of the plugin in another project, you may need to manually define a CPP option -DPLUGIN_DEBUG in that project.- manual: True- default: False--flag examples- description: Whether to build examples- manual: True- default: False--library- exposed-modules:- Data.Constraint.Bare- Data.Constraint.Deriving- Data.Constraint.Deriving.ClassDict- Data.Constraint.Deriving.DeriveAll- Data.Constraint.Deriving.ToInstance- other-modules:- Data.Constraint.Deriving.CorePluginM- hs-source-dirs:- src- ghc-options: -Wall- build-depends:- base >=4.9 && <5- , ghc >=8.0.1- if flag(debug)- cpp-options: -DPLUGIN_DEBUG- if flag(constraints)- build-depends:- constraints >=0.6- else- exposed-modules:- Data.Constraint- Data.Constraint.Unsafe- hs-source-dirs:- src-constraints- default-language: Haskell2010--executable deriving-example- main-is: Main.hs- other-modules:- Lib.BackendFamily- Lib.VecBackend- Lib.Vector- hs-source-dirs:- example- ghc-options: -Wall- build-depends:- base >=4.9 && <5- , constraints-deriving- if flag(examples)- ghc-options: -dcore-lint- else- buildable: False- default-language: Haskell2010--test-suite functional-tests- type: exitcode-stdio-1.0- main-is: Spec.hs- hs-source-dirs:- test- ghc-options: -Wall- build-depends:- base >=4.9 && <5- , bytestring- , constraints-deriving- , filepath- , ghc- , ghc-paths- , path >=0.5.13- , path-io- default-language: Haskell2010+cabal-version: 1.24 + +-- This file has been generated from package.yaml by hpack version 0.31.1. +-- +-- see: https://github.com/sol/hpack +-- +-- hash: 8479ce57401f6861d28b9788c4d6722bb49be9d6bdbcede970e729f8d9887a37 + +name: constraints-deriving +version: 1.1.0.0 +x-revision: 1 +synopsis: Manipulating constraints and deriving class instances programmatically. +description: The library provides a plugin to derive class instances programmatically. Please see the README on GitHub at <https://github.com/achirkin/constraints-deriving#readme> +category: Constraints +homepage: https://github.com/achirkin/constraints-deriving#readme +bug-reports: https://github.com/achirkin/constraints-deriving/issues +author: Artem Chirkin +maintainer: achirkin@users.noreply.github.com +copyright: Copyright: (c) 2019 Artem Chirkin +license: BSD3 +license-file: LICENSE +build-type: Custom +extra-source-files: + README.md + test/Spec/ClassDict01.hs + test/Spec/ClassDict02.hs + test/Spec/DeriveAll01.hs + test/Spec/DeriveAll02.hs + test/Spec/DeriveAll03.hs + test/Spec/DeriveAll04.hs + test/Spec/DeriveAll05.hs + test/Spec/DeriveAll06.hs + test/Spec/ToInstance01.hs + test/Spec/ToInstance02.hs + test/out/ClassDict01.stderr + test/out/ClassDict02.stderr + test/out/DeriveAll01.stderr + test/out/DeriveAll02.stderr + test/out/DeriveAll03.stderr + test/out/DeriveAll04.stderr + test/out/DeriveAll05.stderr + test/out/DeriveAll06.stderr + test/out/ToInstance01.stderr + test/out/ToInstance02.stderr + test/out/ClassDict01.stdout + test/out/ClassDict02.stdout + test/out/DeriveAll01.stdout + test/out/DeriveAll02.stdout + test/out/DeriveAll03.stdout + test/out/DeriveAll04.stdout + test/out/DeriveAll05.stdout + test/out/DeriveAll06.stdout + test/out/ToInstance01.stdout + test/out/ToInstance02.stdout + +source-repository head + type: git + location: https://github.com/achirkin/constraints-deriving + +custom-setup + setup-depends: + Cabal < 3.4 + , base + +flag constraints + description: Use vanilla constraints package as a dependency instead of the manual minimalistic definitions copied from there. + manual: True + default: False + +flag debug + description: Show debug trace info (used only for library development). Note, if you want to see the debug output of the plugin in another project, you may need to manually define a CPP option -DPLUGIN_DEBUG in that project. + manual: True + default: False + +flag examples + description: Whether to build examples + manual: True + default: False + +library + exposed-modules: + Data.Constraint.Bare + Data.Constraint.Deriving + Data.Constraint.Deriving.ClassDict + Data.Constraint.Deriving.DeriveAll + Data.Constraint.Deriving.ToInstance + other-modules: + Data.Constraint.Deriving.CorePluginM + hs-source-dirs: + src + ghc-options: -Wall + build-depends: + base >=4.9 && <5 + , ghc >=8.0.1 + if flag(debug) + cpp-options: -DPLUGIN_DEBUG + if flag(constraints) + build-depends: + constraints >=0.6 + else + exposed-modules: + Data.Constraint + Data.Constraint.Unsafe + hs-source-dirs: + src-constraints + default-language: Haskell2010 + +executable deriving-example + main-is: Main.hs + other-modules: + Lib.BackendFamily + Lib.VecBackend + Lib.Vector + hs-source-dirs: + example + ghc-options: -Wall + build-depends: + base >=4.9 && <5 + , constraints-deriving + if flag(examples) + ghc-options: -dcore-lint + else + buildable: False + default-language: Haskell2010 + +test-suite functional-tests + type: exitcode-stdio-1.0 + main-is: Spec.hs + hs-source-dirs: + test + ghc-options: -Wall + build-depends: + base >=4.9 && <5 + , bytestring + , constraints-deriving + , filepath + , ghc + , ghc-paths + , path >=0.5.13 + , path-io + default-language: Haskell2010