packages feed

clisparkline-0.1.0.0: clisparkline.cabal

cabal-version:       >=1.10

-- Initial package description 'clisparkline.cabal' generated by 'cabal
-- init'.  For further documentation, see
-- http://haskell.org/cabal/users-guide/

-- The name of the package.
name:                clisparkline

-- The package version.  See the Haskell package versioning policy (PVP)
-- for standards guiding when and how versions should be incremented.
-- https://pvp.haskell.org
-- PVP summary:      +-+------- breaking API changes
--                   | | +----- non-breaking API additions
--                   | | | +--- code changes with no API change
version:             0.1.0.0

-- A short (one-line) description of the package.
-- synopsis:

-- A longer description of the package.
-- description:

-- A URL where users can report bugs.
-- bug-reports:

-- The license under which the package is released.
license:             MIT

-- The file containing the license text.
license-file:        LICENSE

-- The package author(s).
author:              Siddharth Bhat

-- An email address to which users can send suggestions, bug reports, and
-- patches.
maintainer:          siddu.druid@gmail.com

-- A copyright notice.
-- copyright:

category:            Graphics

synopsis: Tiny library to pretty print sparklines onto the CLI

description: Print sparklines into the CLI. Example usage:
    > import System.Console.Sparkline
    > main = putStrLn . series2spark $ [0, 1, 2, 3, 2, 1]
    output is:
    > _▂▅█▅▂

build-type:          Simple

-- Extra files to be distributed with the package, such as examples or a
-- README.
extra-source-files:  README.md
                   


library
  -- Modules exported by the library.
  exposed-modules:     System.Console.Sparkline

  -- Modules included in this library but not exported.
  -- other-modules:

  -- LANGUAGE extensions used by modules in this package.
  -- other-extensions:

  -- Other library packages from which modules are imported.
  build-depends:       base >=4.12 && <4.13

  -- Directories containing source files.
  hs-source-dirs:      lib

  -- Base language which the package is written in.
  default-language:    Haskell2010


test-suite clisparkline-test
  -- Base language which the package is written in.
  default-language:    Haskell2010

  -- The interface type and version of the test suite.
  type:                exitcode-stdio-1.0

  -- The directory where the test specifications are found.
  hs-source-dirs:      test

  -- The entrypoint to the test suite.
  main-is:             MyLibTest.hs

  -- Test dependencies.
  build-depends:       base >=4.12 && <4.13

source-repository head
    type: git
    location: https://github.com/bollu/clisparkline.git