packages feed

luhn-0.3: luhn.cabal

cabal-version: 3.8
name: luhn
version: 0.3
category: Data
synopsis: An implementation of Luhn's check digit algorithm.
description: An implementation of Luhn's check digit algorithm. This is a simple algorithm
  used to validate a variety of identification numbers, such as credit card numbers.
  See <http://en.wikipedia.org/wiki/Luhn_algorithm> for more details.
license: BSD-3-Clause
license-file: LICENSE
copyright: (c) 2008-2009 N-Sim Ltd., 2025 Henry Bucklow
author: Henry Bucklow
maintainer: opensource@elsie.org.uk
tested-with: GHC==9.12.2
extra-doc-files: CHANGELOG.md

source-repository head
    type: git
    location: https://github.com/sffubs/luhn.git

library
    build-depends: base >= 4 && < 5, digits < 1, QuickCheck < 3
    exposed-modules: Luhn
    hs-source-dirs: src
    ghc-options: -Wall
    default-language: Haskell2010

test-suite luhn-tests
    hs-source-dirs: test
    main-is: Tests.hs
    ghc-options: -Wall
    build-depends: base >= 4 && < 5, luhn, QuickCheck
    default-language: Haskell2010