From 58341ddd528f8f4d19b9553fe8e0027ecfa123c0 Mon Sep 17 00:00:00 2001 From: Teo Camarasu Date: Fri, 19 Apr 2024 12:52:12 +0100 Subject: [PATCH] Explicitly list testTargets `testTarget` is a space separated list of test-suites. We explicitly list all test suites. This allows us to implement logic in the nixpkgs builder to run test suites in separate passthru.test derivations. --- cabal2nix/src/Distribution/Nixpkgs/Haskell/FromCabal.hs | 2 +- .../src/Distribution/Nixpkgs/Haskell/FromCabal/PostProcess.hs | 2 +- cabal2nix/test/golden-test-cases/ChasingBottoms.nix.golden | 1 + cabal2nix/test/golden-test-cases/FenwickTree.nix.golden | 1 + cabal2nix/test/golden-test-cases/HPDF.nix.golden | 1 + cabal2nix/test/golden-test-cases/HTF.nix.golden | 1 + cabal2nix/test/golden-test-cases/HTTP.nix.golden | 1 + cabal2nix/test/golden-test-cases/MissingH.nix.golden | 1 + cabal2nix/test/golden-test-cases/QuickCheck.nix.golden | 1 + cabal2nix/test/golden-test-cases/ReadArgs.nix.golden | 1 + cabal2nix/test/golden-test-cases/SHA.nix.golden | 1 + cabal2nix/test/golden-test-cases/active.nix.golden | 1 + cabal2nix/test/golden-test-cases/aeson-diff.nix.golden | 1 + cabal2nix/test/golden-test-cases/algebraic-graphs.nix.golden | 1 + cabal2nix/test/golden-test-cases/amazonka-cloudtrail.nix.golden | 1 + .../test/golden-test-cases/amazonka-cloudwatch-logs.nix.golden | 1 + cabal2nix/test/golden-test-cases/amazonka-codedeploy.nix.golden | 1 + .../test/golden-test-cases/amazonka-cognito-idp.nix.golden | 1 + cabal2nix/test/golden-test-cases/amazonka-ecs.nix.golden | 1 + cabal2nix/test/golden-test-cases/amazonka-kms.nix.golden | 1 + cabal2nix/test/golden-test-cases/amazonka-lightsail.nix.golden | 1 + .../test/golden-test-cases/amazonka-route53-domains.nix.golden | 1 + cabal2nix/test/golden-test-cases/amazonka-waf.nix.golden | 1 + cabal2nix/test/golden-test-cases/api-field-json-th.nix.golden | 1 + cabal2nix/test/golden-test-cases/app-settings.nix.golden | 1 + cabal2nix/test/golden-test-cases/apply-refact.nix.golden | 1 + cabal2nix/test/golden-test-cases/async.nix.golden | 1 + cabal2nix/test/golden-test-cases/attoparsec-time.nix.golden | 1 + cabal2nix/test/golden-test-cases/aws.nix.golden | 1 + cabal2nix/test/golden-test-cases/bbdb.nix.golden | 1 + cabal2nix/test/golden-test-cases/binary-bits.nix.golden | 1 + cabal2nix/test/golden-test-cases/binary-tagged.nix.golden | 1 + cabal2nix/test/golden-test-cases/bits.nix.golden | 1 + cabal2nix/test/golden-test-cases/blank-canvas.nix.golden | 1 + cabal2nix/test/golden-test-cases/blaze-html.nix.golden | 1 + cabal2nix/test/golden-test-cases/blaze-markup.nix.golden | 1 + cabal2nix/test/golden-test-cases/boxes.nix.golden | 1 + cabal2nix/test/golden-test-cases/brittany.nix.golden | 1 + cabal2nix/test/golden-test-cases/butcher.nix.golden | 1 + cabal2nix/test/golden-test-cases/case-insensitive.nix.golden | 1 + cabal2nix/test/golden-test-cases/cassava-conduit.nix.golden | 1 + cabal2nix/test/golden-test-cases/code-page.nix.golden | 1 + cabal2nix/test/golden-test-cases/countable.nix.golden | 1 + cabal2nix/test/golden-test-cases/criterion.nix.golden | 1 + cabal2nix/test/golden-test-cases/crypt-sha512.nix.golden | 1 + cabal2nix/test/golden-test-cases/data-msgpack.nix.golden | 1 + cabal2nix/test/golden-test-cases/data-serializer.nix.golden | 1 + cabal2nix/test/golden-test-cases/diagrams-solve.nix.golden | 1 + cabal2nix/test/golden-test-cases/dotenv.nix.golden | 1 + cabal2nix/test/golden-test-cases/drawille.nix.golden | 1 + cabal2nix/test/golden-test-cases/drifter-postgresql.nix.golden | 1 + cabal2nix/test/golden-test-cases/ede.nix.golden | 1 + cabal2nix/test/golden-test-cases/emailaddress.nix.golden | 1 + cabal2nix/test/golden-test-cases/envelope.nix.golden | 1 + cabal2nix/test/golden-test-cases/eventful-sqlite.nix.golden | 1 + cabal2nix/test/golden-test-cases/expiring-cache-map.nix.golden | 1 + cabal2nix/test/golden-test-cases/fgl.nix.golden | 1 + cabal2nix/test/golden-test-cases/fingertree.nix.golden | 1 + cabal2nix/test/golden-test-cases/fixed-vector.nix.golden | 1 + cabal2nix/test/golden-test-cases/foundation.nix.golden | 1 + cabal2nix/test/golden-test-cases/general-games.nix.golden | 1 + cabal2nix/test/golden-test-cases/generic-lens.nix.golden | 1 + cabal2nix/test/golden-test-cases/genvalidity-aeson.nix.golden | 1 + .../test/golden-test-cases/genvalidity-hspec-aeson.nix.golden | 1 + .../test/golden-test-cases/genvalidity-hspec-binary.nix.golden | 1 + .../test/golden-test-cases/genvalidity-scientific.nix.golden | 1 + cabal2nix/test/golden-test-cases/genvalidity-uuid.nix.golden | 1 + cabal2nix/test/golden-test-cases/ghc-syb-utils.nix.golden | 1 + cabal2nix/test/golden-test-cases/ghcid.nix.golden | 1 + cabal2nix/test/golden-test-cases/giphy-api.nix.golden | 1 + cabal2nix/test/golden-test-cases/github.nix.golden | 1 + cabal2nix/test/golden-test-cases/hOpenPGP.nix.golden | 1 + cabal2nix/test/golden-test-cases/hPDB-examples.nix.golden | 1 + cabal2nix/test/golden-test-cases/haddock-library.nix.golden | 1 + cabal2nix/test/golden-test-cases/hakyll.nix.golden | 1 + cabal2nix/test/golden-test-cases/happy.nix.golden | 1 + .../test/golden-test-cases/haskell-tools-rewrite.nix.golden | 1 + cabal2nix/test/golden-test-cases/hasql.nix.golden | 1 + cabal2nix/test/golden-test-cases/hformat.nix.golden | 1 + cabal2nix/test/golden-test-cases/highlighting-kate.nix.golden | 1 + cabal2nix/test/golden-test-cases/hit.nix.golden | 1 + cabal2nix/test/golden-test-cases/hsyslog.nix.golden | 1 + cabal2nix/test/golden-test-cases/htoml.nix.golden | 1 + cabal2nix/test/golden-test-cases/http-conduit.nix.golden | 1 + cabal2nix/test/golden-test-cases/http-link-header.nix.golden | 1 + cabal2nix/test/golden-test-cases/http-media.nix.golden | 1 + cabal2nix/test/golden-test-cases/incremental-parser.nix.golden | 1 + cabal2nix/test/golden-test-cases/indentation-parsec.nix.golden | 1 + cabal2nix/test/golden-test-cases/inline-c-cpp.nix.golden | 1 + cabal2nix/test/golden-test-cases/integer-logarithms.nix.golden | 1 + cabal2nix/test/golden-test-cases/intero.nix.golden | 1 + cabal2nix/test/golden-test-cases/invariant.nix.golden | 1 + cabal2nix/test/golden-test-cases/io-machine.nix.golden | 1 + cabal2nix/test/golden-test-cases/io-streams-haproxy.nix.golden | 1 + cabal2nix/test/golden-test-cases/ip.nix.golden | 1 + cabal2nix/test/golden-test-cases/iso8601-time.nix.golden | 1 + cabal2nix/test/golden-test-cases/jose.nix.golden | 1 + cabal2nix/test/golden-test-cases/katip-elasticsearch.nix.golden | 1 + cabal2nix/test/golden-test-cases/katip.nix.golden | 1 + cabal2nix/test/golden-test-cases/katydid.nix.golden | 1 + cabal2nix/test/golden-test-cases/kawhi.nix.golden | 1 + cabal2nix/test/golden-test-cases/lens-aeson.nix.golden | 1 + cabal2nix/test/golden-test-cases/lens.nix.golden | 1 + cabal2nix/test/golden-test-cases/lifted-async.nix.golden | 1 + cabal2nix/test/golden-test-cases/lucid.nix.golden | 1 + cabal2nix/test/golden-test-cases/matrices.nix.golden | 1 + cabal2nix/test/golden-test-cases/median-stream.nix.golden | 1 + cabal2nix/test/golden-test-cases/megaparsec.nix.golden | 1 + cabal2nix/test/golden-test-cases/messagepack.nix.golden | 1 + cabal2nix/test/golden-test-cases/minio-hs.nix.golden | 1 + cabal2nix/test/golden-test-cases/mnist-idx.nix.golden | 1 + cabal2nix/test/golden-test-cases/mole.nix.golden | 1 + cabal2nix/test/golden-test-cases/mongoDB.nix.golden | 1 + cabal2nix/test/golden-test-cases/mwc-random.nix.golden | 1 + cabal2nix/test/golden-test-cases/nanospec.nix.golden | 1 + cabal2nix/test/golden-test-cases/netpbm.nix.golden | 1 + .../test/golden-test-cases/network-transport-tcp.nix.golden | 1 + cabal2nix/test/golden-test-cases/nvim-hs.nix.golden | 1 + cabal2nix/test/golden-test-cases/one-liner.nix.golden | 1 + cabal2nix/test/golden-test-cases/opencv.nix.golden | 1 + cabal2nix/test/golden-test-cases/openexr-write.nix.golden | 1 + cabal2nix/test/golden-test-cases/openpgp-asciiarmor.nix.golden | 1 + cabal2nix/test/golden-test-cases/pandoc.nix.golden | 1 + cabal2nix/test/golden-test-cases/partial-semigroup.nix.golden | 1 + cabal2nix/test/golden-test-cases/pathtype.nix.golden | 1 + cabal2nix/test/golden-test-cases/pell.nix.golden | 1 + cabal2nix/test/golden-test-cases/picosat.nix.golden | 1 + cabal2nix/test/golden-test-cases/pinch.nix.golden | 1 + .../test/golden-test-cases/postgresql-simple-url.nix.golden | 1 + cabal2nix/test/golden-test-cases/presburger.nix.golden | 1 + cabal2nix/test/golden-test-cases/primitive.nix.golden | 1 + cabal2nix/test/golden-test-cases/product-profunctors.nix.golden | 1 + cabal2nix/test/golden-test-cases/projectroot.nix.golden | 1 + cabal2nix/test/golden-test-cases/psqueues.nix.golden | 1 + cabal2nix/test/golden-test-cases/pusher-http-haskell.nix.golden | 1 + .../test/golden-test-cases/quickcheck-arbitrary-adt.nix.golden | 1 + cabal2nix/test/golden-test-cases/rank1dynamic.nix.golden | 1 + cabal2nix/test/golden-test-cases/reactive-banana.nix.golden | 1 + cabal2nix/test/golden-test-cases/relational-query.nix.golden | 1 + cabal2nix/test/golden-test-cases/scalpel-core.nix.golden | 1 + .../golden-test-cases/servant-checked-exceptions.nix.golden | 1 + cabal2nix/test/golden-test-cases/sets.nix.golden | 1 + cabal2nix/test/golden-test-cases/slack-web.nix.golden | 1 + cabal2nix/test/golden-test-cases/slug.nix.golden | 1 + cabal2nix/test/golden-test-cases/speedy-slice.nix.golden | 1 + cabal2nix/test/golden-test-cases/state-codes.nix.golden | 1 + cabal2nix/test/golden-test-cases/stb-image-redux.nix.golden | 1 + cabal2nix/test/golden-test-cases/stm-containers.nix.golden | 1 + cabal2nix/test/golden-test-cases/streaming-commons.nix.golden | 1 + cabal2nix/test/golden-test-cases/swagger.nix.golden | 1 + cabal2nix/test/golden-test-cases/system-fileio.nix.golden | 1 + cabal2nix/test/golden-test-cases/system-filepath.nix.golden | 1 + cabal2nix/test/golden-test-cases/taggy.nix.golden | 1 + cabal2nix/test/golden-test-cases/tagstream-conduit.nix.golden | 1 + cabal2nix/test/golden-test-cases/tasty-hedgehog.nix.golden | 1 + cabal2nix/test/golden-test-cases/tce-conf.nix.golden | 1 + .../test/golden-test-cases/terminal-progress-bar.nix.golden | 1 + cabal2nix/test/golden-test-cases/test-fixture.nix.golden | 1 + cabal2nix/test/golden-test-cases/texmath.nix.golden | 1 + cabal2nix/test/golden-test-cases/text-icu.nix.golden | 1 + cabal2nix/test/golden-test-cases/text-postgresql.nix.golden | 1 + cabal2nix/test/golden-test-cases/th-expand-syns.nix.golden | 1 + cabal2nix/test/golden-test-cases/these.nix.golden | 1 + cabal2nix/test/golden-test-cases/ttrie.nix.golden | 1 + cabal2nix/test/golden-test-cases/turtle-options.nix.golden | 1 + cabal2nix/test/golden-test-cases/type-spec.nix.golden | 1 + cabal2nix/test/golden-test-cases/unicode-show.nix.golden | 1 + cabal2nix/test/golden-test-cases/utility-ht.nix.golden | 1 + cabal2nix/test/golden-test-cases/vector-mmap.nix.golden | 1 + cabal2nix/test/golden-test-cases/vivid-supercollider.nix.golden | 1 + cabal2nix/test/golden-test-cases/vty.nix.golden | 1 + cabal2nix/test/golden-test-cases/wai-cors.nix.golden | 1 + .../golden-test-cases/wai-middleware-caching-redis.nix.golden | 1 + .../test/golden-test-cases/wai-middleware-prometheus.nix.golden | 1 + cabal2nix/test/golden-test-cases/warp.nix.golden | 1 + cabal2nix/test/golden-test-cases/weigh.nix.golden | 1 + cabal2nix/test/golden-test-cases/xml-hamlet.nix.golden | 1 + cabal2nix/test/golden-test-cases/yahoo-finance-api.nix.golden | 1 + cabal2nix/test/golden-test-cases/zlib.nix.golden | 1 + 179 files changed, 179 insertions(+), 2 deletions(-) diff --git a/cabal2nix/src/Distribution/Nixpkgs/Haskell/FromCabal.hs b/cabal2nix/src/Distribution/Nixpkgs/Haskell/FromCabal.hs index 7f278b593..b8317cd56 100644 --- a/cabal2nix/src/Distribution/Nixpkgs/Haskell/FromCabal.hs +++ b/cabal2nix/src/Distribution/Nixpkgs/Haskell/FromCabal.hs @@ -112,7 +112,7 @@ fromPackageDescription haskellResolver nixpkgsResolver missingDeps flags Package & jailbreak .~ False & doCheck .~ True & doBenchmark .~ False - & testTarget .~ mempty + & testTarget .~ unwords (map (unUnqualComponentName . testName) testSuites) & hyperlinkSource .~ True & enableSplitObjs .~ True & enableLibraryProfiling .~ False diff --git a/cabal2nix/src/Distribution/Nixpkgs/Haskell/FromCabal/PostProcess.hs b/cabal2nix/src/Distribution/Nixpkgs/Haskell/FromCabal/PostProcess.hs index 665577654..b19ad9b2b 100644 --- a/cabal2nix/src/Distribution/Nixpkgs/Haskell/FromCabal/PostProcess.hs +++ b/cabal2nix/src/Distribution/Nixpkgs/Haskell/FromCabal/PostProcess.hs @@ -358,7 +358,7 @@ opencvOverrides = set phaseOverrides "hardeningDisable = [ \"bindnow\" ];" . over (libraryDepends . pkgconfig) (replace (pkg "opencv") (pkg "opencv3")) hspecCoreOverrides :: Derivation -> Derivation -- https://github.com/hspec/hspec/issues/330 -hspecCoreOverrides = set phaseOverrides "testTarget = \"--test-option=--skip --test-option='Test.Hspec.Core.Runner.hspecResult runs specs in parallel'\";" +hspecCoreOverrides = set testTarget "--test-option=--skip --test-option='Test.Hspec.Core.Runner.hspecResult runs specs in parallel'" cabal2nixOverrides :: Derivation -> Derivation cabal2nixOverrides = set phaseOverrides $ unlines diff --git a/cabal2nix/test/golden-test-cases/ChasingBottoms.nix.golden b/cabal2nix/test/golden-test-cases/ChasingBottoms.nix.golden index 380123abe..8dc5a63e7 100644 --- a/cabal2nix/test/golden-test-cases/ChasingBottoms.nix.golden +++ b/cabal2nix/test/golden-test-cases/ChasingBottoms.nix.golden @@ -11,6 +11,7 @@ mkDerivation { testHaskellDepends = [ array base containers mtl QuickCheck random syb ]; + testTarget = "ChasingBottomsTestSuite"; description = "For testing partial and infinite values"; license = lib.licenses.mit; } diff --git a/cabal2nix/test/golden-test-cases/FenwickTree.nix.golden b/cabal2nix/test/golden-test-cases/FenwickTree.nix.golden index e23ee6dde..86e0245e6 100644 --- a/cabal2nix/test/golden-test-cases/FenwickTree.nix.golden +++ b/cabal2nix/test/golden-test-cases/FenwickTree.nix.golden @@ -6,6 +6,7 @@ mkDerivation { enableSeparateDataOutput = true; libraryHaskellDepends = [ base QuickCheck template-haskell ]; testHaskellDepends = [ base QuickCheck template-haskell ]; + testTarget = "test_FenwickTree"; homepage = "https://github.com/mgajda/FenwickTree"; description = "Data structure for fast query and update of cumulative sums"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/HPDF.nix.golden b/cabal2nix/test/golden-test-cases/HPDF.nix.golden index 633edbb20..76d158190 100644 --- a/cabal2nix/test/golden-test-cases/HPDF.nix.golden +++ b/cabal2nix/test/golden-test-cases/HPDF.nix.golden @@ -10,6 +10,7 @@ mkDerivation { mtl random vector zlib ]; testHaskellDepends = [ base HTF ]; + testTarget = "HPDF-Tests"; homepage = "http://www.alpheccar.org"; description = "Generation of PDF documents"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/HTF.nix.golden b/cabal2nix/test/golden-test-cases/HTF.nix.golden index 77303a63c..4ed59464c 100644 --- a/cabal2nix/test/golden-test-cases/HTF.nix.golden +++ b/cabal2nix/test/golden-test-cases/HTF.nix.golden @@ -25,6 +25,7 @@ mkDerivation { process random regex-compat template-haskell temporary text unordered-containers ]; + testTarget = "MiscTests TestHTF TestThreadPools"; homepage = "https://github.com/skogsbaer/HTF/"; description = "The Haskell Test Framework"; license = "LGPL"; diff --git a/cabal2nix/test/golden-test-cases/HTTP.nix.golden b/cabal2nix/test/golden-test-cases/HTTP.nix.golden index 07a168f83..b597fe596 100644 --- a/cabal2nix/test/golden-test-cases/HTTP.nix.golden +++ b/cabal2nix/test/golden-test-cases/HTTP.nix.golden @@ -15,6 +15,7 @@ mkDerivation { http-types httpd-shed HUnit mtl network network-uri pureMD5 split test-framework test-framework-hunit wai warp ]; + testTarget = "test"; homepage = "https://github.com/haskell/HTTP"; description = "A library for client-side HTTP"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/MissingH.nix.golden b/cabal2nix/test/golden-test-cases/MissingH.nix.golden index c1bd654ef..c5238b6ad 100644 --- a/cabal2nix/test/golden-test-cases/MissingH.nix.golden +++ b/cabal2nix/test/golden-test-cases/MissingH.nix.golden @@ -16,6 +16,7 @@ mkDerivation { hslogger HUnit mtl network old-locale old-time parsec process QuickCheck random regex-compat testpack time unix ]; + testTarget = "runtests"; homepage = "http://software.complete.org/missingh"; description = "Large utility library"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/QuickCheck.nix.golden b/cabal2nix/test/golden-test-cases/QuickCheck.nix.golden index 5254db568..4ca435b1b 100644 --- a/cabal2nix/test/golden-test-cases/QuickCheck.nix.golden +++ b/cabal2nix/test/golden-test-cases/QuickCheck.nix.golden @@ -10,6 +10,7 @@ mkDerivation { transformers ]; testHaskellDepends = [ base ]; + testTarget = "test-quickcheck test-quickcheck-gcoarbitrary test-quickcheck-generators test-quickcheck-gshrink"; homepage = "https://github.com/nick8325/quickcheck"; description = "Automatic testing of Haskell programs"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/ReadArgs.nix.golden b/cabal2nix/test/golden-test-cases/ReadArgs.nix.golden index 534809feb..3aeb242be 100644 --- a/cabal2nix/test/golden-test-cases/ReadArgs.nix.golden +++ b/cabal2nix/test/golden-test-cases/ReadArgs.nix.golden @@ -8,6 +8,7 @@ mkDerivation { libraryHaskellDepends = [ base system-filepath text ]; executableHaskellDepends = [ base system-filepath text ]; testHaskellDepends = [ base hspec system-filepath text ]; + testTarget = "ReadArgsSpec"; homepage = "http://github.com/rampion/ReadArgs"; description = "Simple command line argument parsing"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/SHA.nix.golden b/cabal2nix/test/golden-test-cases/SHA.nix.golden index 5e50bcc39..b292f444f 100644 --- a/cabal2nix/test/golden-test-cases/SHA.nix.golden +++ b/cabal2nix/test/golden-test-cases/SHA.nix.golden @@ -12,6 +12,7 @@ mkDerivation { array base binary bytestring QuickCheck test-framework test-framework-quickcheck2 ]; + testTarget = "test-sha"; description = "Implementations of the SHA suite of message digest functions"; license = lib.licenses.bsd3; } diff --git a/cabal2nix/test/golden-test-cases/active.nix.golden b/cabal2nix/test/golden-test-cases/active.nix.golden index f5dec34de..da10a63f0 100644 --- a/cabal2nix/test/golden-test-cases/active.nix.golden +++ b/cabal2nix/test/golden-test-cases/active.nix.golden @@ -11,6 +11,7 @@ mkDerivation { testHaskellDepends = [ base lens linear QuickCheck semigroupoids semigroups vector ]; + testTarget = "active-tests"; description = "Abstractions for animation"; license = lib.licenses.bsd3; } diff --git a/cabal2nix/test/golden-test-cases/aeson-diff.nix.golden b/cabal2nix/test/golden-test-cases/aeson-diff.nix.golden index eb0fbe815..5c880fadd 100644 --- a/cabal2nix/test/golden-test-cases/aeson-diff.nix.golden +++ b/cabal2nix/test/golden-test-cases/aeson-diff.nix.golden @@ -20,6 +20,7 @@ mkDerivation { aeson base bytestring directory doctest filepath Glob hlint QuickCheck quickcheck-instances text unordered-containers vector ]; + testTarget = "properties examples doctests hlint-check"; homepage = "https://github.com/thsutton/aeson-diff"; description = "Extract and apply patches to JSON documents"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/algebraic-graphs.nix.golden b/cabal2nix/test/golden-test-cases/algebraic-graphs.nix.golden index d91af7cc4..41018840b 100644 --- a/cabal2nix/test/golden-test-cases/algebraic-graphs.nix.golden +++ b/cabal2nix/test/golden-test-cases/algebraic-graphs.nix.golden @@ -8,6 +8,7 @@ mkDerivation { libraryHaskellDepends = [ array base containers ]; testHaskellDepends = [ base containers extra QuickCheck ]; benchmarkHaskellDepends = [ base containers criterion ]; + testTarget = "test-alga"; homepage = "https://github.com/snowleopard/alga"; description = "A library for algebraic graph construction and transformation"; license = lib.licenses.mit; diff --git a/cabal2nix/test/golden-test-cases/amazonka-cloudtrail.nix.golden b/cabal2nix/test/golden-test-cases/amazonka-cloudtrail.nix.golden index 9c57c5000..adcb8a8b2 100644 --- a/cabal2nix/test/golden-test-cases/amazonka-cloudtrail.nix.golden +++ b/cabal2nix/test/golden-test-cases/amazonka-cloudtrail.nix.golden @@ -10,6 +10,7 @@ mkDerivation { amazonka-core amazonka-test base bytestring tasty tasty-hunit text time unordered-containers ]; + testTarget = "amazonka-cloudtrail-test"; homepage = "https://github.com/brendanhay/amazonka"; description = "Amazon CloudTrail SDK"; license = lib.licenses.mpl20; diff --git a/cabal2nix/test/golden-test-cases/amazonka-cloudwatch-logs.nix.golden b/cabal2nix/test/golden-test-cases/amazonka-cloudwatch-logs.nix.golden index e0153b30b..3cddc9e08 100644 --- a/cabal2nix/test/golden-test-cases/amazonka-cloudwatch-logs.nix.golden +++ b/cabal2nix/test/golden-test-cases/amazonka-cloudwatch-logs.nix.golden @@ -10,6 +10,7 @@ mkDerivation { amazonka-core amazonka-test base bytestring tasty tasty-hunit text time unordered-containers ]; + testTarget = "amazonka-cloudwatch-logs-test"; homepage = "https://github.com/brendanhay/amazonka"; description = "Amazon CloudWatch Logs SDK"; license = lib.licenses.mpl20; diff --git a/cabal2nix/test/golden-test-cases/amazonka-codedeploy.nix.golden b/cabal2nix/test/golden-test-cases/amazonka-codedeploy.nix.golden index 80ae2d9f9..01c7c338b 100644 --- a/cabal2nix/test/golden-test-cases/amazonka-codedeploy.nix.golden +++ b/cabal2nix/test/golden-test-cases/amazonka-codedeploy.nix.golden @@ -10,6 +10,7 @@ mkDerivation { amazonka-core amazonka-test base bytestring tasty tasty-hunit text time unordered-containers ]; + testTarget = "amazonka-codedeploy-test"; homepage = "https://github.com/brendanhay/amazonka"; description = "Amazon CodeDeploy SDK"; license = lib.licenses.mpl20; diff --git a/cabal2nix/test/golden-test-cases/amazonka-cognito-idp.nix.golden b/cabal2nix/test/golden-test-cases/amazonka-cognito-idp.nix.golden index 220f365fa..9b884e515 100644 --- a/cabal2nix/test/golden-test-cases/amazonka-cognito-idp.nix.golden +++ b/cabal2nix/test/golden-test-cases/amazonka-cognito-idp.nix.golden @@ -10,6 +10,7 @@ mkDerivation { amazonka-core amazonka-test base bytestring tasty tasty-hunit text time unordered-containers ]; + testTarget = "amazonka-cognito-idp-test"; homepage = "https://github.com/brendanhay/amazonka"; description = "Amazon Cognito Identity Provider SDK"; license = lib.licenses.mpl20; diff --git a/cabal2nix/test/golden-test-cases/amazonka-ecs.nix.golden b/cabal2nix/test/golden-test-cases/amazonka-ecs.nix.golden index 95f0d48b7..9575ab89a 100644 --- a/cabal2nix/test/golden-test-cases/amazonka-ecs.nix.golden +++ b/cabal2nix/test/golden-test-cases/amazonka-ecs.nix.golden @@ -10,6 +10,7 @@ mkDerivation { amazonka-core amazonka-test base bytestring tasty tasty-hunit text time unordered-containers ]; + testTarget = "amazonka-ecs-test"; homepage = "https://github.com/brendanhay/amazonka"; description = "Amazon EC2 Container Service SDK"; license = lib.licenses.mpl20; diff --git a/cabal2nix/test/golden-test-cases/amazonka-kms.nix.golden b/cabal2nix/test/golden-test-cases/amazonka-kms.nix.golden index e449fff56..157eebc13 100644 --- a/cabal2nix/test/golden-test-cases/amazonka-kms.nix.golden +++ b/cabal2nix/test/golden-test-cases/amazonka-kms.nix.golden @@ -10,6 +10,7 @@ mkDerivation { amazonka-core amazonka-test base bytestring tasty tasty-hunit text time unordered-containers ]; + testTarget = "amazonka-kms-test"; homepage = "https://github.com/brendanhay/amazonka"; description = "Amazon Key Management Service SDK"; license = lib.licenses.mpl20; diff --git a/cabal2nix/test/golden-test-cases/amazonka-lightsail.nix.golden b/cabal2nix/test/golden-test-cases/amazonka-lightsail.nix.golden index a73ef074e..7a360991f 100644 --- a/cabal2nix/test/golden-test-cases/amazonka-lightsail.nix.golden +++ b/cabal2nix/test/golden-test-cases/amazonka-lightsail.nix.golden @@ -10,6 +10,7 @@ mkDerivation { amazonka-core amazonka-test base bytestring tasty tasty-hunit text time unordered-containers ]; + testTarget = "amazonka-lightsail-test"; homepage = "https://github.com/brendanhay/amazonka"; description = "Amazon Lightsail SDK"; license = lib.licenses.mpl20; diff --git a/cabal2nix/test/golden-test-cases/amazonka-route53-domains.nix.golden b/cabal2nix/test/golden-test-cases/amazonka-route53-domains.nix.golden index ca3a59b73..16e1dbccf 100644 --- a/cabal2nix/test/golden-test-cases/amazonka-route53-domains.nix.golden +++ b/cabal2nix/test/golden-test-cases/amazonka-route53-domains.nix.golden @@ -10,6 +10,7 @@ mkDerivation { amazonka-core amazonka-test base bytestring tasty tasty-hunit text time unordered-containers ]; + testTarget = "amazonka-route53-domains-test"; homepage = "https://github.com/brendanhay/amazonka"; description = "Amazon Route 53 Domains SDK"; license = lib.licenses.mpl20; diff --git a/cabal2nix/test/golden-test-cases/amazonka-waf.nix.golden b/cabal2nix/test/golden-test-cases/amazonka-waf.nix.golden index 1eba2394f..3cbc098cb 100644 --- a/cabal2nix/test/golden-test-cases/amazonka-waf.nix.golden +++ b/cabal2nix/test/golden-test-cases/amazonka-waf.nix.golden @@ -10,6 +10,7 @@ mkDerivation { amazonka-core amazonka-test base bytestring tasty tasty-hunit text time unordered-containers ]; + testTarget = "amazonka-waf-test"; homepage = "https://github.com/brendanhay/amazonka"; description = "Amazon WAF SDK"; license = lib.licenses.mpl20; diff --git a/cabal2nix/test/golden-test-cases/api-field-json-th.nix.golden b/cabal2nix/test/golden-test-cases/api-field-json-th.nix.golden index e9e19e97d..f09a512da 100644 --- a/cabal2nix/test/golden-test-cases/api-field-json-th.nix.golden +++ b/cabal2nix/test/golden-test-cases/api-field-json-th.nix.golden @@ -9,6 +9,7 @@ mkDerivation { aeson base lens split template-haskell text ]; testHaskellDepends = [ aeson base HUnit lens ]; + testTarget = "api-field-json-th-test"; homepage = "https://github.com/nakaji-dayo/api-field-json-th"; description = "option of aeson's deriveJSON"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/app-settings.nix.golden b/cabal2nix/test/golden-test-cases/app-settings.nix.golden index 59b8caa02..7609c2b32 100644 --- a/cabal2nix/test/golden-test-cases/app-settings.nix.golden +++ b/cabal2nix/test/golden-test-cases/app-settings.nix.golden @@ -11,6 +11,7 @@ mkDerivation { testHaskellDepends = [ base containers directory hspec HUnit mtl parsec text ]; + testTarget = "tests"; homepage = "https://github.com/emmanueltouzery/app-settings"; description = "A library to manage application settings (INI file-like)"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/apply-refact.nix.golden b/cabal2nix/test/golden-test-cases/apply-refact.nix.golden index e996cc94d..455a28fa3 100644 --- a/cabal2nix/test/golden-test-cases/apply-refact.nix.golden +++ b/cabal2nix/test/golden-test-cases/apply-refact.nix.golden @@ -24,6 +24,7 @@ mkDerivation { tasty-expected-failure tasty-golden temporary transformers unix-compat ]; + testTarget = "test"; description = "Perform refactorings specified by the refact library"; license = lib.licenses.bsd3; mainProgram = "refactor"; diff --git a/cabal2nix/test/golden-test-cases/async.nix.golden b/cabal2nix/test/golden-test-cases/async.nix.golden index f5af344bf..97b5a4b96 100644 --- a/cabal2nix/test/golden-test-cases/async.nix.golden +++ b/cabal2nix/test/golden-test-cases/async.nix.golden @@ -9,6 +9,7 @@ mkDerivation { testHaskellDepends = [ base HUnit test-framework test-framework-hunit ]; + testTarget = "test-async"; homepage = "https://github.com/simonmar/async"; description = "Run IO operations asynchronously and wait for their results"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/attoparsec-time.nix.golden b/cabal2nix/test/golden-test-cases/attoparsec-time.nix.golden index 4e9615b9c..328248b22 100644 --- a/cabal2nix/test/golden-test-cases/attoparsec-time.nix.golden +++ b/cabal2nix/test/golden-test-cases/attoparsec-time.nix.golden @@ -13,6 +13,7 @@ mkDerivation { testHaskellDepends = [ base base-prelude directory doctest filepath ]; + testTarget = "doctests"; homepage = "https://github.com/nikita-volkov/attoparsec-time"; description = "Attoparsec parsers of time"; license = lib.licenses.mit; diff --git a/cabal2nix/test/golden-test-cases/aws.nix.golden b/cabal2nix/test/golden-test-cases/aws.nix.golden index d4d9d2b4b..c1f484a04 100644 --- a/cabal2nix/test/golden-test-cases/aws.nix.golden +++ b/cabal2nix/test/golden-test-cases/aws.nix.golden @@ -29,6 +29,7 @@ mkDerivation { quickcheck-instances resourcet tagged tasty tasty-hunit tasty-quickcheck text time transformers transformers-base ]; + testTarget = "sqs-tests dynamodb-tests s3-tests"; homepage = "http://github.com/aristidb/aws"; description = "Amazon Web Services (AWS) for Haskell"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/bbdb.nix.golden b/cabal2nix/test/golden-test-cases/bbdb.nix.golden index 58c3d49aa..e9670d784 100644 --- a/cabal2nix/test/golden-test-cases/bbdb.nix.golden +++ b/cabal2nix/test/golden-test-cases/bbdb.nix.golden @@ -5,6 +5,7 @@ mkDerivation { sha256 = "deadbeef"; libraryHaskellDepends = [ base parsec ]; testHaskellDepends = [ base hspec parsec ]; + testTarget = "bbdb-tests"; homepage = "https://github.com/henrylaxen/bbdb"; description = "Ability to read, write, and modify BBDB files"; license = lib.licenses.gpl3Only; diff --git a/cabal2nix/test/golden-test-cases/binary-bits.nix.golden b/cabal2nix/test/golden-test-cases/binary-bits.nix.golden index 16170650e..2b49d5502 100644 --- a/cabal2nix/test/golden-test-cases/binary-bits.nix.golden +++ b/cabal2nix/test/golden-test-cases/binary-bits.nix.golden @@ -10,6 +10,7 @@ mkDerivation { base binary bytestring QuickCheck random test-framework test-framework-quickcheck2 ]; + testTarget = "qc"; description = "Bit parsing/writing on top of binary"; license = lib.licenses.bsd3; } diff --git a/cabal2nix/test/golden-test-cases/binary-tagged.nix.golden b/cabal2nix/test/golden-test-cases/binary-tagged.nix.golden index 429d39021..f5c722852 100644 --- a/cabal2nix/test/golden-test-cases/binary-tagged.nix.golden +++ b/cabal2nix/test/golden-test-cases/binary-tagged.nix.golden @@ -24,6 +24,7 @@ mkDerivation { containers criterion deepseq generics-sop hashable nats scientific semigroups SHA tagged text time unordered-containers vector ]; + testTarget = "binary-tagged-test"; homepage = "https://github.com/phadej/binary-tagged#readme"; description = "Tagged binary serialisation"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/bits.nix.golden b/cabal2nix/test/golden-test-cases/bits.nix.golden index fda9df2e5..09567e844 100644 --- a/cabal2nix/test/golden-test-cases/bits.nix.golden +++ b/cabal2nix/test/golden-test-cases/bits.nix.golden @@ -8,6 +8,7 @@ mkDerivation { setupHaskellDepends = [ base Cabal cabal-doctest ]; libraryHaskellDepends = [ base bytes mtl transformers ]; testHaskellDepends = [ base doctest ]; + testTarget = "doctests"; homepage = "http://github.com/ekmett/bits"; description = "Various bit twiddling and bitwise serialization primitives"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/blank-canvas.nix.golden b/cabal2nix/test/golden-test-cases/blank-canvas.nix.golden index a11295f6d..6abd81a4d 100644 --- a/cabal2nix/test/golden-test-cases/blank-canvas.nix.golden +++ b/cabal2nix/test/golden-test-cases/blank-canvas.nix.golden @@ -17,6 +17,7 @@ mkDerivation { testHaskellDepends = [ base containers directory process shake stm text time unix vector ]; + testTarget = "wiki-suite"; homepage = "https://github.com/ku-fpg/blank-canvas/wiki"; description = "HTML5 Canvas Graphics Library"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/blaze-html.nix.golden b/cabal2nix/test/golden-test-cases/blaze-html.nix.golden index a493842ca..248d1b0c0 100644 --- a/cabal2nix/test/golden-test-cases/blaze-html.nix.golden +++ b/cabal2nix/test/golden-test-cases/blaze-html.nix.golden @@ -14,6 +14,7 @@ mkDerivation { QuickCheck test-framework test-framework-hunit test-framework-quickcheck2 text ]; + testTarget = "blaze-html-tests"; homepage = "http://jaspervdj.be/blaze"; description = "A blazingly fast HTML combinator library for Haskell"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/blaze-markup.nix.golden b/cabal2nix/test/golden-test-cases/blaze-markup.nix.golden index 3356b2ce1..073a77a9c 100644 --- a/cabal2nix/test/golden-test-cases/blaze-markup.nix.golden +++ b/cabal2nix/test/golden-test-cases/blaze-markup.nix.golden @@ -11,6 +11,7 @@ mkDerivation { base blaze-builder bytestring containers HUnit QuickCheck test-framework test-framework-hunit test-framework-quickcheck2 text ]; + testTarget = "blaze-markup-tests"; homepage = "http://jaspervdj.be/blaze"; description = "A blazingly fast markup combinator library for Haskell"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/boxes.nix.golden b/cabal2nix/test/golden-test-cases/boxes.nix.golden index ddd72abda..926676a1e 100644 --- a/cabal2nix/test/golden-test-cases/boxes.nix.golden +++ b/cabal2nix/test/golden-test-cases/boxes.nix.golden @@ -5,6 +5,7 @@ mkDerivation { sha256 = "deadbeef"; libraryHaskellDepends = [ base split ]; testHaskellDepends = [ base QuickCheck split ]; + testTarget = "test-boxes"; description = "2D text pretty-printing library"; license = lib.licenses.bsd3; } diff --git a/cabal2nix/test/golden-test-cases/brittany.nix.golden b/cabal2nix/test/golden-test-cases/brittany.nix.golden index 89ab97c2b..c37313ecb 100644 --- a/cabal2nix/test/golden-test-cases/brittany.nix.golden +++ b/cabal2nix/test/golden-test-cases/brittany.nix.golden @@ -32,6 +32,7 @@ mkDerivation { neat-interpolation parsec pretty safe semigroups strict syb text transformers uniplate unsafe yaml ]; + testTarget = "unittests littests libinterfacetests"; homepage = "https://github.com/lspitzner/brittany/"; description = "Haskell source code formatter"; license = lib.licenses.agpl3Only; diff --git a/cabal2nix/test/golden-test-cases/butcher.nix.golden b/cabal2nix/test/golden-test-cases/butcher.nix.golden index c4018c30c..d80a5b849 100644 --- a/cabal2nix/test/golden-test-cases/butcher.nix.golden +++ b/cabal2nix/test/golden-test-cases/butcher.nix.golden @@ -10,6 +10,7 @@ mkDerivation { base bifunctors containers deque either extra free microlens microlens-th mtl multistate pretty transformers unsafe void ]; + testTarget = "tests"; homepage = "https://github.com/lspitzner/butcher/"; description = "Chops a command or program invocation into digestable pieces"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/case-insensitive.nix.golden b/cabal2nix/test/golden-test-cases/case-insensitive.nix.golden index 7b720d264..6cf86a0ba 100644 --- a/cabal2nix/test/golden-test-cases/case-insensitive.nix.golden +++ b/cabal2nix/test/golden-test-cases/case-insensitive.nix.golden @@ -10,6 +10,7 @@ mkDerivation { base bytestring HUnit test-framework test-framework-hunit text ]; benchmarkHaskellDepends = [ base bytestring criterion deepseq ]; + testTarget = "test-case-insensitive"; homepage = "https://github.com/basvandijk/case-insensitive"; description = "Case insensitive string comparison"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/cassava-conduit.nix.golden b/cabal2nix/test/golden-test-cases/cassava-conduit.nix.golden index dd7c04af2..6f157dcb5 100644 --- a/cabal2nix/test/golden-test-cases/cassava-conduit.nix.golden +++ b/cabal2nix/test/golden-test-cases/cassava-conduit.nix.golden @@ -14,6 +14,7 @@ mkDerivation { base bytestring cassava conduit conduit-extra QuickCheck text ]; benchmarkHaskellDepends = [ base criterion ]; + testTarget = "quickcheck"; homepage = "https://github.com/domdere/cassava-conduit"; description = "Conduit interface for cassava package"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/code-page.nix.golden b/cabal2nix/test/golden-test-cases/code-page.nix.golden index 2a07e8d6f..3b0ff99fd 100644 --- a/cabal2nix/test/golden-test-cases/code-page.nix.golden +++ b/cabal2nix/test/golden-test-cases/code-page.nix.golden @@ -5,6 +5,7 @@ mkDerivation { sha256 = "deadbeef"; libraryHaskellDepends = [ base ]; testHaskellDepends = [ base ]; + testTarget = "tests"; homepage = "https://github.com/RyanGlScott/code-page"; description = "Windows code page library for Haskell"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/countable.nix.golden b/cabal2nix/test/golden-test-cases/countable.nix.golden index 52383765d..38791028e 100644 --- a/cabal2nix/test/golden-test-cases/countable.nix.golden +++ b/cabal2nix/test/golden-test-cases/countable.nix.golden @@ -9,6 +9,7 @@ mkDerivation { testHaskellDepends = [ base bytestring silently tasty tasty-golden tasty-hunit ]; + testTarget = "tests"; homepage = "https://github.com/AshleyYakeley/countable"; description = "Countable, Searchable, Finite, Empty classes"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/criterion.nix.golden b/cabal2nix/test/golden-test-cases/criterion.nix.golden index a5ccc37a4..befb23c67 100644 --- a/cabal2nix/test/golden-test-cases/criterion.nix.golden +++ b/cabal2nix/test/golden-test-cases/criterion.nix.golden @@ -25,6 +25,7 @@ mkDerivation { aeson base bytestring deepseq directory HUnit QuickCheck statistics tasty tasty-hunit tasty-quickcheck vector ]; + testTarget = "sanity tests cleanup"; homepage = "http://www.serpentine.com/criterion"; description = "Robust, reliable performance measurement and analysis"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/crypt-sha512.nix.golden b/cabal2nix/test/golden-test-cases/crypt-sha512.nix.golden index 33a37c279..47faa9091 100644 --- a/cabal2nix/test/golden-test-cases/crypt-sha512.nix.golden +++ b/cabal2nix/test/golden-test-cases/crypt-sha512.nix.golden @@ -14,6 +14,7 @@ mkDerivation { tasty-quickcheck ]; testSystemDepends = [ libxcrypt ]; + testTarget = "example"; homepage = "https://github.com/phadej/crypt-sha512"; description = "Pure Haskell implelementation for GNU SHA512 crypt algorithm"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/data-msgpack.nix.golden b/cabal2nix/test/golden-test-cases/data-msgpack.nix.golden index 16caf9b43..15f8165d9 100644 --- a/cabal2nix/test/golden-test-cases/data-msgpack.nix.golden +++ b/cabal2nix/test/golden-test-cases/data-msgpack.nix.golden @@ -20,6 +20,7 @@ mkDerivation { benchmarkHaskellDepends = [ base bytestring criterion deepseq QuickCheck ]; + testTarget = "testsuite"; homepage = "http://msgpack.org/"; description = "A Haskell implementation of MessagePack"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/data-serializer.nix.golden b/cabal2nix/test/golden-test-cases/data-serializer.nix.golden index 7413a9c0e..c413b74c4 100644 --- a/cabal2nix/test/golden-test-cases/data-serializer.nix.golden +++ b/cabal2nix/test/golden-test-cases/data-serializer.nix.golden @@ -11,6 +11,7 @@ mkDerivation { testHaskellDepends = [ base binary bytestring cereal tasty tasty-quickcheck ]; + testTarget = "tests"; homepage = "https://github.com/mvv/data-serializer"; description = "Common API for serialization libraries"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/diagrams-solve.nix.golden b/cabal2nix/test/golden-test-cases/diagrams-solve.nix.golden index 975d4d8a1..0ea6f7d5d 100644 --- a/cabal2nix/test/golden-test-cases/diagrams-solve.nix.golden +++ b/cabal2nix/test/golden-test-cases/diagrams-solve.nix.golden @@ -9,6 +9,7 @@ mkDerivation { testHaskellDepends = [ base deepseq tasty tasty-hunit tasty-quickcheck ]; + testTarget = "tests"; homepage = "http://projects.haskell.org/diagrams"; description = "Pure Haskell solver routines used by diagrams"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/dotenv.nix.golden b/cabal2nix/test/golden-test-cases/dotenv.nix.golden index d91122c60..1a118af8e 100644 --- a/cabal2nix/test/golden-test-cases/dotenv.nix.golden +++ b/cabal2nix/test/golden-test-cases/dotenv.nix.golden @@ -21,6 +21,7 @@ mkDerivation { base base-compat directory exceptions hspec hspec-megaparsec megaparsec process text transformers yaml ]; + testTarget = "dotenv-test"; homepage = "https://github.com/stackbuilders/dotenv-hs"; description = "Loads environment variables from dotenv files"; license = lib.licenses.mit; diff --git a/cabal2nix/test/golden-test-cases/drawille.nix.golden b/cabal2nix/test/golden-test-cases/drawille.nix.golden index a9b5222f6..61bf63c03 100644 --- a/cabal2nix/test/golden-test-cases/drawille.nix.golden +++ b/cabal2nix/test/golden-test-cases/drawille.nix.golden @@ -7,6 +7,7 @@ mkDerivation { isExecutable = true; libraryHaskellDepends = [ base containers ]; testHaskellDepends = [ base containers hspec QuickCheck ]; + testTarget = "spec"; homepage = "https://github.com/yamadapc/haskell-drawille#readme"; description = "A port of asciimoo's drawille to haskell"; license = lib.licenses.gpl3Only; diff --git a/cabal2nix/test/golden-test-cases/drifter-postgresql.nix.golden b/cabal2nix/test/golden-test-cases/drifter-postgresql.nix.golden index f23fa38d5..676f55046 100644 --- a/cabal2nix/test/golden-test-cases/drifter-postgresql.nix.golden +++ b/cabal2nix/test/golden-test-cases/drifter-postgresql.nix.golden @@ -13,6 +13,7 @@ mkDerivation { testHaskellDepends = [ base drifter either postgresql-simple tasty tasty-hunit text ]; + testTarget = "test"; homepage = "http://github.com/michaelxavier/drifter-postgresql"; description = "PostgreSQL support for the drifter schema migration tool"; license = lib.licenses.mit; diff --git a/cabal2nix/test/golden-test-cases/ede.nix.golden b/cabal2nix/test/golden-test-cases/ede.nix.golden index c381869c7..6a8a4f0df 100644 --- a/cabal2nix/test/golden-test-cases/ede.nix.golden +++ b/cabal2nix/test/golden-test-cases/ede.nix.golden @@ -18,6 +18,7 @@ mkDerivation { testHaskellDepends = [ aeson base bifunctors bytestring directory tasty tasty-golden text ]; + testTarget = "golden"; homepage = "http://github.com/brendanhay/ede"; description = "Templating language with similar syntax and features to Liquid or Jinja2"; license = "unknown"; diff --git a/cabal2nix/test/golden-test-cases/emailaddress.nix.golden b/cabal2nix/test/golden-test-cases/emailaddress.nix.golden index 57aea0895..079c6dbbb 100644 --- a/cabal2nix/test/golden-test-cases/emailaddress.nix.golden +++ b/cabal2nix/test/golden-test-cases/emailaddress.nix.golden @@ -13,6 +13,7 @@ mkDerivation { product-profunctors profunctors text ]; testHaskellDepends = [ base doctest Glob ]; + testTarget = "emailaddress-doctest"; homepage = "https://github.com/cdepillabout/emailaddress#readme"; description = "Wrapper around email-validate library adding instances for common type classes"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/envelope.nix.golden b/cabal2nix/test/golden-test-cases/envelope.nix.golden index 8fe59d09b..14bbe53b5 100644 --- a/cabal2nix/test/golden-test-cases/envelope.nix.golden +++ b/cabal2nix/test/golden-test-cases/envelope.nix.golden @@ -7,6 +7,7 @@ mkDerivation { sha256 = "deadbeef"; libraryHaskellDepends = [ aeson base http-api-data mtl text ]; testHaskellDepends = [ base doctest Glob ]; + testTarget = "envelope-doctest"; homepage = "https://github.com/cdepillabout/envelope#readme"; description = "Defines generic 'Envelope' type to wrap reponses from a JSON API"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/eventful-sqlite.nix.golden b/cabal2nix/test/golden-test-cases/eventful-sqlite.nix.golden index f8a113a43..1818fe14e 100644 --- a/cabal2nix/test/golden-test-cases/eventful-sqlite.nix.golden +++ b/cabal2nix/test/golden-test-cases/eventful-sqlite.nix.golden @@ -15,6 +15,7 @@ mkDerivation { eventful-test-helpers hspec HUnit mtl persistent persistent-sqlite text uuid ]; + testTarget = "spec"; homepage = "https://github.com/jdreaver/eventful#readme"; description = "SQLite implementations for eventful"; license = lib.licenses.mit; diff --git a/cabal2nix/test/golden-test-cases/expiring-cache-map.nix.golden b/cabal2nix/test/golden-test-cases/expiring-cache-map.nix.golden index e9ffb7fbd..7b4b17fa7 100644 --- a/cabal2nix/test/golden-test-cases/expiring-cache-map.nix.golden +++ b/cabal2nix/test/golden-test-cases/expiring-cache-map.nix.golden @@ -11,6 +11,7 @@ mkDerivation { testHaskellDepends = [ base bytestring containers hashable time unordered-containers ]; + testTarget = "test-threads test-sequence invalidate-test invalidate-cache-test"; homepage = "https://github.com/elblake/expiring-cache-map"; description = "General purpose simple caching"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/fgl.nix.golden b/cabal2nix/test/golden-test-cases/fgl.nix.golden index 3c35b1f66..32d34715e 100644 --- a/cabal2nix/test/golden-test-cases/fgl.nix.golden +++ b/cabal2nix/test/golden-test-cases/fgl.nix.golden @@ -10,6 +10,7 @@ mkDerivation { ]; testHaskellDepends = [ base containers hspec QuickCheck ]; benchmarkHaskellDepends = [ base deepseq microbench ]; + testTarget = "fgl-tests"; description = "Martin Erwig's Functional Graph Library"; license = lib.licenses.bsd3; } diff --git a/cabal2nix/test/golden-test-cases/fingertree.nix.golden b/cabal2nix/test/golden-test-cases/fingertree.nix.golden index 76fddd997..c7cf4801d 100644 --- a/cabal2nix/test/golden-test-cases/fingertree.nix.golden +++ b/cabal2nix/test/golden-test-cases/fingertree.nix.golden @@ -10,6 +10,7 @@ mkDerivation { base HUnit QuickCheck test-framework test-framework-hunit test-framework-quickcheck2 ]; + testTarget = "ft-properties"; description = "Generic finger-tree structure, with example instances"; license = lib.licenses.bsd3; } diff --git a/cabal2nix/test/golden-test-cases/fixed-vector.nix.golden b/cabal2nix/test/golden-test-cases/fixed-vector.nix.golden index b481bb27a..6452c42c3 100644 --- a/cabal2nix/test/golden-test-cases/fixed-vector.nix.golden +++ b/cabal2nix/test/golden-test-cases/fixed-vector.nix.golden @@ -6,6 +6,7 @@ mkDerivation { sha256 = "deadbeef"; libraryHaskellDepends = [ base deepseq primitive ]; testHaskellDepends = [ base doctest filemanip primitive ]; + testTarget = "doctests"; description = "Generic vectors with statically known size"; license = lib.licenses.bsd3; } diff --git a/cabal2nix/test/golden-test-cases/foundation.nix.golden b/cabal2nix/test/golden-test-cases/foundation.nix.golden index 2c3c72406..64bc4ecc6 100644 --- a/cabal2nix/test/golden-test-cases/foundation.nix.golden +++ b/cabal2nix/test/golden-test-cases/foundation.nix.golden @@ -6,6 +6,7 @@ mkDerivation { libraryHaskellDepends = [ base basement ghc-prim ]; testHaskellDepends = [ base basement ]; benchmarkHaskellDepends = [ base basement gauge ]; + testTarget = "check-foundation doctest"; homepage = "https://github.com/haskell-foundation/foundation"; description = "Alternative prelude with batteries and no dependencies"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/general-games.nix.golden b/cabal2nix/test/golden-test-cases/general-games.nix.golden index c82900489..8de32183e 100644 --- a/cabal2nix/test/golden-test-cases/general-games.nix.golden +++ b/cabal2nix/test/golden-test-cases/general-games.nix.golden @@ -9,6 +9,7 @@ mkDerivation { base monad-loops MonadRandom random random-shuffle ]; testHaskellDepends = [ base hspec HUnit MonadRandom ]; + testTarget = "general-games-test"; homepage = "https://github.com/cgorski/general-games"; description = "Library supporting simulation of a number of games"; license = lib.licenses.mit; diff --git a/cabal2nix/test/golden-test-cases/generic-lens.nix.golden b/cabal2nix/test/golden-test-cases/generic-lens.nix.golden index c5f532b7d..848d8256b 100644 --- a/cabal2nix/test/golden-test-cases/generic-lens.nix.golden +++ b/cabal2nix/test/golden-test-cases/generic-lens.nix.golden @@ -10,6 +10,7 @@ mkDerivation { benchmarkHaskellDepends = [ base criterion deepseq lens QuickCheck ]; + testTarget = "generic-lens-test generic-lens-test-25 generic-lens-test-24 doctests"; homepage = "https://github.com/kcsongor/generic-lens"; description = "Generic data-structure operations exposed as lenses"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/genvalidity-aeson.nix.golden b/cabal2nix/test/golden-test-cases/genvalidity-aeson.nix.golden index eb1722f11..25f85fd7c 100644 --- a/cabal2nix/test/golden-test-cases/genvalidity-aeson.nix.golden +++ b/cabal2nix/test/golden-test-cases/genvalidity-aeson.nix.golden @@ -15,6 +15,7 @@ mkDerivation { testHaskellDepends = [ aeson base genvalidity genvalidity-hspec hspec ]; + testTarget = "genvalidity-aeson-test"; homepage = "https://github.com/NorfairKing/validity#readme"; description = "GenValidity support for aeson"; license = lib.licenses.mit; diff --git a/cabal2nix/test/golden-test-cases/genvalidity-hspec-aeson.nix.golden b/cabal2nix/test/golden-test-cases/genvalidity-hspec-aeson.nix.golden index 9285e910f..027fd8754 100644 --- a/cabal2nix/test/golden-test-cases/genvalidity-hspec-aeson.nix.golden +++ b/cabal2nix/test/golden-test-cases/genvalidity-hspec-aeson.nix.golden @@ -14,6 +14,7 @@ mkDerivation { aeson base doctest genvalidity genvalidity-aeson genvalidity-hspec genvalidity-text hspec text ]; + testTarget = "genvalidity-hspec-aeson-doctests genvalidity-hspec-aeson-test"; homepage = "http://cs-syd.eu"; description = "Standard spec's for aeson-related instances"; license = lib.licenses.mit; diff --git a/cabal2nix/test/golden-test-cases/genvalidity-hspec-binary.nix.golden b/cabal2nix/test/golden-test-cases/genvalidity-hspec-binary.nix.golden index 058600b74..2a6cc9b3a 100644 --- a/cabal2nix/test/golden-test-cases/genvalidity-hspec-binary.nix.golden +++ b/cabal2nix/test/golden-test-cases/genvalidity-hspec-binary.nix.golden @@ -9,6 +9,7 @@ mkDerivation { base binary deepseq genvalidity genvalidity-hspec hspec QuickCheck ]; testHaskellDepends = [ base doctest genvalidity hspec ]; + testTarget = "genvalidity-hspec-binary-doctests genvalidity-hspec-binary-test"; homepage = "https://github.com/NorfairKing/validity#readme"; description = "Standard spec's for binary-related Instances"; license = lib.licenses.mit; diff --git a/cabal2nix/test/golden-test-cases/genvalidity-scientific.nix.golden b/cabal2nix/test/golden-test-cases/genvalidity-scientific.nix.golden index 1ad5c5470..abab6bc79 100644 --- a/cabal2nix/test/golden-test-cases/genvalidity-scientific.nix.golden +++ b/cabal2nix/test/golden-test-cases/genvalidity-scientific.nix.golden @@ -11,6 +11,7 @@ mkDerivation { testHaskellDepends = [ base genvalidity genvalidity-hspec hspec QuickCheck scientific ]; + testTarget = "genvalidity-scientific-test"; homepage = "https://github.com/NorfairKing/validity#readme"; description = "GenValidity support for Scientific"; license = lib.licenses.mit; diff --git a/cabal2nix/test/golden-test-cases/genvalidity-uuid.nix.golden b/cabal2nix/test/golden-test-cases/genvalidity-uuid.nix.golden index bc576092a..d3c484147 100644 --- a/cabal2nix/test/golden-test-cases/genvalidity-uuid.nix.golden +++ b/cabal2nix/test/golden-test-cases/genvalidity-uuid.nix.golden @@ -11,6 +11,7 @@ mkDerivation { testHaskellDepends = [ base genvalidity genvalidity-hspec hspec QuickCheck uuid ]; + testTarget = "genvalidity-uuid-test"; homepage = "https://github.com/NorfairKing/validity#readme"; description = "GenValidity support for UUID"; license = lib.licenses.mit; diff --git a/cabal2nix/test/golden-test-cases/ghc-syb-utils.nix.golden b/cabal2nix/test/golden-test-cases/ghc-syb-utils.nix.golden index 5525b9c1d..ba67ef1c6 100644 --- a/cabal2nix/test/golden-test-cases/ghc-syb-utils.nix.golden +++ b/cabal2nix/test/golden-test-cases/ghc-syb-utils.nix.golden @@ -6,6 +6,7 @@ mkDerivation { sha256 = "deadbeef"; libraryHaskellDepends = [ base ghc syb ]; testHaskellDepends = [ base directory filepath ghc ghc-paths ]; + testTarget = "regression-tests"; homepage = "http://github.com/nominolo/ghc-syb"; description = "Scrap Your Boilerplate utilities for the GHC API"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/ghcid.nix.golden b/cabal2nix/test/golden-test-cases/ghcid.nix.golden index 9e22bef7c..f76a7678c 100644 --- a/cabal2nix/test/golden-test-cases/ghcid.nix.golden +++ b/cabal2nix/test/golden-test-cases/ghcid.nix.golden @@ -19,6 +19,7 @@ mkDerivation { ansi-terminal base cmdargs containers directory extra filepath fsnotify process tasty tasty-hunit terminal-size time unix ]; + testTarget = "ghcid_test"; homepage = "https://github.com/ndmitchell/ghcid#readme"; description = "GHCi based bare bones IDE"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/giphy-api.nix.golden b/cabal2nix/test/golden-test-cases/giphy-api.nix.golden index cafe6e3d7..effe7c726 100644 --- a/cabal2nix/test/golden-test-cases/giphy-api.nix.golden +++ b/cabal2nix/test/golden-test-cases/giphy-api.nix.golden @@ -18,6 +18,7 @@ mkDerivation { aeson base basic-prelude bytestring containers directory hspec lens network-uri text ]; + testTarget = "spec"; homepage = "http://github.com/passy/giphy-api#readme"; description = "Giphy HTTP API wrapper and CLI search tool"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/github.nix.golden b/cabal2nix/test/golden-test-cases/github.nix.golden index cd17fd9dc..49b769964 100644 --- a/cabal2nix/test/golden-test-cases/github.nix.golden +++ b/cabal2nix/test/golden-test-cases/github.nix.golden @@ -24,6 +24,7 @@ mkDerivation { unordered-containers vector ]; testToolDepends = [ hspec-discover ]; + testTarget = "github-test"; homepage = "https://github.com/phadej/github"; description = "Access to the GitHub API, v3"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/hOpenPGP.nix.golden b/cabal2nix/test/golden-test-cases/hOpenPGP.nix.golden index d0e4c75e7..e77a52eef 100644 --- a/cabal2nix/test/golden-test-cases/hOpenPGP.nix.golden +++ b/cabal2nix/test/golden-test-cases/hOpenPGP.nix.golden @@ -43,6 +43,7 @@ mkDerivation { time-locale-compat transformers unordered-containers wl-pprint-extras zlib ]; + testTarget = "tests"; homepage = "http://floss.scru.org/hOpenPGP/"; description = "native Haskell implementation of OpenPGP (RFC4880)"; license = lib.licenses.mit; diff --git a/cabal2nix/test/golden-test-cases/hPDB-examples.nix.golden b/cabal2nix/test/golden-test-cases/hPDB-examples.nix.golden index 5ad9c979d..bba857c1a 100644 --- a/cabal2nix/test/golden-test-cases/hPDB-examples.nix.golden +++ b/cabal2nix/test/golden-test-cases/hPDB-examples.nix.golden @@ -18,6 +18,7 @@ mkDerivation { AC-Vector base bytestring containers deepseq directory ghc-prim hPDB IfElse iterable mtl process template-haskell text time vector ]; + testTarget = "ParserPerformance"; homepage = "https://github.com/BioHaskell/hPDB-examples"; description = "Examples for hPDB library"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/haddock-library.nix.golden b/cabal2nix/test/golden-test-cases/haddock-library.nix.golden index 4ab0fbf9a..ec7e546cb 100644 --- a/cabal2nix/test/golden-test-cases/haddock-library.nix.golden +++ b/cabal2nix/test/golden-test-cases/haddock-library.nix.golden @@ -11,6 +11,7 @@ mkDerivation { ]; testToolDepends = [ hspec-discover ]; doHaddock = false; + testTarget = "spec"; homepage = "http://www.haskell.org/haddock/"; description = "Library exposing some functionality of Haddock"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/hakyll.nix.golden b/cabal2nix/test/golden-test-cases/hakyll.nix.golden index e682425e5..7d5132e63 100644 --- a/cabal2nix/test/golden-test-cases/hakyll.nix.golden +++ b/cabal2nix/test/golden-test-cases/hakyll.nix.golden @@ -36,6 +36,7 @@ mkDerivation { wai-app-static warp yaml ]; testToolDepends = [ util-linux ]; + testTarget = "hakyll-tests"; homepage = "http://jaspervdj.be/hakyll"; description = "A static website compiler library"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/happy.nix.golden b/cabal2nix/test/golden-test-cases/happy.nix.golden index dad199a94..4665f45a0 100644 --- a/cabal2nix/test/golden-test-cases/happy.nix.golden +++ b/cabal2nix/test/golden-test-cases/happy.nix.golden @@ -10,6 +10,7 @@ mkDerivation { setupHaskellDepends = [ base Cabal directory filepath ]; executableHaskellDepends = [ array base containers mtl ]; testHaskellDepends = [ base process ]; + testTarget = "tests"; homepage = "https://www.haskell.org/happy/"; description = "Happy is a parser generator for Haskell"; license = lib.licenses.bsd2; diff --git a/cabal2nix/test/golden-test-cases/haskell-tools-rewrite.nix.golden b/cabal2nix/test/golden-test-cases/haskell-tools-rewrite.nix.golden index 271c1ceb4..1ca411876 100644 --- a/cabal2nix/test/golden-test-cases/haskell-tools-rewrite.nix.golden +++ b/cabal2nix/test/golden-test-cases/haskell-tools-rewrite.nix.golden @@ -14,6 +14,7 @@ mkDerivation { base directory filepath haskell-tools-ast haskell-tools-prettyprint tasty tasty-hunit ]; + testTarget = "haskell-tools-rewrite-tests"; homepage = "https://github.com/haskell-tools/haskell-tools"; description = "Facilities for generating new parts of the Haskell-Tools AST"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/hasql.nix.golden b/cabal2nix/test/golden-test-cases/hasql.nix.golden index 2bb7cb2a9..ca5bec70d 100644 --- a/cabal2nix/test/golden-test-cases/hasql.nix.golden +++ b/cabal2nix/test/golden-test-cases/hasql.nix.golden @@ -21,6 +21,7 @@ mkDerivation { rerebase tasty tasty-hunit tasty-quickcheck ]; benchmarkHaskellDepends = [ bug criterion rerebase ]; + testTarget = "tasty threads-test profiling"; homepage = "https://github.com/nikita-volkov/hasql"; description = "An efficient PostgreSQL driver and a flexible mapping API"; license = lib.licenses.mit; diff --git a/cabal2nix/test/golden-test-cases/hformat.nix.golden b/cabal2nix/test/golden-test-cases/hformat.nix.golden index 7fce95a4c..fddc77828 100644 --- a/cabal2nix/test/golden-test-cases/hformat.nix.golden +++ b/cabal2nix/test/golden-test-cases/hformat.nix.golden @@ -9,6 +9,7 @@ mkDerivation { ansi-terminal base base-unicode-symbols text ]; testHaskellDepends = [ base base-unicode-symbols hspec text ]; + testTarget = "test"; homepage = "http://github.com/mvoidex/hformat"; description = "Simple Haskell formatting"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/highlighting-kate.nix.golden b/cabal2nix/test/golden-test-cases/highlighting-kate.nix.golden index 8a39665ac..2d5ad7fac 100644 --- a/cabal2nix/test/golden-test-cases/highlighting-kate.nix.golden +++ b/cabal2nix/test/golden-test-cases/highlighting-kate.nix.golden @@ -16,6 +16,7 @@ mkDerivation { testHaskellDepends = [ base blaze-html containers Diff directory filepath process ]; + testTarget = "test-highlighting-kate"; homepage = "http://github.com/jgm/highlighting-kate"; description = "Syntax highlighting"; license = "GPL"; diff --git a/cabal2nix/test/golden-test-cases/hit.nix.golden b/cabal2nix/test/golden-test-cases/hit.nix.golden index 78871eaa7..cbaaa5d95 100644 --- a/cabal2nix/test/golden-test-cases/hit.nix.golden +++ b/cabal2nix/test/golden-test-cases/hit.nix.golden @@ -18,6 +18,7 @@ mkDerivation { testHaskellDepends = [ base bytedump bytestring hourglass tasty tasty-quickcheck ]; + testTarget = "test-unit test-repository"; homepage = "http://github.com/vincenthz/hit"; description = "Git operations in haskell"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/hsyslog.nix.golden b/cabal2nix/test/golden-test-cases/hsyslog.nix.golden index 7b95c485e..6f805ad11 100644 --- a/cabal2nix/test/golden-test-cases/hsyslog.nix.golden +++ b/cabal2nix/test/golden-test-cases/hsyslog.nix.golden @@ -8,6 +8,7 @@ mkDerivation { setupHaskellDepends = [ base Cabal cabal-doctest ]; libraryHaskellDepends = [ base ]; testHaskellDepends = [ base doctest ]; + testTarget = "doctests"; homepage = "http://github.com/peti/hsyslog"; description = "FFI interface to syslog(3) from POSIX.1-2001"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/htoml.nix.golden b/cabal2nix/test/golden-test-cases/htoml.nix.golden index c50abe263..bc013d8fa 100644 --- a/cabal2nix/test/golden-test-cases/htoml.nix.golden +++ b/cabal2nix/test/golden-test-cases/htoml.nix.golden @@ -18,6 +18,7 @@ mkDerivation { aeson base containers criterion parsec text time unordered-containers vector ]; + testTarget = "htoml-test"; homepage = "https://github.com/cies/htoml"; description = "Parser for TOML files"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/http-conduit.nix.golden b/cabal2nix/test/golden-test-cases/http-conduit.nix.golden index 7959daef0..9982de583 100644 --- a/cabal2nix/test/golden-test-cases/http-conduit.nix.golden +++ b/cabal2nix/test/golden-test-cases/http-conduit.nix.golden @@ -23,6 +23,7 @@ mkDerivation { wai-conduit warp warp-tls ]; doCheck = false; + testTarget = "test"; homepage = "http://www.yesodweb.com/book/http-conduit"; description = "HTTP client package with conduit interface and HTTPS support"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/http-link-header.nix.golden b/cabal2nix/test/golden-test-cases/http-link-header.nix.golden index b7dc3c9b2..d6599b830 100644 --- a/cabal2nix/test/golden-test-cases/http-link-header.nix.golden +++ b/cabal2nix/test/golden-test-cases/http-link-header.nix.golden @@ -16,6 +16,7 @@ mkDerivation { benchmarkHaskellDepends = [ base criterion directory network-uri text transformers ]; + testTarget = "tests"; homepage = "https://github.com/myfreeweb/http-link-header"; description = "A parser and writer for the HTTP Link header as specified in RFC 5988 \"Web Linking\""; license = lib.licenses.publicDomain; diff --git a/cabal2nix/test/golden-test-cases/http-media.nix.golden b/cabal2nix/test/golden-test-cases/http-media.nix.golden index 72faf1375..c3028cafa 100644 --- a/cabal2nix/test/golden-test-cases/http-media.nix.golden +++ b/cabal2nix/test/golden-test-cases/http-media.nix.golden @@ -13,6 +13,7 @@ mkDerivation { base bytestring case-insensitive containers QuickCheck test-framework test-framework-quickcheck2 utf8-string ]; + testTarget = "test-http-media"; homepage = "https://github.com/zmthy/http-media"; description = "Processing HTTP Content-Type and Accept headers"; license = lib.licenses.mit; diff --git a/cabal2nix/test/golden-test-cases/incremental-parser.nix.golden b/cabal2nix/test/golden-test-cases/incremental-parser.nix.golden index 4a442ec31..0ee6d4b99 100644 --- a/cabal2nix/test/golden-test-cases/incremental-parser.nix.golden +++ b/cabal2nix/test/golden-test-cases/incremental-parser.nix.golden @@ -12,6 +12,7 @@ mkDerivation { benchmarkHaskellDepends = [ base bytestring criterion deepseq monoid-subclasses text ]; + testTarget = "Main"; homepage = "https://github.com/blamario/incremental-parser"; description = "Generic parser library capable of providing partial results from partial input"; license = "GPL"; diff --git a/cabal2nix/test/golden-test-cases/indentation-parsec.nix.golden b/cabal2nix/test/golden-test-cases/indentation-parsec.nix.golden index cd9bedd21..e189e7e86 100644 --- a/cabal2nix/test/golden-test-cases/indentation-parsec.nix.golden +++ b/cabal2nix/test/golden-test-cases/indentation-parsec.nix.golden @@ -7,6 +7,7 @@ mkDerivation { sha256 = "deadbeef"; libraryHaskellDepends = [ base indentation-core mtl parsec ]; testHaskellDepends = [ base parsec tasty tasty-hunit ]; + testTarget = "test-indentation"; homepage = "https://bitbucket.org/adamsmd/indentation"; description = "Indentation sensitive parsing combinators for Parsec"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/inline-c-cpp.nix.golden b/cabal2nix/test/golden-test-cases/inline-c-cpp.nix.golden index dd577fe69..119c46993 100644 --- a/cabal2nix/test/golden-test-cases/inline-c-cpp.nix.golden +++ b/cabal2nix/test/golden-test-cases/inline-c-cpp.nix.golden @@ -9,6 +9,7 @@ mkDerivation { base inline-c safe-exceptions template-haskell ]; testHaskellDepends = [ base hspec inline-c safe-exceptions ]; + testTarget = "tests"; description = "Lets you embed C++ code into Haskell"; license = lib.licenses.mit; } diff --git a/cabal2nix/test/golden-test-cases/integer-logarithms.nix.golden b/cabal2nix/test/golden-test-cases/integer-logarithms.nix.golden index 666d8c602..838f43ef6 100644 --- a/cabal2nix/test/golden-test-cases/integer-logarithms.nix.golden +++ b/cabal2nix/test/golden-test-cases/integer-logarithms.nix.golden @@ -11,6 +11,7 @@ mkDerivation { base QuickCheck smallcheck tasty tasty-hunit tasty-quickcheck tasty-smallcheck ]; + testTarget = "spec"; homepage = "https://github.com/phadej/integer-logarithms"; description = "Integer logarithms"; license = lib.licenses.mit; diff --git a/cabal2nix/test/golden-test-cases/intero.nix.golden b/cabal2nix/test/golden-test-cases/intero.nix.golden index 7595b4a06..4ccbf6e36 100644 --- a/cabal2nix/test/golden-test-cases/intero.nix.golden +++ b/cabal2nix/test/golden-test-cases/intero.nix.golden @@ -18,6 +18,7 @@ mkDerivation { base directory filepath hspec process regex-compat temporary transformers ]; + testTarget = "intero-test"; homepage = "https://github.com/commercialhaskell/intero"; description = "Complete interactive development program for Haskell"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/invariant.nix.golden b/cabal2nix/test/golden-test-cases/invariant.nix.golden index a1eefb55f..d87a2ed27 100644 --- a/cabal2nix/test/golden-test-cases/invariant.nix.golden +++ b/cabal2nix/test/golden-test-cases/invariant.nix.golden @@ -15,6 +15,7 @@ mkDerivation { unordered-containers ]; testHaskellDepends = [ base hspec QuickCheck template-haskell ]; + testTarget = "spec"; homepage = "https://github.com/nfrisby/invariant-functors"; description = "Haskell98 invariant functors"; license = lib.licenses.bsd2; diff --git a/cabal2nix/test/golden-test-cases/io-machine.nix.golden b/cabal2nix/test/golden-test-cases/io-machine.nix.golden index 35f58f0e9..43f06ed13 100644 --- a/cabal2nix/test/golden-test-cases/io-machine.nix.golden +++ b/cabal2nix/test/golden-test-cases/io-machine.nix.golden @@ -5,6 +5,7 @@ mkDerivation { sha256 = "deadbeef"; libraryHaskellDepends = [ base time ]; testHaskellDepends = [ base ]; + testTarget = "io-machine-test"; homepage = "https://github.com/YoshikuniJujo/io-machine#readme"; description = "Easy I/O model to learn IO monad"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/io-streams-haproxy.nix.golden b/cabal2nix/test/golden-test-cases/io-streams-haproxy.nix.golden index 74ba65440..d6db8ee52 100644 --- a/cabal2nix/test/golden-test-cases/io-streams-haproxy.nix.golden +++ b/cabal2nix/test/golden-test-cases/io-streams-haproxy.nix.golden @@ -12,6 +12,7 @@ mkDerivation { attoparsec base bytestring HUnit io-streams network test-framework test-framework-hunit transformers ]; + testTarget = "testsuite"; homepage = "http://snapframework.com/"; description = "HAProxy protocol 1.5 support for io-streams"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/ip.nix.golden b/cabal2nix/test/golden-test-cases/ip.nix.golden index 83199d9c8..6e6168e8b 100644 --- a/cabal2nix/test/golden-test-cases/ip.nix.golden +++ b/cabal2nix/test/golden-test-cases/ip.nix.golden @@ -18,6 +18,7 @@ mkDerivation { benchmarkHaskellDepends = [ attoparsec base bytestring criterion text ]; + testTarget = "test doctest"; homepage = "https://github.com/andrewthad/haskell-ip#readme"; description = "Library for IP and MAC addresses"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/iso8601-time.nix.golden b/cabal2nix/test/golden-test-cases/iso8601-time.nix.golden index be46c909f..640b1a737 100644 --- a/cabal2nix/test/golden-test-cases/iso8601-time.nix.golden +++ b/cabal2nix/test/golden-test-cases/iso8601-time.nix.golden @@ -5,6 +5,7 @@ mkDerivation { sha256 = "deadbeef"; libraryHaskellDepends = [ base time ]; testHaskellDepends = [ base hspec HUnit time ]; + testTarget = "tests"; homepage = "https://github.com/nh2/iso8601-time"; description = "Convert to/from the ISO 8601 time format"; license = lib.licenses.mit; diff --git a/cabal2nix/test/golden-test-cases/jose.nix.golden b/cabal2nix/test/golden-test-cases/jose.nix.golden index 177e721f3..ab6d699cf 100644 --- a/cabal2nix/test/golden-test-cases/jose.nix.golden +++ b/cabal2nix/test/golden-test-cases/jose.nix.golden @@ -25,6 +25,7 @@ mkDerivation { tasty-quickcheck template-haskell text time unordered-containers vector x509 ]; + testTarget = "tests"; homepage = "https://github.com/frasertweedale/hs-jose"; description = "Javascript Object Signing and Encryption and JSON Web Token library"; license = lib.licenses.asl20; diff --git a/cabal2nix/test/golden-test-cases/katip-elasticsearch.nix.golden b/cabal2nix/test/golden-test-cases/katip-elasticsearch.nix.golden index 6abad6adf..e5a46622c 100644 --- a/cabal2nix/test/golden-test-cases/katip-elasticsearch.nix.golden +++ b/cabal2nix/test/golden-test-cases/katip-elasticsearch.nix.golden @@ -24,6 +24,7 @@ mkDerivation { aeson base bloodhound criterion deepseq random text unordered-containers uuid ]; + testTarget = "test"; homepage = "https://github.com/Soostone/katip"; description = "ElasticSearch scribe for the Katip logging framework"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/katip.nix.golden b/cabal2nix/test/golden-test-cases/katip.nix.golden index 99881511b..335a4a6c3 100644 --- a/cabal2nix/test/golden-test-cases/katip.nix.golden +++ b/cabal2nix/test/golden-test-cases/katip.nix.golden @@ -28,6 +28,7 @@ mkDerivation { aeson async base blaze-builder criterion deepseq directory filepath safe-exceptions text time transformers unix ]; + testTarget = "test"; homepage = "https://github.com/Soostone/katip"; description = "A structured logging framework"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/katydid.nix.golden b/cabal2nix/test/golden-test-cases/katydid.nix.golden index 1ff63e42e..37fb3a42c 100644 --- a/cabal2nix/test/golden-test-cases/katydid.nix.golden +++ b/cabal2nix/test/golden-test-cases/katydid.nix.golden @@ -15,6 +15,7 @@ mkDerivation { base containers directory filepath HUnit hxt json mtl parsec tasty tasty-hunit ]; + testTarget = "katydid-test"; homepage = "https://github.com/katydid/katydid-haskell"; description = "A haskell implementation of Katydid"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/kawhi.nix.golden b/cabal2nix/test/golden-test-cases/kawhi.nix.golden index 89ecc3e4b..0a90bc5c8 100644 --- a/cabal2nix/test/golden-test-cases/kawhi.nix.golden +++ b/cabal2nix/test/golden-test-cases/kawhi.nix.golden @@ -15,6 +15,7 @@ mkDerivation { scientific smallcheck tasty tasty-hunit tasty-quickcheck tasty-smallcheck text ]; + testTarget = "tests"; homepage = "https://github.com/thunky-monk/kawhi"; description = "stats.NBA.com library"; license = lib.licenses.mit; diff --git a/cabal2nix/test/golden-test-cases/lens-aeson.nix.golden b/cabal2nix/test/golden-test-cases/lens-aeson.nix.golden index 08d5361ee..ba79af88b 100644 --- a/cabal2nix/test/golden-test-cases/lens-aeson.nix.golden +++ b/cabal2nix/test/golden-test-cases/lens-aeson.nix.golden @@ -14,6 +14,7 @@ mkDerivation { testHaskellDepends = [ base doctest generic-deriving semigroups simple-reflect ]; + testTarget = "doctests"; homepage = "http://github.com/lens/lens-aeson/"; description = "Law-abiding lenses for aeson"; license = lib.licenses.mit; diff --git a/cabal2nix/test/golden-test-cases/lens.nix.golden b/cabal2nix/test/golden-test-cases/lens.nix.golden index 4c312b62e..d49b8d134 100644 --- a/cabal2nix/test/golden-test-cases/lens.nix.golden +++ b/cabal2nix/test/golden-test-cases/lens.nix.golden @@ -33,6 +33,7 @@ mkDerivation { base bytestring comonad containers criterion deepseq generic-deriving transformers unordered-containers vector ]; + testTarget = "templates properties hunit doctests"; homepage = "http://github.com/ekmett/lens/"; description = "Lenses, Folds and Traversals"; license = lib.licenses.bsd2; diff --git a/cabal2nix/test/golden-test-cases/lifted-async.nix.golden b/cabal2nix/test/golden-test-cases/lifted-async.nix.golden index 8670426af..708074c9b 100644 --- a/cabal2nix/test/golden-test-cases/lifted-async.nix.golden +++ b/cabal2nix/test/golden-test-cases/lifted-async.nix.golden @@ -14,6 +14,7 @@ mkDerivation { tasty-th ]; benchmarkHaskellDepends = [ async base criterion deepseq ]; + testTarget = "test-lifted-async regression-tests"; homepage = "https://github.com/maoe/lifted-async"; description = "Run lifted IO operations asynchronously and wait for their results"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/lucid.nix.golden b/cabal2nix/test/golden-test-cases/lucid.nix.golden index 205daf256..f415bfda8 100644 --- a/cabal2nix/test/golden-test-cases/lucid.nix.golden +++ b/cabal2nix/test/golden-test-cases/lucid.nix.golden @@ -16,6 +16,7 @@ mkDerivation { benchmarkHaskellDepends = [ base blaze-builder bytestring criterion deepseq text transformers ]; + testTarget = "test"; homepage = "https://github.com/chrisdone/lucid"; description = "Clear to write, read and edit DSL for HTML"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/matrices.nix.golden b/cabal2nix/test/golden-test-cases/matrices.nix.golden index 104f82497..4ab6a2e10 100644 --- a/cabal2nix/test/golden-test-cases/matrices.nix.golden +++ b/cabal2nix/test/golden-test-cases/matrices.nix.golden @@ -10,6 +10,7 @@ mkDerivation { base tasty tasty-hunit tasty-quickcheck vector ]; benchmarkHaskellDepends = [ base criterion vector ]; + testTarget = "test"; description = "native matrix based on vector"; license = lib.licenses.bsd3; } diff --git a/cabal2nix/test/golden-test-cases/median-stream.nix.golden b/cabal2nix/test/golden-test-cases/median-stream.nix.golden index 85e9d4558..47dede432 100644 --- a/cabal2nix/test/golden-test-cases/median-stream.nix.golden +++ b/cabal2nix/test/golden-test-cases/median-stream.nix.golden @@ -5,6 +5,7 @@ mkDerivation { sha256 = "deadbeef"; libraryHaskellDepends = [ base heap ]; testHaskellDepends = [ base QuickCheck ]; + testTarget = "median-stream-test"; homepage = "https://github.com/caneroj1/median-stream#readme"; description = "Constant-time queries for the median of a stream of numeric data"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/megaparsec.nix.golden b/cabal2nix/test/golden-test-cases/megaparsec.nix.golden index 76529e877..ffdfe4965 100644 --- a/cabal2nix/test/golden-test-cases/megaparsec.nix.golden +++ b/cabal2nix/test/golden-test-cases/megaparsec.nix.golden @@ -16,6 +16,7 @@ mkDerivation { scientific text transformers ]; benchmarkHaskellDepends = [ base criterion deepseq text weigh ]; + testTarget = "tests"; homepage = "https://github.com/mrkkrp/megaparsec"; description = "Monadic parser combinators"; license = lib.licenses.bsd2; diff --git a/cabal2nix/test/golden-test-cases/messagepack.nix.golden b/cabal2nix/test/golden-test-cases/messagepack.nix.golden index 90997d5af..5028b4066 100644 --- a/cabal2nix/test/golden-test-cases/messagepack.nix.golden +++ b/cabal2nix/test/golden-test-cases/messagepack.nix.golden @@ -13,6 +13,7 @@ mkDerivation { base bytestring cereal containers QuickCheck test-framework test-framework-quickcheck2 test-framework-th ]; + testTarget = "messagepack-tests"; homepage = "https://github.com/rodrigosetti/messagepack"; description = "Serialize instance for Message Pack Object"; license = lib.licenses.mit; diff --git a/cabal2nix/test/golden-test-cases/minio-hs.nix.golden b/cabal2nix/test/golden-test-cases/minio-hs.nix.golden index 14c99c26e..cda7d4900 100644 --- a/cabal2nix/test/golden-test-cases/minio-hs.nix.golden +++ b/cabal2nix/test/golden-test-cases/minio-hs.nix.golden @@ -28,6 +28,7 @@ mkDerivation { tasty-quickcheck tasty-smallcheck temporary text text-format time transformers transformers-base vector xml-conduit ]; + testTarget = "minio-hs-live-server-test minio-hs-test"; homepage = "https://github.com/minio/minio-hs#readme"; description = "A Minio Haskell Library for Amazon S3 compatible cloud storage"; license = lib.licenses.asl20; diff --git a/cabal2nix/test/golden-test-cases/mnist-idx.nix.golden b/cabal2nix/test/golden-test-cases/mnist-idx.nix.golden index 176a4c8df..6790e7bc9 100644 --- a/cabal2nix/test/golden-test-cases/mnist-idx.nix.golden +++ b/cabal2nix/test/golden-test-cases/mnist-idx.nix.golden @@ -7,6 +7,7 @@ mkDerivation { sha256 = "deadbeef"; libraryHaskellDepends = [ base binary bytestring vector ]; testHaskellDepends = [ base binary directory hspec vector ]; + testTarget = "tests"; homepage = "https://github.com/kryoxide/mnist-idx/"; description = "Read and write IDX data that is used in e.g. the MNIST database."; license = lib.licenses.lgpl3Only; diff --git a/cabal2nix/test/golden-test-cases/mole.nix.golden b/cabal2nix/test/golden-test-cases/mole.nix.golden index 50831b01f..757194d9b 100644 --- a/cabal2nix/test/golden-test-cases/mole.nix.golden +++ b/cabal2nix/test/golden-test-cases/mole.nix.golden @@ -21,6 +21,7 @@ mkDerivation { attoparsec base bytestring containers hspec hspec-smallcheck kraken smallcheck stm text time unordered-containers vector ]; + testTarget = "spec"; description = "A glorified string replacement tool"; license = lib.licenses.mit; mainProgram = "mole"; diff --git a/cabal2nix/test/golden-test-cases/mongoDB.nix.golden b/cabal2nix/test/golden-test-cases/mongoDB.nix.golden index 1599b148c..9f3874596 100644 --- a/cabal2nix/test/golden-test-cases/mongoDB.nix.golden +++ b/cabal2nix/test/golden-test-cases/mongoDB.nix.golden @@ -23,6 +23,7 @@ mkDerivation { monad-control mtl network nonce parsec random random-shuffle text transformers-base ]; + testTarget = "test"; homepage = "https://github.com/mongodb-haskell/mongodb"; description = "Driver (client) for MongoDB, a free, scalable, fast, document DBMS"; license = lib.licenses.asl20; diff --git a/cabal2nix/test/golden-test-cases/mwc-random.nix.golden b/cabal2nix/test/golden-test-cases/mwc-random.nix.golden index e9a859985..636896ab3 100644 --- a/cabal2nix/test/golden-test-cases/mwc-random.nix.golden +++ b/cabal2nix/test/golden-test-cases/mwc-random.nix.golden @@ -8,6 +8,7 @@ mkDerivation { base math-functions primitive time vector ]; doCheck = false; + testTarget = "tests"; homepage = "https://github.com/bos/mwc-random"; description = "Fast, high quality pseudo random number generation"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/nanospec.nix.golden b/cabal2nix/test/golden-test-cases/nanospec.nix.golden index 80a77c081..c5b50e04c 100644 --- a/cabal2nix/test/golden-test-cases/nanospec.nix.golden +++ b/cabal2nix/test/golden-test-cases/nanospec.nix.golden @@ -5,6 +5,7 @@ mkDerivation { sha256 = "deadbeef"; libraryHaskellDepends = [ base ]; testHaskellDepends = [ base hspec silently ]; + testTarget = "spec"; description = "A lightweight implementation of a subset of Hspec's API"; license = lib.licenses.mit; } diff --git a/cabal2nix/test/golden-test-cases/netpbm.nix.golden b/cabal2nix/test/golden-test-cases/netpbm.nix.golden index 1490f7b33..c8a5285f5 100644 --- a/cabal2nix/test/golden-test-cases/netpbm.nix.golden +++ b/cabal2nix/test/golden-test-cases/netpbm.nix.golden @@ -12,6 +12,7 @@ mkDerivation { ]; testHaskellDepends = [ base bytestring hspec HUnit vector ]; benchmarkHaskellDepends = [ base bytestring criterion ]; + testTarget = "tests"; homepage = "https://github.com/nh2/haskell-netpbm"; description = "Loading PBM, PGM, PPM image files"; license = lib.licenses.mit; diff --git a/cabal2nix/test/golden-test-cases/network-transport-tcp.nix.golden b/cabal2nix/test/golden-test-cases/network-transport-tcp.nix.golden index 25596fdb0..300e4d88e 100644 --- a/cabal2nix/test/golden-test-cases/network-transport-tcp.nix.golden +++ b/cabal2nix/test/golden-test-cases/network-transport-tcp.nix.golden @@ -11,6 +11,7 @@ mkDerivation { testHaskellDepends = [ base bytestring network network-transport network-transport-tests ]; + testTarget = "TestTCP TestQC"; homepage = "http://haskell-distributed.github.com"; description = "TCP instantiation of Network.Transport"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/nvim-hs.nix.golden b/cabal2nix/test/golden-test-cases/nvim-hs.nix.golden index 774198d12..f3355195e 100644 --- a/cabal2nix/test/golden-test-cases/nvim-hs.nix.golden +++ b/cabal2nix/test/golden-test-cases/nvim-hs.nix.golden @@ -33,6 +33,7 @@ mkDerivation { transformers-base utf8-string ]; testToolDepends = [ hspec-discover ]; + testTarget = "hspec"; homepage = "https://github.com/neovimhaskell/nvim-hs"; description = "Haskell plugin backend for neovim"; license = lib.licenses.asl20; diff --git a/cabal2nix/test/golden-test-cases/one-liner.nix.golden b/cabal2nix/test/golden-test-cases/one-liner.nix.golden index 034646459..cb031b864 100644 --- a/cabal2nix/test/golden-test-cases/one-liner.nix.golden +++ b/cabal2nix/test/golden-test-cases/one-liner.nix.golden @@ -10,6 +10,7 @@ mkDerivation { transformers ]; testHaskellDepends = [ base contravariant HUnit ]; + testTarget = "unittests"; homepage = "https://github.com/sjoerdvisscher/one-liner"; description = "Constraint-based generics"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/opencv.nix.golden b/cabal2nix/test/golden-test-cases/opencv.nix.golden index 0553e9715..691f44521 100644 --- a/cabal2nix/test/golden-test-cases/opencv.nix.golden +++ b/cabal2nix/test/golden-test-cases/opencv.nix.golden @@ -23,6 +23,7 @@ mkDerivation { transformers vector ]; benchmarkHaskellDepends = [ base bytestring criterion repa ]; + testTarget = "doc-images-opencv test-opencv"; hardeningDisable = [ "bindnow" ]; homepage = "https://github.com/LumiGuide/haskell-opencv"; description = "Haskell binding to OpenCV-3.x"; diff --git a/cabal2nix/test/golden-test-cases/openexr-write.nix.golden b/cabal2nix/test/golden-test-cases/openexr-write.nix.golden index 192b96c19..4b1fa9abd 100644 --- a/cabal2nix/test/golden-test-cases/openexr-write.nix.golden +++ b/cabal2nix/test/golden-test-cases/openexr-write.nix.golden @@ -10,6 +10,7 @@ mkDerivation { vector-split zlib ]; testHaskellDepends = [ base bytestring directory hspec vector ]; + testTarget = "spec"; homepage = "https://github.com/pavolzetor/openexr-write#readme"; description = "Library for writing images in OpenEXR HDR file format"; license = lib.licenses.gpl3Only; diff --git a/cabal2nix/test/golden-test-cases/openpgp-asciiarmor.nix.golden b/cabal2nix/test/golden-test-cases/openpgp-asciiarmor.nix.golden index a081bfdb3..dfe62a1d5 100644 --- a/cabal2nix/test/golden-test-cases/openpgp-asciiarmor.nix.golden +++ b/cabal2nix/test/golden-test-cases/openpgp-asciiarmor.nix.golden @@ -12,6 +12,7 @@ mkDerivation { attoparsec base base64-bytestring bytestring cereal HUnit test-framework test-framework-hunit ]; + testTarget = "tests"; homepage = "http://floss.scru.org/openpgp-asciiarmor"; description = "OpenPGP (RFC4880) ASCII Armor codec"; license = "unknown"; diff --git a/cabal2nix/test/golden-test-cases/pandoc.nix.golden b/cabal2nix/test/golden-test-cases/pandoc.nix.golden index ca8da8d41..036903d75 100644 --- a/cabal2nix/test/golden-test-cases/pandoc.nix.golden +++ b/cabal2nix/test/golden-test-cases/pandoc.nix.golden @@ -47,6 +47,7 @@ mkDerivation { benchmarkHaskellDepends = [ base bytestring deepseq mtl tasty-bench text ]; + testTarget = "test-pandoc"; postInstall = '' mkdir -p $out/share/man/man1 mv "man/"*.1 $out/share/man/man1/ diff --git a/cabal2nix/test/golden-test-cases/partial-semigroup.nix.golden b/cabal2nix/test/golden-test-cases/partial-semigroup.nix.golden index 99cd3fc85..9baa1aaa9 100644 --- a/cabal2nix/test/golden-test-cases/partial-semigroup.nix.golden +++ b/cabal2nix/test/golden-test-cases/partial-semigroup.nix.golden @@ -5,6 +5,7 @@ mkDerivation { sha256 = "deadbeef"; libraryHaskellDepends = [ base ]; testHaskellDepends = [ base doctest hedgehog ]; + testTarget = "docs examples properties generics"; homepage = "https://github.com/chris-martin/partial-semigroup"; description = "A partial binary associative operator"; license = lib.licenses.asl20; diff --git a/cabal2nix/test/golden-test-cases/pathtype.nix.golden b/cabal2nix/test/golden-test-cases/pathtype.nix.golden index 25b745a27..93fc5c200 100644 --- a/cabal2nix/test/golden-test-cases/pathtype.nix.golden +++ b/cabal2nix/test/golden-test-cases/pathtype.nix.golden @@ -12,6 +12,7 @@ mkDerivation { utility-ht ]; testHaskellDepends = [ base random ]; + testTarget = "test"; homepage = "http://hub.darcs.net/thielema/pathtype/"; description = "Type-safe replacement for System.FilePath etc"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/pell.nix.golden b/cabal2nix/test/golden-test-cases/pell.nix.golden index 2e1fe4467..d9b7bb1ed 100644 --- a/cabal2nix/test/golden-test-cases/pell.nix.golden +++ b/cabal2nix/test/golden-test-cases/pell.nix.golden @@ -10,6 +10,7 @@ mkDerivation { arithmoi base Cabal cabal-test-quickcheck containers primes QuickCheck ]; + testTarget = "test-pell"; homepage = "https://github.com/brunjlar/pell"; description = "Package to solve the Generalized Pell Equation"; license = lib.licenses.mit; diff --git a/cabal2nix/test/golden-test-cases/picosat.nix.golden b/cabal2nix/test/golden-test-cases/picosat.nix.golden index b79c36da1..edcaf9b59 100644 --- a/cabal2nix/test/golden-test-cases/picosat.nix.golden +++ b/cabal2nix/test/golden-test-cases/picosat.nix.golden @@ -6,6 +6,7 @@ mkDerivation { sha256 = "deadbeef"; libraryHaskellDepends = [ base containers transformers ]; testHaskellDepends = [ base containers random rdtsc transformers ]; + testTarget = "Sudoku Scoped rand-shared-improvement"; homepage = "https://github.com/sdiehl/haskell-picosat"; description = "Bindings to the PicoSAT solver"; license = lib.licenses.mit; diff --git a/cabal2nix/test/golden-test-cases/pinch.nix.golden b/cabal2nix/test/golden-test-cases/pinch.nix.golden index f7b81472f..d86e1f305 100644 --- a/cabal2nix/test/golden-test-cases/pinch.nix.golden +++ b/cabal2nix/test/golden-test-cases/pinch.nix.golden @@ -15,6 +15,7 @@ mkDerivation { unordered-containers vector ]; testToolDepends = [ hspec-discover ]; + testTarget = "pinch-spec"; homepage = "https://github.com/abhinav/pinch#readme"; description = "An alternative implementation of Thrift for Haskell"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/postgresql-simple-url.nix.golden b/cabal2nix/test/golden-test-cases/postgresql-simple-url.nix.golden index afa9d1fdd..a7e0c728e 100644 --- a/cabal2nix/test/golden-test-cases/postgresql-simple-url.nix.golden +++ b/cabal2nix/test/golden-test-cases/postgresql-simple-url.nix.golden @@ -11,6 +11,7 @@ mkDerivation { testHaskellDepends = [ base postgresql-simple tasty tasty-quickcheck ]; + testTarget = "test"; homepage = "https://github.com/futurice/postgresql-simple-url"; description = "Parse postgres:// url into ConnectInfo"; license = lib.licenses.mit; diff --git a/cabal2nix/test/golden-test-cases/presburger.nix.golden b/cabal2nix/test/golden-test-cases/presburger.nix.golden index 6fc7cf337..26833a944 100644 --- a/cabal2nix/test/golden-test-cases/presburger.nix.golden +++ b/cabal2nix/test/golden-test-cases/presburger.nix.golden @@ -5,6 +5,7 @@ mkDerivation { sha256 = "deadbeef"; libraryHaskellDepends = [ base containers pretty ]; testHaskellDepends = [ base QuickCheck ]; + testTarget = "pressburger-qc-tests"; homepage = "http://github.com/yav/presburger"; description = "A decision procedure for quantifier-free linear arithmetic"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/primitive.nix.golden b/cabal2nix/test/golden-test-cases/primitive.nix.golden index 338e13fcf..5a04819fe 100644 --- a/cabal2nix/test/golden-test-cases/primitive.nix.golden +++ b/cabal2nix/test/golden-test-cases/primitive.nix.golden @@ -5,6 +5,7 @@ mkDerivation { sha256 = "deadbeef"; libraryHaskellDepends = [ base ghc-prim transformers ]; testHaskellDepends = [ base ghc-prim ]; + testTarget = "test"; homepage = "https://github.com/haskell/primitive"; description = "Primitive memory-related operations"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/product-profunctors.nix.golden b/cabal2nix/test/golden-test-cases/product-profunctors.nix.golden index 2b8c3b1a4..357d769bc 100644 --- a/cabal2nix/test/golden-test-cases/product-profunctors.nix.golden +++ b/cabal2nix/test/golden-test-cases/product-profunctors.nix.golden @@ -9,6 +9,7 @@ mkDerivation { base contravariant profunctors tagged template-haskell ]; testHaskellDepends = [ base profunctors ]; + testTarget = "test"; homepage = "https://github.com/tomjaguarpaw/product-profunctors"; description = "product-profunctors"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/projectroot.nix.golden b/cabal2nix/test/golden-test-cases/projectroot.nix.golden index c1a32084e..8eb338863 100644 --- a/cabal2nix/test/golden-test-cases/projectroot.nix.golden +++ b/cabal2nix/test/golden-test-cases/projectroot.nix.golden @@ -5,6 +5,7 @@ mkDerivation { sha256 = "deadbeef"; libraryHaskellDepends = [ base directory ]; testHaskellDepends = [ base hspec QuickCheck ]; + testTarget = "hspec"; homepage = "https://github.com/yamadapc/haskell-projectroot"; description = "Bindings to the projectroot C logic"; license = lib.licenses.mit; diff --git a/cabal2nix/test/golden-test-cases/psqueues.nix.golden b/cabal2nix/test/golden-test-cases/psqueues.nix.golden index 5cd198b77..c18e2ce4d 100644 --- a/cabal2nix/test/golden-test-cases/psqueues.nix.golden +++ b/cabal2nix/test/golden-test-cases/psqueues.nix.golden @@ -16,6 +16,7 @@ mkDerivation { base containers criterion deepseq fingertree-psqueue ghc-prim hashable mtl PSQueue random unordered-containers ]; + testTarget = "psqueues-tests"; description = "Pure priority search queues"; license = lib.licenses.bsd3; } diff --git a/cabal2nix/test/golden-test-cases/pusher-http-haskell.nix.golden b/cabal2nix/test/golden-test-cases/pusher-http-haskell.nix.golden index 6a4aac36e..51157e677 100644 --- a/cabal2nix/test/golden-test-cases/pusher-http-haskell.nix.golden +++ b/cabal2nix/test/golden-test-cases/pusher-http-haskell.nix.golden @@ -17,6 +17,7 @@ mkDerivation { http-client http-types QuickCheck scientific text time transformers unordered-containers vector ]; + testTarget = "tests"; homepage = "https://github.com/pusher-community/pusher-http-haskell"; description = "Haskell client library for the Pusher HTTP API"; license = lib.licenses.mit; diff --git a/cabal2nix/test/golden-test-cases/quickcheck-arbitrary-adt.nix.golden b/cabal2nix/test/golden-test-cases/quickcheck-arbitrary-adt.nix.golden index 0ef5f759a..910ce4359 100644 --- a/cabal2nix/test/golden-test-cases/quickcheck-arbitrary-adt.nix.golden +++ b/cabal2nix/test/golden-test-cases/quickcheck-arbitrary-adt.nix.golden @@ -9,6 +9,7 @@ mkDerivation { testHaskellDepends = [ base hspec lens QuickCheck template-haskell transformers ]; + testTarget = "test"; homepage = "https://github.com/plow-technologies/quickcheck-arbitrary-adt#readme"; description = "Generic typeclasses for generating arbitrary ADTs"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/rank1dynamic.nix.golden b/cabal2nix/test/golden-test-cases/rank1dynamic.nix.golden index a0a5132d1..eaad87136 100644 --- a/cabal2nix/test/golden-test-cases/rank1dynamic.nix.golden +++ b/cabal2nix/test/golden-test-cases/rank1dynamic.nix.golden @@ -9,6 +9,7 @@ mkDerivation { testHaskellDepends = [ base HUnit test-framework test-framework-hunit ]; + testTarget = "TestRank1Dynamic"; homepage = "http://haskell-distributed.github.com"; description = "Like Data.Dynamic/Data.Typeable but with support for rank-1 polymorphic types"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/reactive-banana.nix.golden b/cabal2nix/test/golden-test-cases/reactive-banana.nix.golden index e04ee1c36..aa898e9e1 100644 --- a/cabal2nix/test/golden-test-cases/reactive-banana.nix.golden +++ b/cabal2nix/test/golden-test-cases/reactive-banana.nix.golden @@ -14,6 +14,7 @@ mkDerivation { base containers hashable HUnit pqueue psqueues test-framework test-framework-hunit transformers unordered-containers vault ]; + testTarget = "tests"; homepage = "http://wiki.haskell.org/Reactive-banana"; description = "Library for functional reactive programming (FRP)"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/relational-query.nix.golden b/cabal2nix/test/golden-test-cases/relational-query.nix.golden index 5fa3eccd5..626bff1cc 100644 --- a/cabal2nix/test/golden-test-cases/relational-query.nix.golden +++ b/cabal2nix/test/golden-test-cases/relational-query.nix.golden @@ -15,6 +15,7 @@ mkDerivation { testHaskellDepends = [ base containers product-isomorphic quickcheck-simple transformers ]; + testTarget = "sqls sqlsArrow"; homepage = "http://khibino.github.io/haskell-relational-record/"; description = "Typeful, Modular, Relational, algebraic query engine"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/scalpel-core.nix.golden b/cabal2nix/test/golden-test-cases/scalpel-core.nix.golden index 1604ccffb..fd2a728b4 100644 --- a/cabal2nix/test/golden-test-cases/scalpel-core.nix.golden +++ b/cabal2nix/test/golden-test-cases/scalpel-core.nix.golden @@ -12,6 +12,7 @@ mkDerivation { ]; testHaskellDepends = [ base HUnit regex-base regex-tdfa tagsoup ]; benchmarkHaskellDepends = [ base criterion tagsoup text ]; + testTarget = "lib-tests"; homepage = "https://github.com/fimad/scalpel"; description = "A high level web scraping library for Haskell"; license = lib.licenses.asl20; diff --git a/cabal2nix/test/golden-test-cases/servant-checked-exceptions.nix.golden b/cabal2nix/test/golden-test-cases/servant-checked-exceptions.nix.golden index 9b2d34bd6..2de6ec7b4 100644 --- a/cabal2nix/test/golden-test-cases/servant-checked-exceptions.nix.golden +++ b/cabal2nix/test/golden-test-cases/servant-checked-exceptions.nix.golden @@ -17,6 +17,7 @@ mkDerivation { base bytestring doctest Glob hspec-wai servant servant-server tasty tasty-hspec tasty-hunit wai ]; + testTarget = "servant-checked-exceptions-doctest servant-checked-exceptions-test"; homepage = "https://github.com/cdepillabout/servant-checked-exceptions"; description = "Checked exceptions for Servant APIs"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/sets.nix.golden b/cabal2nix/test/golden-test-cases/sets.nix.golden index 516df68ed..f5c3354a9 100644 --- a/cabal2nix/test/golden-test-cases/sets.nix.golden +++ b/cabal2nix/test/golden-test-cases/sets.nix.golden @@ -22,6 +22,7 @@ mkDerivation { base commutative containers contravariant criterion unordered-containers ]; + testTarget = "spec"; description = "Ducktyped set interface for Haskell containers"; license = lib.licenses.mit; } diff --git a/cabal2nix/test/golden-test-cases/slack-web.nix.golden b/cabal2nix/test/golden-test-cases/slack-web.nix.golden index b7aed3c0e..623fb7ff0 100644 --- a/cabal2nix/test/golden-test-cases/slack-web.nix.golden +++ b/cabal2nix/test/golden-test-cases/slack-web.nix.golden @@ -15,6 +15,7 @@ mkDerivation { aeson base containers errors hspec http-api-data megaparsec text time ]; + testTarget = "tests"; homepage = "https://github.com/jpvillaisaza/slack-web"; description = "Bindings for the Slack web API"; license = lib.licenses.mit; diff --git a/cabal2nix/test/golden-test-cases/slug.nix.golden b/cabal2nix/test/golden-test-cases/slug.nix.golden index 8d28c979b..a0ccfe507 100644 --- a/cabal2nix/test/golden-test-cases/slug.nix.golden +++ b/cabal2nix/test/golden-test-cases/slug.nix.golden @@ -12,6 +12,7 @@ mkDerivation { testHaskellDepends = [ base exceptions hspec http-api-data path-pieces QuickCheck text ]; + testTarget = "tests"; homepage = "https://github.com/mrkkrp/slug"; description = "Type-safe slugs for Yesod ecosystem"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/speedy-slice.nix.golden b/cabal2nix/test/golden-test-cases/speedy-slice.nix.golden index 9b7906d3f..196ea9d24 100644 --- a/cabal2nix/test/golden-test-cases/speedy-slice.nix.golden +++ b/cabal2nix/test/golden-test-cases/speedy-slice.nix.golden @@ -10,6 +10,7 @@ mkDerivation { transformers ]; testHaskellDepends = [ base containers mwc-probability ]; + testTarget = "rosenbrock bnn"; homepage = "http://github.com/jtobin/speedy-slice"; description = "Speedy slice sampling"; license = lib.licenses.mit; diff --git a/cabal2nix/test/golden-test-cases/state-codes.nix.golden b/cabal2nix/test/golden-test-cases/state-codes.nix.golden index 3792e8e45..84c1bcb93 100644 --- a/cabal2nix/test/golden-test-cases/state-codes.nix.golden +++ b/cabal2nix/test/golden-test-cases/state-codes.nix.golden @@ -7,6 +7,7 @@ mkDerivation { sha256 = "deadbeef"; libraryHaskellDepends = [ aeson base shakespeare text ]; testHaskellDepends = [ aeson base hspec QuickCheck text ]; + testTarget = "state-codes-test"; homepage = "https://github.com/acamino/state-codes#README"; description = "ISO 3166-2:US state codes and i18n names"; license = lib.licenses.mit; diff --git a/cabal2nix/test/golden-test-cases/stb-image-redux.nix.golden b/cabal2nix/test/golden-test-cases/stb-image-redux.nix.golden index cddf05988..975b8734a 100644 --- a/cabal2nix/test/golden-test-cases/stb-image-redux.nix.golden +++ b/cabal2nix/test/golden-test-cases/stb-image-redux.nix.golden @@ -5,6 +5,7 @@ mkDerivation { sha256 = "deadbeef"; libraryHaskellDepends = [ base vector ]; testHaskellDepends = [ base hspec vector ]; + testTarget = "stb-image-redux-tests"; homepage = "https://github.com/typedrat/stb-image-redux#readme"; description = "Image loading and writing microlibrary"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/stm-containers.nix.golden b/cabal2nix/test/golden-test-cases/stm-containers.nix.golden index 41160b51e..38c39b919 100644 --- a/cabal2nix/test/golden-test-cases/stm-containers.nix.golden +++ b/cabal2nix/test/golden-test-cases/stm-containers.nix.golden @@ -21,6 +21,7 @@ mkDerivation { hashtables list-t loch-th mtl mtl-prelude mwc-random mwc-random-monad placeholders text unordered-containers vector ]; + testTarget = "word-array-tests api-tests"; homepage = "https://github.com/nikita-volkov/stm-containers"; description = "Containers for STM"; license = lib.licenses.mit; diff --git a/cabal2nix/test/golden-test-cases/streaming-commons.nix.golden b/cabal2nix/test/golden-test-cases/streaming-commons.nix.golden index 62b54c75d..2513b259a 100644 --- a/cabal2nix/test/golden-test-cases/streaming-commons.nix.golden +++ b/cabal2nix/test/golden-test-cases/streaming-commons.nix.golden @@ -17,6 +17,7 @@ mkDerivation { benchmarkHaskellDepends = [ base blaze-builder bytestring criterion deepseq text ]; + testTarget = "test"; homepage = "https://github.com/fpco/streaming-commons"; description = "Common lower-level functions needed by various streaming data libraries"; license = lib.licenses.mit; diff --git a/cabal2nix/test/golden-test-cases/swagger.nix.golden b/cabal2nix/test/golden-test-cases/swagger.nix.golden index 287a622c0..cf1060832 100644 --- a/cabal2nix/test/golden-test-cases/swagger.nix.golden +++ b/cabal2nix/test/golden-test-cases/swagger.nix.golden @@ -9,6 +9,7 @@ mkDerivation { aeson base bytestring text time transformers ]; testHaskellDepends = [ aeson base bytestring tasty tasty-hunit ]; + testTarget = "tests"; description = "Implementation of swagger data model"; license = "unknown"; } diff --git a/cabal2nix/test/golden-test-cases/system-fileio.nix.golden b/cabal2nix/test/golden-test-cases/system-fileio.nix.golden index 3ae930345..3846e6c92 100644 --- a/cabal2nix/test/golden-test-cases/system-fileio.nix.golden +++ b/cabal2nix/test/golden-test-cases/system-fileio.nix.golden @@ -12,6 +12,7 @@ mkDerivation { base bytestring chell system-filepath temporary text time transformers unix ]; + testTarget = "filesystem_tests"; homepage = "https://github.com/fpco/haskell-filesystem"; description = "Consistent filesystem interaction across GHC versions (deprecated)"; license = lib.licenses.mit; diff --git a/cabal2nix/test/golden-test-cases/system-filepath.nix.golden b/cabal2nix/test/golden-test-cases/system-filepath.nix.golden index 7289a5ed7..1cdcec454 100644 --- a/cabal2nix/test/golden-test-cases/system-filepath.nix.golden +++ b/cabal2nix/test/golden-test-cases/system-filepath.nix.golden @@ -9,6 +9,7 @@ mkDerivation { testHaskellDepends = [ base bytestring chell chell-quickcheck QuickCheck text ]; + testTarget = "filesystem_path_tests"; homepage = "https://github.com/fpco/haskell-filesystem"; description = "High-level, byte-based file and directory path manipulations (deprecated)"; license = lib.licenses.mit; diff --git a/cabal2nix/test/golden-test-cases/taggy.nix.golden b/cabal2nix/test/golden-test-cases/taggy.nix.golden index 339296f4a..7a29902c0 100644 --- a/cabal2nix/test/golden-test-cases/taggy.nix.golden +++ b/cabal2nix/test/golden-test-cases/taggy.nix.golden @@ -21,6 +21,7 @@ mkDerivation { benchmarkHaskellDepends = [ attoparsec base criterion tagsoup text vector ]; + testTarget = "unit integration"; homepage = "http://github.com/alpmestan/taggy"; description = "Efficient and simple HTML/XML parsing library"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/tagstream-conduit.nix.golden b/cabal2nix/test/golden-test-cases/tagstream-conduit.nix.golden index 439e0c6b1..1cfd90c28 100644 --- a/cabal2nix/test/golden-test-cases/tagstream-conduit.nix.golden +++ b/cabal2nix/test/golden-test-cases/tagstream-conduit.nix.golden @@ -14,6 +14,7 @@ mkDerivation { testHaskellDepends = [ base bytestring conduit hspec HUnit QuickCheck resourcet text ]; + testTarget = "test"; homepage = "http://github.com/yihuang/tagstream-conduit"; description = "streamlined html tag parser"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/tasty-hedgehog.nix.golden b/cabal2nix/test/golden-test-cases/tasty-hedgehog.nix.golden index 43d3f1fb0..cfc55929d 100644 --- a/cabal2nix/test/golden-test-cases/tasty-hedgehog.nix.golden +++ b/cabal2nix/test/golden-test-cases/tasty-hedgehog.nix.golden @@ -9,6 +9,7 @@ mkDerivation { testHaskellDepends = [ base hedgehog tasty tasty-expected-failure ]; + testTarget = "tasty-hedgehog-tests"; homepage = "https://github.com/qfpl/tasty-hedghog"; description = "Integrates the hedgehog testing library with the tasty testing framework"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/tce-conf.nix.golden b/cabal2nix/test/golden-test-cases/tce-conf.nix.golden index 7f244d99a..36b9d0896 100644 --- a/cabal2nix/test/golden-test-cases/tce-conf.nix.golden +++ b/cabal2nix/test/golden-test-cases/tce-conf.nix.golden @@ -8,6 +8,7 @@ mkDerivation { libraryHaskellDepends = [ base containers ]; executableHaskellDepends = [ base containers ]; testHaskellDepends = [ base containers HUnit ]; + testTarget = "test-hsmisc"; homepage = "http://hub.darcs.net/dino/tce-conf"; description = "Very simple config file reading"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/terminal-progress-bar.nix.golden b/cabal2nix/test/golden-test-cases/terminal-progress-bar.nix.golden index 75f9ecc8f..c61a9c505 100644 --- a/cabal2nix/test/golden-test-cases/terminal-progress-bar.nix.golden +++ b/cabal2nix/test/golden-test-cases/terminal-progress-bar.nix.golden @@ -11,6 +11,7 @@ mkDerivation { testHaskellDepends = [ base HUnit test-framework test-framework-hunit ]; + testTarget = "test-terminal-progress-bar"; homepage = "https://github.com/roelvandijk/terminal-progress-bar"; description = "A simple progress bar in the terminal"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/test-fixture.nix.golden b/cabal2nix/test/golden-test-cases/test-fixture.nix.golden index bf97896ab..7a31744dc 100644 --- a/cabal2nix/test/golden-test-cases/test-fixture.nix.golden +++ b/cabal2nix/test/golden-test-cases/test-fixture.nix.golden @@ -14,6 +14,7 @@ mkDerivation { base hspec hspec-discover mtl template-haskell transformers ]; testToolDepends = [ hspec-discover ]; + testTarget = "test-fixture-test-suite"; homepage = "http://github.com/cjdev/test-fixture#readme"; description = "Test monadic side-effects"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/texmath.nix.golden b/cabal2nix/test/golden-test-cases/texmath.nix.golden index a25e97736..be23ffba7 100644 --- a/cabal2nix/test/golden-test-cases/texmath.nix.golden +++ b/cabal2nix/test/golden-test-cases/texmath.nix.golden @@ -15,6 +15,7 @@ mkDerivation { base bytestring directory filepath process split temporary text utf8-string xml ]; + testTarget = "test-texmath"; homepage = "http://github.com/jgm/texmath"; description = "Conversion between formats used to represent mathematics"; license = "GPL"; diff --git a/cabal2nix/test/golden-test-cases/text-icu.nix.golden b/cabal2nix/test/golden-test-cases/text-icu.nix.golden index af0c1eaf6..9953a99b1 100644 --- a/cabal2nix/test/golden-test-cases/text-icu.nix.golden +++ b/cabal2nix/test/golden-test-cases/text-icu.nix.golden @@ -13,6 +13,7 @@ mkDerivation { random test-framework test-framework-hunit test-framework-quickcheck2 text ]; + testTarget = "tests"; homepage = "https://github.com/bos/text-icu"; description = "Bindings to the ICU library"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/text-postgresql.nix.golden b/cabal2nix/test/golden-test-cases/text-postgresql.nix.golden index 5afa32d63..7de9257fa 100644 --- a/cabal2nix/test/golden-test-cases/text-postgresql.nix.golden +++ b/cabal2nix/test/golden-test-cases/text-postgresql.nix.golden @@ -9,6 +9,7 @@ mkDerivation { base dlist transformers transformers-compat ]; testHaskellDepends = [ base QuickCheck quickcheck-simple ]; + testTarget = "pp"; homepage = "http://khibino.github.io/haskell-relational-record/"; description = "Parser and Printer of PostgreSQL extended types"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/th-expand-syns.nix.golden b/cabal2nix/test/golden-test-cases/th-expand-syns.nix.golden index 4db4b2620..098a8f0d2 100644 --- a/cabal2nix/test/golden-test-cases/th-expand-syns.nix.golden +++ b/cabal2nix/test/golden-test-cases/th-expand-syns.nix.golden @@ -5,6 +5,7 @@ mkDerivation { sha256 = "deadbeef"; libraryHaskellDepends = [ base containers syb template-haskell ]; testHaskellDepends = [ base template-haskell ]; + testTarget = "test-th-expand-syns"; homepage = "https://github.com/DanielSchuessler/th-expand-syns"; description = "Expands type synonyms in Template Haskell ASTs"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/these.nix.golden b/cabal2nix/test/golden-test-cases/these.nix.golden index 4ae613d59..d6e24dc46 100644 --- a/cabal2nix/test/golden-test-cases/these.nix.golden +++ b/cabal2nix/test/golden-test-cases/these.nix.golden @@ -18,6 +18,7 @@ mkDerivation { quickcheck-instances tasty tasty-quickcheck transformers unordered-containers vector ]; + testTarget = "test"; homepage = "https://github.com/isomorphism/these"; description = "An either-or-both data type & a generalized 'zip with padding' typeclass"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/ttrie.nix.golden b/cabal2nix/test/golden-test-cases/ttrie.nix.golden index 703798420..2db44e8dd 100644 --- a/cabal2nix/test/golden-test-cases/ttrie.nix.golden +++ b/cabal2nix/test/golden-test-cases/ttrie.nix.golden @@ -20,6 +20,7 @@ mkDerivation { primitive stm stm-containers stm-stats text transformers unordered-containers vector ]; + testTarget = "map-properties"; homepage = "http://github.com/mcschroeder/ttrie"; description = "Contention-free STM hash map"; license = lib.licenses.mit; diff --git a/cabal2nix/test/golden-test-cases/turtle-options.nix.golden b/cabal2nix/test/golden-test-cases/turtle-options.nix.golden index 9e775a73e..3e0bade50 100644 --- a/cabal2nix/test/golden-test-cases/turtle-options.nix.golden +++ b/cabal2nix/test/golden-test-cases/turtle-options.nix.golden @@ -10,6 +10,7 @@ mkDerivation { libraryHaskellDepends = [ base optional-args parsec text turtle ]; executableHaskellDepends = [ base turtle ]; testHaskellDepends = [ base HUnit parsec ]; + testTarget = "turtle-options-test"; homepage = "https://github.com/elaye/turtle-options#readme"; description = "Collection of command line options and parsers for these options"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/type-spec.nix.golden b/cabal2nix/test/golden-test-cases/type-spec.nix.golden index f49e59995..520a1001a 100644 --- a/cabal2nix/test/golden-test-cases/type-spec.nix.golden +++ b/cabal2nix/test/golden-test-cases/type-spec.nix.golden @@ -5,6 +5,7 @@ mkDerivation { sha256 = "deadbeef"; libraryHaskellDepends = [ base pretty ]; testHaskellDepends = [ base ]; + testTarget = "examples"; homepage = "https://github.com/sheyll/type-spec#readme"; description = "Type Level Specification by Example"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/unicode-show.nix.golden b/cabal2nix/test/golden-test-cases/unicode-show.nix.golden index c6a2d53ba..cecf48d1e 100644 --- a/cabal2nix/test/golden-test-cases/unicode-show.nix.golden +++ b/cabal2nix/test/golden-test-cases/unicode-show.nix.golden @@ -10,6 +10,7 @@ mkDerivation { base HUnit QuickCheck test-framework test-framework-hunit test-framework-quickcheck2 ]; + testTarget = "unicode-show-test"; homepage = "http://github.com/nushio3/unicode-show#readme"; description = "print and show in unicode"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/utility-ht.nix.golden b/cabal2nix/test/golden-test-cases/utility-ht.nix.golden index b921368d6..ddfc8001f 100644 --- a/cabal2nix/test/golden-test-cases/utility-ht.nix.golden +++ b/cabal2nix/test/golden-test-cases/utility-ht.nix.golden @@ -5,6 +5,7 @@ mkDerivation { sha256 = "deadbeef"; libraryHaskellDepends = [ base ]; testHaskellDepends = [ base QuickCheck ]; + testTarget = "test"; description = "Various small helper functions for Lists, Maybes, Tuples, Functions"; license = lib.licenses.bsd3; } diff --git a/cabal2nix/test/golden-test-cases/vector-mmap.nix.golden b/cabal2nix/test/golden-test-cases/vector-mmap.nix.golden index 070cac8ae..cedd099dd 100644 --- a/cabal2nix/test/golden-test-cases/vector-mmap.nix.golden +++ b/cabal2nix/test/golden-test-cases/vector-mmap.nix.golden @@ -7,6 +7,7 @@ mkDerivation { sha256 = "deadbeef"; libraryHaskellDepends = [ base mmap primitive vector ]; testHaskellDepends = [ base QuickCheck temporary vector ]; + testTarget = "quickcheck"; homepage = "http://github.com/pumpkin/vector-mmap"; description = "Memory map immutable and mutable vectors"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/vivid-supercollider.nix.golden b/cabal2nix/test/golden-test-cases/vivid-supercollider.nix.golden index 4a42a8697..03dcdbea6 100644 --- a/cabal2nix/test/golden-test-cases/vivid-supercollider.nix.golden +++ b/cabal2nix/test/golden-test-cases/vivid-supercollider.nix.golden @@ -12,6 +12,7 @@ mkDerivation { base binary bytestring cereal microspec QuickCheck utf8-string vivid-osc ]; + testTarget = "vivid-sc-tests"; description = "Implementation of SuperCollider server specifications"; license = "GPL"; } diff --git a/cabal2nix/test/golden-test-cases/vty.nix.golden b/cabal2nix/test/golden-test-cases/vty.nix.golden index fe16cf555..ef1839ef9 100644 --- a/cabal2nix/test/golden-test-cases/vty.nix.golden +++ b/cabal2nix/test/golden-test-cases/vty.nix.golden @@ -27,6 +27,7 @@ mkDerivation { test-framework-hunit test-framework-smallcheck text unix utf8-string vector ]; + testTarget = "verify-attribute-ops verify-using-mock-terminal verify-terminal verify-display-attributes verify-empty-image-props verify-eval-terminfo-caps verify-image-ops verify-image-trans verify-inline verify-parse-terminfo-caps verify-simple-span-generation verify-crop-span-generation verify-layers-span-generation verify-utf8-width verify-using-mock-input verify-config"; homepage = "https://github.com/jtdaugherty/vty"; description = "A simple terminal UI library"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/wai-cors.nix.golden b/cabal2nix/test/golden-test-cases/wai-cors.nix.golden index 3346ce034..26a1c2443 100644 --- a/cabal2nix/test/golden-test-cases/wai-cors.nix.golden +++ b/cabal2nix/test/golden-test-cases/wai-cors.nix.golden @@ -17,6 +17,7 @@ mkDerivation { process tasty tasty-hunit text wai wai-extra wai-websockets warp websockets ]; + testTarget = "phantomjs unit-tests"; homepage = "https://github.com/larskuhtz/wai-cors"; description = "CORS for WAI"; license = lib.licenses.mit; diff --git a/cabal2nix/test/golden-test-cases/wai-middleware-caching-redis.nix.golden b/cabal2nix/test/golden-test-cases/wai-middleware-caching-redis.nix.golden index 125af440c..4272dbac7 100644 --- a/cabal2nix/test/golden-test-cases/wai-middleware-caching-redis.nix.golden +++ b/cabal2nix/test/golden-test-cases/wai-middleware-caching-redis.nix.golden @@ -10,6 +10,7 @@ mkDerivation { wai-middleware-caching ]; testHaskellDepends = [ base ]; + testTarget = "wai-middleware-caching-redis-test"; homepage = "http://github.com/yogsototh/wai-middleware-caching/tree/master/wai-middleware-caching-redis#readme"; description = "Cache Wai Middleware using Redis backend"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/wai-middleware-prometheus.nix.golden b/cabal2nix/test/golden-test-cases/wai-middleware-prometheus.nix.golden index 4f2b2db65..acb27f9d7 100644 --- a/cabal2nix/test/golden-test-cases/wai-middleware-prometheus.nix.golden +++ b/cabal2nix/test/golden-test-cases/wai-middleware-prometheus.nix.golden @@ -10,6 +10,7 @@ mkDerivation { text wai ]; testHaskellDepends = [ base doctest prometheus-client ]; + testTarget = "doctest"; homepage = "https://github.com/fimad/prometheus-haskell"; description = "WAI middlware for exposing http://prometheus.io metrics."; license = lib.licenses.asl20; diff --git a/cabal2nix/test/golden-test-cases/warp.nix.golden b/cabal2nix/test/golden-test-cases/warp.nix.golden index 194eb0286..82d0cd04c 100644 --- a/cabal2nix/test/golden-test-cases/warp.nix.golden +++ b/cabal2nix/test/golden-test-cases/warp.nix.golden @@ -28,6 +28,7 @@ mkDerivation { auto-update base bytestring containers criterion hashable http-date http-types network unix unix-compat ]; + testTarget = "doctest spec"; homepage = "http://github.com/yesodweb/wai"; description = "A fast, light-weight web server for WAI applications"; license = lib.licenses.mit; diff --git a/cabal2nix/test/golden-test-cases/weigh.nix.golden b/cabal2nix/test/golden-test-cases/weigh.nix.golden index 0850c3013..2b0af6b69 100644 --- a/cabal2nix/test/golden-test-cases/weigh.nix.golden +++ b/cabal2nix/test/golden-test-cases/weigh.nix.golden @@ -9,6 +9,7 @@ mkDerivation { base deepseq mtl process split template-haskell temporary ]; testHaskellDepends = [ base deepseq ]; + testTarget = "weigh-test weigh-maps"; homepage = "https://github.com/fpco/weigh#readme"; description = "Measure allocations of a Haskell functions/values"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/xml-hamlet.nix.golden b/cabal2nix/test/golden-test-cases/xml-hamlet.nix.golden index b5f0b5369..0fbc84a88 100644 --- a/cabal2nix/test/golden-test-cases/xml-hamlet.nix.golden +++ b/cabal2nix/test/golden-test-cases/xml-hamlet.nix.golden @@ -13,6 +13,7 @@ mkDerivation { base containers hspec HUnit parsec shakespeare template-haskell text xml-conduit ]; + testTarget = "test"; homepage = "http://www.yesodweb.com/"; description = "Hamlet-style quasiquoter for XML content"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/yahoo-finance-api.nix.golden b/cabal2nix/test/golden-test-cases/yahoo-finance-api.nix.golden index c0036a259..bd724b3b2 100644 --- a/cabal2nix/test/golden-test-cases/yahoo-finance-api.nix.golden +++ b/cabal2nix/test/golden-test-cases/yahoo-finance-api.nix.golden @@ -14,6 +14,7 @@ mkDerivation { base doctest either Glob hspec http-client http-client-tls mtl safe servant servant-client ]; + testTarget = "yahoo-finance-api-test yahoo-finance-api-doctest"; homepage = "https://github.com/cdepillabout/yahoo-finance-api"; description = "Read quotes from Yahoo Finance API"; license = lib.licenses.bsd3; diff --git a/cabal2nix/test/golden-test-cases/zlib.nix.golden b/cabal2nix/test/golden-test-cases/zlib.nix.golden index 4e7b4a0ec..e7a719372 100644 --- a/cabal2nix/test/golden-test-cases/zlib.nix.golden +++ b/cabal2nix/test/golden-test-cases/zlib.nix.golden @@ -10,6 +10,7 @@ mkDerivation { testHaskellDepends = [ base bytestring QuickCheck tasty tasty-hunit tasty-quickcheck ]; + testTarget = "tests"; description = "Compression and decompression in the gzip and zlib formats"; license = lib.licenses.bsd3; }