packages feed

acousticbrainz-client-0.1.0.0: acousticbrainz-client.cabal

cabal-version:       2.2
name:                acousticbrainz-client
version:             0.1.0.0
synopsis:            AcousticBrainz API client
-- description:
-- bug-reports:
license:             CC0-1.0
author:              koral
maintainer:          chahine.moreau@gmail.com
-- category:
build-type:          Simple
-- extra-source-files:  CHANGELOG.md
tested-with: GHC ==8.6.3 || ==8.4.4 || ==8.2.2 || ==8.0.2


common common
  build-depends: base-noprelude >= 4.7, base-compat-batteries, relude
  default-language: Haskell2010
  other-modules:
    Prelude

library
  import: common
  exposed-modules:
    AcousticBrainz.FiniteDistribution
    AcousticBrainz.HighLevel
    AcousticBrainz.HighLevel.Dortmund
    AcousticBrainz.HighLevel.ElectronicClassification
    AcousticBrainz.HighLevel.ISMIR04Rhythm
    AcousticBrainz.HighLevel.MirexMood
    AcousticBrainz.HighLevel.Rosamerica
    AcousticBrainz.HighLevel.Tzanetakis
    AcousticBrainz.LowLevel
    AcousticBrainz.LowLevel.Algorithm.BpmHistogramDescriptors
    AcousticBrainz.LowLevel.Algorithm.Chords
    AcousticBrainz.LowLevel.Algorithm.EnergyBand
    AcousticBrainz.LowLevel.Algorithm.HighResolutionFeatures
    AcousticBrainz.LowLevel.Algorithm.HPCP
    AcousticBrainz.LowLevel.Algorithm.Key
    AcousticBrainz.LowLevel.Algorithm.SilenceRate
    AcousticBrainz.LowLevel.BarkBands
    AcousticBrainz.LowLevel.Bands
    AcousticBrainz.LowLevel.CepstralCoefficients
    AcousticBrainz.LowLevel.EquivalentRectangularBandwidth
    AcousticBrainz.LowLevel.MelBands
    AcousticBrainz.LowLevel.Rhythm
    AcousticBrainz.LowLevel.Spectral
    AcousticBrainz.LowLevel.Tonal
    AcousticBrainz.MetaData
    AcousticBrainz.StatisticalUnits
    AcousticBrainz.Version
    MusicBrainz
  -- other-extensions:
  build-depends:       aeson, bytestring, exceptions, microlens-platform, microlens-aeson, scientific, streaming-bytestring, streaming-utils, text
  hs-source-dirs:      src

test-suite golden-tests
  import: common
  type: exitcode-stdio-1.0
  main-is: GoldenTests.hs
  build-depends:
    acousticbrainz-client -any,
    aeson,
    filepath,
    pretty-simple,
    tasty -any,
    tasty-golden -any,
    text
  hs-source-dirs: test