diff --git a/ghc-hedgehog.changes b/ghc-hedgehog.changes index a8540c1..f625530 100644 --- a/ghc-hedgehog.changes +++ b/ghc-hedgehog.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Sun May 22 14:23:14 UTC 2022 - Peter Simons + +- Update hedgehog to version 1.1.1 revision 2. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- +Wed Mar 9 09:33:49 UTC 2022 - Peter Simons + +- Update hedgehog to version 1.1.1 revision 1. + Upstream has revised the Cabal build instructions on Hackage. + ------------------------------------------------------------------- Sat Jan 29 06:40:09 UTC 2022 - Peter Simons diff --git a/ghc-hedgehog.spec b/ghc-hedgehog.spec index 226ba9b..28d02ec 100644 --- a/ghc-hedgehog.spec +++ b/ghc-hedgehog.spec @@ -25,6 +25,7 @@ Summary: Release with confidence License: BSD-3-Clause URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-ansi-terminal-devel BuildRequires: ghc-async-devel @@ -78,6 +79,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep %autosetup -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build diff --git a/hedgehog.cabal b/hedgehog.cabal new file mode 100644 index 0000000..0b811ed --- /dev/null +++ b/hedgehog.cabal @@ -0,0 +1,153 @@ +version: 1.1.1 +x-revision: 2 +name: + hedgehog +author: + Jacob Stanley +maintainer: + Jacob Stanley +homepage: + https://hedgehog.qa +bug-reports: + https://github.com/hedgehogqa/haskell-hedgehog/issues +synopsis: + Release with confidence. +description: + automatically generates a comprehensive array + of test cases, exercising your software in ways human testers would never + imagine. + . + Generate hundreds of test cases automatically, exposing even the + most insidious of corner cases. Failures are automatically simplified, giving + developers coherent, intelligible error messages. + . + To get started quickly, see the . +category: + Testing +license: + BSD3 +license-file: + LICENSE +cabal-version: + >= 1.10 +build-type: + Simple +tested-with: + GHC == 8.0.2 + , GHC == 8.2.2 + , GHC == 8.4.4 + , GHC == 8.6.5 + , GHC == 8.8.3 + , GHC == 8.10.1 + , GHC == 9.2.1 +extra-source-files: + README.md + CHANGELOG.md + +source-repository head + type: git + location: git://github.com/hedgehogqa/haskell-hedgehog.git + +library + build-depends: + -- GHC 8.0.1 / base-4.9.0.0 (May 2016) + base >= 4.9 && < 5 + , ansi-terminal >= 0.6 && < 0.12 + , async >= 2.0 && < 2.3 + , barbies >= 1.0 && < 2.1 + , bytestring >= 0.10 && < 0.12 + , concurrent-output >= 1.7 && < 1.11 + , containers >= 0.4 && < 0.7 + , deepseq >= 1.1.0.0 && < 1.5 + , directory >= 1.2 && < 1.4 + , erf >= 2.0 && < 2.1 + , exceptions >= 0.7 && < 0.11 + , lifted-async >= 0.7 && < 0.11 + , mmorph >= 1.0 && < 1.3 + , monad-control >= 1.0 && < 1.1 + , mtl >= 2.1 && < 2.4 + , pretty-show >= 1.6 && < 1.11 + , primitive >= 0.6 && < 0.8 + , random >= 1.1 && < 1.3 + , resourcet >= 1.1 && < 1.3 + , stm >= 2.4 && < 2.6 + , template-haskell >= 2.10 && < 2.19 + , text >= 1.1 && < 2.1 + , time >= 1.4 && < 1.13 + , transformers >= 0.5 && < 0.7 + , transformers-base >= 0.4.5.1 && < 0.5 + , wl-pprint-annotated >= 0.0 && < 0.2 + + ghc-options: + -Wall + + hs-source-dirs: + src + + exposed-modules: + Hedgehog + Hedgehog.Gen + Hedgehog.Main + Hedgehog.Range + + Hedgehog.Internal.Barbie + Hedgehog.Internal.Config + Hedgehog.Internal.Discovery + Hedgehog.Internal.Distributive + Hedgehog.Internal.Exception + Hedgehog.Internal.Gen + Hedgehog.Internal.HTraversable + Hedgehog.Internal.Opaque + Hedgehog.Internal.Prelude + Hedgehog.Internal.Property + Hedgehog.Internal.Queue + Hedgehog.Internal.Range + Hedgehog.Internal.Region + Hedgehog.Internal.Report + Hedgehog.Internal.Runner + Hedgehog.Internal.Seed + Hedgehog.Internal.Show + Hedgehog.Internal.Shrink + Hedgehog.Internal.Source + Hedgehog.Internal.State + Hedgehog.Internal.TH + Hedgehog.Internal.Tree + Hedgehog.Internal.Tripping + + default-language: + Haskell2010 + +test-suite test + type: + exitcode-stdio-1.0 + + main-is: + test.hs + + ghc-options: + -Wall -threaded -O2 + + hs-source-dirs: + test + + other-modules: + Test.Hedgehog.Applicative + Test.Hedgehog.Confidence + Test.Hedgehog.Filter + Test.Hedgehog.Maybe + Test.Hedgehog.Seed + Test.Hedgehog.Text + Test.Hedgehog.Zip + + build-depends: + hedgehog + , base >= 3 && < 5 + , containers >= 0.4 && < 0.7 + , mmorph >= 1.0 && < 1.3 + , mtl >= 2.1 && < 2.4 + , pretty-show >= 1.6 && < 1.11 + , text >= 1.1 && < 2.1 + , transformers >= 0.3 && < 0.7 + + default-language: + Haskell2010 \ No newline at end of file