packages feed

lrclib-client-0.2.2: lrclib-client.cabal

cabal-version:      3.0

name:               lrclib-client
version:            0.2.2
synopsis:           A Haskell client for the LrcLib API (lyrics database)
description:
  This library provides types and functions to interact with the
  LrcLib API (<https://lrclib.net>), a community-driven lyrics database.
  Supports fetching, searching, and submitting lyrics with proper metadata.

homepage:           https://github.com/proggerx/lrclib-client
bug-reports:        https://github.com/proggerx/lrclib-client/issues
license:            GPL-3.0-only
license-file:       LICENSE
author:             Sand Gurt <x@proggers.ru>
maintainer:         Sand Gurt <x@proggers.ru>
copyright:          2026 Sand Gurt <x@proggers.ru>
category:           Music, Web, API
build-type:         Simple

source-repository head
  type:             git
  location:         https://github.com/proggerx/lrclib-client.git

common warnings
  ghc-options:      -Wall

library
  import:           warnings
  exposed-modules:  LrcLib.Client, LrcLib.Types
  build-depends:    aeson >= 2.2.3 && < 2.3,
                    base >= 4.18 && < 4.21,
                    base16-bytestring >= 1.0.2 && < 1.1,
                    bytestring >= 0.12.2 && < 0.13,
                    cryptohash-sha256 >= 0.11.102 && < 0.12,
                    lens >= 5.3.5 && < 5.4,
                    mtl >= 2.3.1 && < 2.4,
                    text >= 2.1.3 && < 2.2,
                    wreq >= 0.5.4 && < 0.6,

  hs-source-dirs:   src
  default-language: GHC2021

test-suite test
  import: warnings
  type:             exitcode-stdio-1.0
  hs-source-dirs:   test
  main-is:          Main.hs
  build-depends:    aeson, base, bytestring, tasty, tasty-hunit, lrclib-client
  default-language: GHC2021