packages feed

pgvector-0.1.1: pgvector.cabal

cabal-version:      3.0
name:               pgvector
version:            0.1.1
synopsis:           pgvector support for Haskell
description:        Adds the vector data type to postgresql-simple
category:           Database
homepage:           https://github.com/pgvector/pgvector-haskell
license:            MIT
license-file:       LICENSE.txt
author:             Andrew Kane
maintainer:         andrew@ankane.org
build-type:         Simple
extra-doc-files:    CHANGELOG.md

source-repository head
  type:     git
  location: https://github.com/pgvector/pgvector-haskell.git

source-repository this
  type:     git
  location: https://github.com/pgvector/pgvector-haskell.git
  tag:      v0.1.1

common warnings
    ghc-options: -Wall

library
    import:           warnings
    exposed-modules:  Pgvector
    build-depends:
        base >= 4.6 && < 4.22,
        bytestring >= 0.10 && < 0.12,
        postgresql-simple >= 0.6 && < 0.8
    hs-source-dirs:   src
    default-language: Haskell2010

test-suite pgvector-test
    import:           warnings
    default-language: Haskell2010
    type:             exitcode-stdio-1.0
    hs-source-dirs:   test
    main-is:          Main.hs
    build-depends:
        base,
        pgvector,
        postgresql-simple