packages feed

quipper-tools-0.9.0.0: quipper-tools.cabal

-- The name of the package.
name:                quipper-tools

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

-- A short (one-line) description of the package.
synopsis:            Miscellaneous stand-alone tools for Quipper

-- A longer description of the package.
description:         

 This package provides some stand-alone tools for Quipper, with demos
 for how to write more such tools.
                     
-- URL for the project homepage or repository.
homepage:            http://www.mathstat.dal.ca/~selinger/quipper/

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

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

-- The package author(s).
author:              Alexander S. Green, Peter LeFanu Lumsdaine, Won Ng,
                     Neil J. Ross, Peter Selinger, Benoit Valiron

-- An email address to which users can send suggestions, bug reports, and 
-- patches.
maintainer:          selinger@mathstat.dal.ca

-- A copyright notice.
copyright:           Copyright (c) 2011-2019. All rights reserved.

-- A classification category for future use by the package catalogue
-- Hackage. These categories have not yet been specified, but the
-- upper levels of the module hierarchy make a good start.
category:            Quipper

-- The type of build used by this package.
build-type:          Custom

-- Constraint on the version of Cabal needed to build this package.
cabal-version:       >= 1.8

-- A list of additional files to be included in source distributions
-- built with setup sdist.
extra-source-files:  images/*.png
                     ChangeLog
                     README
                     Quipper/Programs/QCLParser/README
                     Quipper/Programs/QCLParser/bwt.qcl
                     Quipper/Programs/QCLParser/QCL-bwt-n4.out

-- We must export a library, even if it is empty, or else
-- meta-packages (such as quipper-all) that depend on this package
-- will fail.
library
  exposed-modules:
                     
executable quipper-approximate
           main-is: Quipper/Programs/Tools/Approximate.hs
           build-depends:
                         base >= 4.5 && < 5,
                         random >= 1.0.1.1,
                         quipper-utils,
                         quipper-language,
                         quipper-libraries

executable quipper-ascii
           main-is: Quipper/Programs/Tools/ASCII.hs
           build-depends:
                         base >= 4.5 && < 5,
                         quipper-utils,
                         quipper-language,
                         quipper-libraries
                         
executable quipper-binary
           main-is: Quipper/Programs/Tools/Binary.hs
           build-depends:
                         base >= 4.5 && < 5,
                         quipper-utils,
                         quipper-language,
                         quipper-libraries
                         
executable quipper-cliffordt
           main-is: Quipper/Programs/Tools/CliffordT.hs
           build-depends:
                         base >= 4.5 && < 5,
                         random >= 1.0.1.1,
                         quipper-utils,
                         quipper-language,
                         quipper-libraries
                         
executable quipper-depth
           main-is: Quipper/Programs/Tools/Depth.hs
           build-depends:
                         base >= 4.5 && < 5,
                         containers >= 0.5.2.1,
                         mtl >= 2.1.2,
                         quipper-utils,
                         quipper-language,
                         quipper-libraries
                         
executable quipper-eps
           main-is: Quipper/Programs/Tools/EPS.hs
           build-depends:
                         base >= 4.5 && < 5,
                         quipper-utils,
                         quipper-language,
                         quipper-libraries
                         
executable quipper-exact
           main-is: Quipper/Programs/Tools/Exact.hs
           build-depends:
                         base >= 4.5 && < 5,
                         quipper-utils,
                         quipper-language,
                         quipper-libraries
                         
executable quipper-gatecount
           main-is: Quipper/Programs/Tools/GateCount.hs
           build-depends:
                         base >= 4.5 && < 5,
                         quipper-utils,
                         quipper-language,
                         quipper-libraries
                         
executable quipper-pdf
           main-is: Quipper/Programs/Tools/PDF.hs
           build-depends:
                         base >= 4.5 && < 5,
                         quipper-utils,
                         quipper-language,
                         quipper-libraries
                         
executable quipper-preview
           main-is: Quipper/Programs/Tools/Preview.hs
           build-depends:
                         base >= 4.5 && < 5,
                         quipper-utils,
                         quipper-language,
                         quipper-libraries
                         
executable quipper-simulate
           main-is: Quipper/Programs/Tools/Simulate.hs
           build-depends:
                         base >= 4.5 && < 5,
                         containers >= 0.5.2.1,
                         random >= 1.0.1.1,
                         newsynth >= 0.3.0.1,
                         fixedprec >= 0.2.1.0,
                         quipper-utils,
                         quipper-language,
                         quipper-libraries
                         
executable quipper-standard
           main-is: Quipper/Programs/Tools/Standard.hs
           build-depends:
                         base >= 4.5 && < 5,
                         random >= 1.0.1.1,
                         quipper-utils,
                         quipper-language,
                         quipper-libraries
                         
executable quipper-strict
           main-is: Quipper/Programs/Tools/Strict.hs
           build-depends:
                         base >= 4.5 && < 5,
                         random >= 1.0.1.1,
                         quipper-utils,
                         quipper-language,
                         quipper-libraries
                         
executable quipper-trimcontrols
           main-is: Quipper/Programs/Tools/TrimControls.hs
           build-depends:
                         base >= 4.5 && < 5,
                         quipper-utils,
                         quipper-language,
                         quipper-libraries
                         
executable quipper-unbox
           main-is: Quipper/Programs/Tools/Unbox.hs
           build-depends:
                         base >= 4.5 && < 5,
                         quipper-utils,
                         quipper-language,
                         quipper-libraries

executable quipper-qclparser
           main-is: programs/quipper-qclparser.hs
           other-modules: Quipper.Programs.QCLParser.Main
           build-depends:
                         base >= 4.5 && < 5,
                         containers >= 0.5.2.1,
                         mtl >= 2.1.2,
                         quipper-language,
                         quipper-libraries
                     
custom-setup
  setup-depends:  base >= 4.5,
                  Cabal >= 1.24,
                  quipper-cabal >= 0.9.0.0