git.iko.soy/typeable/cabal2nix
on master help sign in
Add regression tests.
7c22fdfPeter Simons
cabal2nix.cabal+19−1
@@ -83,7 +83,9 @@ description:
83 > nix-env -i cabal2nix
83 > nix-env -i cabal2nix
84
84
85extra-source-files:
85extra-source-files:
86− README.md
86+ README.md
87+ test/golden-test-cases/*.cabal
88+ test/golden-test-cases/*.nix.golden
87
89
88source-repository head
90source-repository head
89 type: git
91 type: git
@@ -173,3 +175,19 @@ executable hackage2nix
173 Paths_cabal2nix
175 Paths_cabal2nix
174 HackageGit
176 HackageGit
175 default-language: Haskell2010
177 default-language: Haskell2010
178+
179+test-suite regression-test
180+ type: exitcode-stdio-1.0
181+ main-is: Main.hs
182+ hs-source-dirs: test
183+ build-depends: base
184+ , Cabal > 2
185+ , cabal2nix
186+ , filepath
187+ , language-nix
188+ , lens
189+ , pretty
190+ , tasty
191+ , tasty-golden
192+ ghc-options: -Wall
193+ default-language: Haskell2010
test/Main.hsnew file+50
@@ -0,0 +1,50 @@
1+module Main ( main ) where
2+
3+import Distribution.Nixpkgs.Haskell.FromCabal
4+import Distribution.Nixpkgs.Haskell.Derivation
5+import Distribution.Nixpkgs.Fetch
6+
7+import Control.Lens
8+import Distribution.Compiler
9+import Distribution.PackageDescription
10+import Distribution.PackageDescription.Parse
11+import Distribution.System
12+import Distribution.Verbosity
13+import Distribution.Version
14+import Language.Nix
15+import System.FilePath
16+import Test.Tasty
17+import Test.Tasty.Golden
18+import Text.PrettyPrint.HughesPJClass
19+
20+main :: IO ()
21+main = do
22+ testCases <- findByExtension [".cabal"] "test/golden-test-cases"
23+ defaultMain $ testGroup "regression-tests" (map regressionTest testCases)
24+
25+regressionTest :: String -> TestTree
26+regressionTest cabalFile = do
27+ let nixFile = cabalFile `replaceExtension` "nix"
28+ goldenFile = nixFile `addExtension` "golden"
29+
30+ cabal2nix :: GenericPackageDescription -> Derivation
31+ cabal2nix gpd = fromGenericPackageDescription
32+ (const True)
33+ (\i -> Just (binding # (i, path # [i])))
34+ (Platform X86_64 Linux)
35+ (unknownCompilerInfo (CompilerId GHC (mkVersion [8,2])) NoAbiTag)
36+ []
37+ []
38+ gpd
39+ & src .~ DerivationSource
40+ { derivKind = "url"
41+ , derivUrl = "http://example.org/"
42+ , derivRevision = ""
43+ , derivHash = "abc"
44+ }
45+ goldenVsFileDiff
46+ nixFile
47+ (\ref new -> ["diff", "-u", ref, new])
48+ goldenFile
49+ nixFile
50+ (readGenericPackageDescription silent cabalFile >>= writeFile nixFile . prettyShow . cabal2nix)
test/golden-test-cases/.gitignorenew file+1
@@ -0,0 +1 @@
1+/*.nix
test/golden-test-cases/ChasingBottoms.cabalnew file+185
@@ -0,0 +1,185 @@
1+name: ChasingBottoms
2+version: 1.3.1.3
3+license: MIT
4+license-file: LICENCE
5+copyright: Copyright (c) Nils Anders Danielsson 2004-2017.
6+author: Nils Anders Danielsson
7+maintainer: http://www.cse.chalmers.se/~nad/
8+synopsis: For testing partial and infinite values.
9+description:
10+ Do you ever feel the need to test code involving bottoms (e.g. calls to
11+ the @error@ function), or code involving infinite values? Then this
12+ library could be useful for you.
13+ .
14+ It is usually easy to get a grip on bottoms by showing a value and
15+ waiting to see how much gets printed before the first exception is
16+ encountered. However, that quickly gets tiresome and is hard to automate
17+ using e.g. QuickCheck
18+ (<http://www.cse.chalmers.se/~rjmh/QuickCheck/>). With this library you
19+ can do the tests as simply as the following examples show.
20+ .
21+ Testing explicitly for bottoms:
22+ .
23+ > > isBottom (head [])
24+ > True
25+ .
26+ > > isBottom bottom
27+ > True
28+ .
29+ > > isBottom (\_ -> bottom)
30+ > False
31+ .
32+ > > isBottom (bottom, bottom)
33+ > False
34+ .
35+ Comparing finite, partial values:
36+ .
37+ > > ((bottom, 3) :: (Bool, Int)) ==! (bottom, 2+5-4)
38+ > True
39+ .
40+ > > ((bottom, bottom) :: (Bool, Int)) <! (bottom, 8)
41+ > True
42+ .
43+ Showing partial and infinite values (@\\\/!@ is join and @\/\\!@ is meet):
44+ .
45+ > > approxShow 4 $ (True, bottom) \/! (bottom, 'b')
46+ > "Just (True, 'b')"
47+ .
48+ > > approxShow 4 $ (True, bottom) /\! (bottom, 'b')
49+ > "(_|_, _|_)"
50+ .
51+ > > approxShow 4 $ ([1..] :: [Int])
52+ > "[1, 2, 3, _"
53+ .
54+ > > approxShow 4 $ (cycle [bottom] :: [Bool])
55+ > "[_|_, _|_, _|_, _"
56+ .
57+ Approximately comparing infinite, partial values:
58+ .
59+ > > approx 100 [2,4..] ==! approx 100 (filter even [1..] :: [Int])
60+ > True
61+ .
62+ > > approx 100 [2,4..] /=! approx 100 (filter even [bottom..] :: [Int])
63+ > True
64+ .
65+ The code above relies on the fact that @bottom@, just as @error
66+ \"...\"@, @undefined@ and pattern match failures, yield
67+ exceptions. Sometimes we are dealing with properly non-terminating
68+ computations, such as the following example, and then it can be nice to
69+ be able to apply a time-out:
70+ .
71+ > > timeOut' 1 (reverse [1..5])
72+ > Value [5,4,3,2,1]
73+ .
74+ > > timeOut' 1 (reverse [1..])
75+ > NonTermination
76+ .
77+ The time-out functionality can be used to treat \"slow\" computations as
78+ bottoms:
79+ .
80+ @
81+ \> let tweak = Tweak &#x7b; approxDepth = Just 5, timeOutLimit = Just 2 &#x7d;
82+ \> semanticEq tweak (reverse [1..], [1..]) (bottom :: [Int], [1..] :: [Int])
83+ True
84+ @
85+ .
86+ @
87+ \> let tweak = noTweak &#x7b; timeOutLimit = Just 2 &#x7d;
88+ \> semanticJoin tweak (reverse [1..], True) ([] :: [Int], bottom)
89+ Just ([],True)
90+ @
91+ .
92+ This can of course be dangerous:
93+ .
94+ @
95+ \> let tweak = noTweak &#x7b; timeOutLimit = Just 0 &#x7d;
96+ \> semanticEq tweak (reverse [1..100000000]) (bottom :: [Integer])
97+ True
98+ @
99+ .
100+ Timeouts can also be applied to @IO@ computations:
101+ .
102+ > > let primes () = unfoldr (\(x:xs) -> Just (x, filter ((/= 0) . (`mod` x)) xs)) [2..]
103+ > > timeOutMicro 100 (print $ primes ())
104+ > [2,NonTermination
105+ > > timeOutMicro 10000 (print $ take 10 $ primes ())
106+ > [2,3,5,7,11,13,17,19,23,29]
107+ > Value ()
108+ .
109+ For the underlying theory and a larger example involving use of
110+ QuickCheck, see the article \"Chasing Bottoms, A Case Study in Program
111+ Verification in the Presence of Partial and Infinite Values\"
112+ (<http://www.cse.chalmers.se/~nad/publications/danielsson-jansson-mpc2004.html>).
113+ .
114+ The code has been tested using GHC. Most parts can probably be
115+ ported to other Haskell compilers, but this would require some work.
116+ The @TimeOut@ functions require preemptive scheduling, and most of
117+ the rest requires @Data.Generics@; @isBottom@ only requires
118+ exceptions, though.
119+category: Testing
120+tested-with: GHC == 6.12.3,
121+ GHC == 7.0.4,
122+ GHC == 7.4.2,
123+ GHC == 7.6.3,
124+ GHC == 7.8.4,
125+ GHC == 7.10.3,
126+ GHC == 8.0.2,
127+ GHC == 8.2.1
128+cabal-version: >= 1.9.2
129+build-type: Simple
130+
131+source-repository head
132+ type: darcs
133+ location: http://www.cse.chalmers.se/~nad/repos/ChasingBottoms/
134+
135+library
136+ exposed-modules:
137+ Test.ChasingBottoms,
138+ Test.ChasingBottoms.Approx,
139+ Test.ChasingBottoms.ApproxShow,
140+ Test.ChasingBottoms.ContinuousFunctions,
141+ Test.ChasingBottoms.IsBottom,
142+ Test.ChasingBottoms.Nat,
143+ Test.ChasingBottoms.SemanticOrd,
144+ Test.ChasingBottoms.TimeOut
145+
146+ other-modules: Test.ChasingBottoms.IsType
147+
148+ build-depends: QuickCheck >= 2.3 && < 2.11,
149+ mtl >= 2 && < 2.3,
150+ base >= 4.2 && < 4.11,
151+ containers >= 0.3 && < 0.6,
152+ random >= 1.0 && < 1.2,
153+ syb >= 0.1.0.2 && < 0.8
154+
155+test-suite ChasingBottomsTestSuite
156+ type: exitcode-stdio-1.0
157+
158+ main-is: Test/ChasingBottoms/Tests.hs
159+
160+ other-modules: Test.ChasingBottoms.Approx,
161+ Test.ChasingBottoms.Approx.Tests,
162+ Test.ChasingBottoms.ApproxShow,
163+ Test.ChasingBottoms.ApproxShow.Tests,
164+ Test.ChasingBottoms.ContinuousFunctions,
165+ Test.ChasingBottoms.ContinuousFunctions.Tests,
166+ Test.ChasingBottoms.IsBottom,
167+ Test.ChasingBottoms.IsBottom.Tests,
168+ Test.ChasingBottoms.IsType,
169+ Test.ChasingBottoms.IsType.Tests,
170+ Test.ChasingBottoms.Nat,
171+ Test.ChasingBottoms.Nat.Tests,
172+ Test.ChasingBottoms.SemanticOrd,
173+ Test.ChasingBottoms.SemanticOrd.Tests,
174+ Test.ChasingBottoms.TestUtilities,
175+ Test.ChasingBottoms.TestUtilities.Generators,
176+ Test.ChasingBottoms.TimeOut
177+ Test.ChasingBottoms.TimeOut.Tests
178+
179+ build-depends: QuickCheck >= 2.3 && < 2.11,
180+ mtl >= 2 && < 2.3,
181+ base >= 4.2 && < 4.11,
182+ containers >= 0.3 && < 0.6,
183+ random >= 1.0 && < 1.2,
184+ syb >= 0.1.0.2 && < 0.8,
185+ array >= 0.3 && < 0.6
test/golden-test-cases/ChasingBottoms.nix.goldennew file+19
@@ -0,0 +1,19 @@
1+{ mkDerivation, array, base, containers, fetchurl, mtl, QuickCheck
2+, random, syb
3+}:
4+mkDerivation {
5+ pname = "ChasingBottoms";
6+ version = "1.3.1.3";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [
12+ base containers mtl QuickCheck random syb
13+ ];
14+ testHaskellDepends = [
15+ array base containers mtl QuickCheck random syb
16+ ];
17+ description = "For testing partial and infinite values";
18+ license = stdenv.lib.licenses.mit;
19+}
test/golden-test-cases/Clipboard.cabalnew file+55
@@ -0,0 +1,55 @@
1+Name: Clipboard
2+Version: 2.3.2.0
3+Author: Sævar Berg (Windows), Matthew Bekkema (X11), Daniel Díaz (Maintainer)
4+Homepage: http://haskell.org/haskellwiki/Clipboard
5+License: BSD3
6+License-file: license
7+Maintainer: dhelta.diaz `at` gmail.com
8+Category: System
9+Stability: Stable
10+Synopsis: System clipboard interface.
11+Bug-reports: https://github.com/Daniel-Diaz/Clipboard/issues
12+Description:
13+ /Clipboard/ is a library for easily interfacing with the system clipboard with additional unicode support.
14+ Currently, only in a Windows or GNU/Linux (X11) system.
15+ .
16+ For example, if you type:
17+ .
18+ > $ setClipboardString "Hello, World!"
19+ .
20+ Then you have @\"Hello, World!\"@ available to be pasted wherever you want.
21+ .
22+ Now, if you type:
23+ .
24+ > $ modifyClipboardString reverse
25+ .
26+ You will have @\"!dlroW ,olleH\"@ in your clipboard. So:
27+ .
28+ > $ getClipboardString
29+ > "!dlroW ,olleH"
30+ .
31+ The X11 version depends on the @X11@ package, so you will need the X11 development library
32+ available on your system at compile time. You can install it by @sudo apt-get install libxrandr-dev@
33+ (or the equivalent on your system).
34+Build-type: Simple
35+Cabal-version: >= 1.6
36+Extra-source-files: README.md
37+
38+Source-repository head
39+ type: git
40+ location: git://github.com/Daniel-Diaz/Clipboard.git
41+
42+Library
43+ Exposed-modules: System.Clipboard
44+ Extensions: CPP
45+ if os(windows)
46+ Build-depends: base == 4.*
47+ , Win32 >= 2.2.0.0 && < 2.4
48+ Other-modules: System.Clipboard.Windows
49+ else
50+ Build-depends: base == 4.*
51+ , X11 >= 1.6
52+ , utf8-string
53+ , unix
54+ , directory
55+ Other-modules: System.Clipboard.X11
test/golden-test-cases/Clipboard.nix.goldennew file+14
@@ -0,0 +1,14 @@
1+{ mkDerivation, base, directory, fetchurl, unix, utf8-string, X11
2+}:
3+mkDerivation {
4+ pname = "Clipboard";
5+ version = "2.3.2.0";
6+ src = fetchurl {
7+ url = "http://example.org/";
8+ sha256 = "abc";
9+ };
10+ libraryHaskellDepends = [ base directory unix utf8-string X11 ];
11+ homepage = "http://haskell.org/haskellwiki/Clipboard";
12+ description = "System clipboard interface";
13+ license = stdenv.lib.licenses.bsd3;
14+}
test/golden-test-cases/FenwickTree.cabalnew file+41
@@ -0,0 +1,41 @@
1+name: FenwickTree
2+version: 0.1.2.1
3+stability: alpha
4+homepage: https://github.com/mgajda/FenwickTree
5+package-url: http://hackage.haskell.org/package/FenwickTree
6+synopsis: Data structure for fast query and update of cumulative sums
7+description: Fenwick trees are a O(log N) data structure for updating cumulative sums.
8+ This implementation comes with an operation to find a least element for
9+ which real-valued cumulative sum reaches certain value, and allows for
10+ storage of arbitrary information in the nodes.
11+category: Data Structures
12+license: BSD3
13+license-file: LICENSE
14+
15+author: Michal J. Gajda
16+copyright: Copyright by Michal J. Gajda '2013
17+maintainer: mjgajda@googlemail.com
18+bug-reports: mailto:mjgajda@googlemail.com
19+
20+build-type: Simple
21+cabal-version: >=1.8
22+tested-with: GHC==7.8.4
23+data-files: README.md changelog
24+
25+source-repository head
26+ type: git
27+ location: git://github.com:mgajda/FenwickTree.git
28+
29+Library
30+ ghc-options: -fspec-constr-count=4 -O3
31+ build-depends: base>=4.0, base <5, template-haskell, QuickCheck >= 2.5.0.0
32+ other-extensions: ScopedTypeVariables
33+ exposed-modules: Data.Tree.Fenwick
34+ exposed: True
35+
36+Test-suite test_FenwickTree
37+ Type: exitcode-stdio-1.0
38+ main-is: tests/test_Fenwick.hs
39+ ghc-options: -fspec-constr-count=4 -O3
40+ Build-depends: base>=4.0, base <5, template-haskell, QuickCheck >= 2.5.0.0
41+
test/golden-test-cases/FenwickTree.nix.goldennew file+15
@@ -0,0 +1,15 @@
1+{ mkDerivation, base, fetchurl, QuickCheck, template-haskell }:
2+mkDerivation {
3+ pname = "FenwickTree";
4+ version = "0.1.2.1";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ enableSeparateDataOutput = true;
10+ libraryHaskellDepends = [ base QuickCheck template-haskell ];
11+ testHaskellDepends = [ base QuickCheck template-haskell ];
12+ homepage = "https://github.com/mgajda/FenwickTree";
13+ description = "Data structure for fast query and update of cumulative sums";
14+ license = stdenv.lib.licenses.bsd3;
15+}
test/golden-test-cases/GPipe-GLFW.cabalnew file+51
@@ -0,0 +1,51 @@
1+name: GPipe-GLFW
2+version: 1.4.1.1
3+cabal-version: >=1.10
4+build-type: Simple
5+author: Patrick Redmond
6+license: MIT
7+license-file: LICENSE
8+copyright: Patrick Redmond
9+category: Graphics
10+stability: Experimental
11+homepage: https://github.com/plredmond/GPipe-GLFW
12+synopsis: GLFW OpenGL context creation for GPipe
13+description:
14+ GPipe-GLFW is a utility library to enable the use of GLFW as
15+ the OpenGL window and context handler for GPipe. GPipe is a
16+ typesafe functional API based on the conceptual model of
17+ OpenGL.
18+maintainer: Patrick Redmond
19+data-files: CHANGELOG.md
20+
21+library
22+ hs-source-dirs: src
23+ build-depends: base >= 4.7 && <4.11
24+ , stm >= 2.4 && <2.5
25+ , containers >= 0.5 && <0.6
26+ , async >= 2.1 && <2.3
27+ , GLFW-b >= 1.4 && <1.5
28+ , GPipe >= 2.2 && <2.3
29+ ghc-options: -Wall -Wno-orphans
30+ default-language: Haskell2010
31+ exposed-modules: Graphics.GPipe.Context.GLFW
32+ Graphics.GPipe.Context.GLFW.Input
33+ Graphics.GPipe.Context.GLFW.Window
34+ Graphics.GPipe.Context.GLFW.Misc
35+ other-modules: Graphics.GPipe.Context.GLFW.Calls
36+ Graphics.GPipe.Context.GLFW.Resource
37+ Graphics.GPipe.Context.GLFW.Wrappers
38+ Graphics.GPipe.Context.GLFW.Format
39+ Graphics.GPipe.Context.GLFW.Handler
40+ Graphics.GPipe.Context.GLFW.RPC
41+
42+source-repository head
43+ type: git
44+ location: https://github.com/plredmond/GPipe-GLFW.git
45+ subdir: GPipe-GLFW
46+
47+source-repository this
48+ type: git
49+ location: https://github.com/plredmond/GPipe-GLFW.git
50+ subdir: GPipe-GLFW
51+ tag: v1.4.1.1
test/golden-test-cases/GPipe-GLFW.nix.goldennew file+16
@@ -0,0 +1,16 @@
1+{ mkDerivation, async, base, containers, fetchurl, GLFW-b, GPipe
2+, stm
3+}:
4+mkDerivation {
5+ pname = "GPipe-GLFW";
6+ version = "1.4.1.1";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ enableSeparateDataOutput = true;
12+ libraryHaskellDepends = [ async base containers GLFW-b GPipe stm ];
13+ homepage = "https://github.com/plredmond/GPipe-GLFW";
14+ description = "GLFW OpenGL context creation for GPipe";
15+ license = stdenv.lib.licenses.mit;
16+}
test/golden-test-cases/GenericPretty.cabalnew file+99
@@ -0,0 +1,99 @@
1+-- GenericPretty.cabal auto-generated by cabal init. For additional
2+-- options, see
3+-- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr.
4+-- The name of the package.
5+Name: GenericPretty
6+
7+-- The package version. See the Haskell package versioning policy
8+-- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for
9+-- standards guiding when and how versions should be incremented.
10+Version: 1.2.1
11+
12+-- A short (one-line) description of the package.
13+Synopsis: A generic, derivable, haskell pretty printer.
14+
15+-- A longer description of the package.
16+Description:
17+ GenericPretty is a Haskell library that supports automatic
18+ derivation of pretty printing functions on user defined data
19+ types.
20+ .
21+ The form of generics used is based on that introduced in the paper:
22+ Magalhaes, Dijkstra, Jeuring, and Loh,
23+ A Generic Deriving Mechanism for Haskell,
24+ 3'rd ACM Symposium on Haskell, pp. 37-48, September 2010,
25+ <http://dx.doi.org/10.1145/1863523.1863529>.
26+ Changes from the original paper in the GHC implementation
27+ are described here:
28+ <http://www.haskell.org/haskellwiki/GHC.Generics#Changes_from_the_paper>.
29+ .
30+ This package requires the use of the new GHC.Generics features
31+ <http://www.haskell.org/haskellwiki/GHC.Generics>, present from GHC 7.2.
32+ Use of these features is indicated by the DeriveGeneric pragma
33+ or the flag -XDeriveGeneric.
34+ .
35+ Pretty printing produces values of type Text.PrettyPrint.Doc, using
36+ the Text.PrettyPrint library
37+ <http://www.haskell.org/ghc/docs/latest/html/libraries/pretty-1.1.1.0/Text-PrettyPrint.html>.
38+ .
39+ The output provided is a pretty printed version of that provided by
40+ Prelude.show. That is, rendering the document provided by this pretty
41+ printer yields an output identical to that of Prelude.show, except
42+ for extra whitespace.
43+ .
44+ For information about the functions exported by the package please see
45+ the API linked further down this page.
46+
47+ For examples of usage, both basic and more complex see the README file and
48+ the haskell source code files in the TestSuite folder, both included in the package.
49+
50+ Finally for installation instructions also see the README file or this page:
51+ <http://www.haskell.org/haskellwiki/Cabal/How_to_install_a_Cabal_package>
52+
53+-- URL for the project homepage or repository.
54+Homepage: https://github.com/RazvanRanca/GenericPretty
55+
56+-- The license under which the package is released.
57+License: BSD3
58+
59+-- The file containing the license text.
60+License-file: LICENSE
61+
62+-- The package author(s).
63+Author: Razvan Ranca
64+
65+-- An email address to which users can send suggestions, bug reports,
66+-- and patches.
67+Maintainer: ranca.razvan@gmail.com
68+
69+-- A copyright notice.
70+-- Copyright:
71+
72+Category: Text, Generics, Pretty Printer
73+
74+Build-type: Simple
75+
76+-- Extra files to be distributed with the package, such as examples or
77+-- a README.
78+Extra-source-files: README TestSuite/SimpleTest.hs TestSuite/Tests.hs TestSuite/CustomTest.hs TestSuite/ZigZagTest.hs
79+
80+-- Constraint on the version of Cabal needed to build this package.
81+Cabal-version: >=1.6
82+
83+
84+Library
85+ -- Modules exported by the library.
86+ Exposed-modules: Text.PrettyPrint.GenericPretty
87+
88+ -- Packages needed in order to build this package.
89+ Build-depends: base >= 3 && < 5, ghc-prim, pretty
90+
91+ -- Modules not exported by this package.
92+ -- Other-modules:
93+
94+ -- Extra tools (e.g. alex, hsc2hs, ...) needed to build the source.
95+ -- Build-tools:
96+
97+source-repository head
98+ type: git
99+ location: git@github.com:RazvanRanca/GenericPretty.git
test/golden-test-cases/GenericPretty.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, fetchurl, ghc-prim, pretty }:
2+mkDerivation {
3+ pname = "GenericPretty";
4+ version = "1.2.1";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base ghc-prim pretty ];
10+ homepage = "https://github.com/RazvanRanca/GenericPretty";
11+ description = "A generic, derivable, haskell pretty printer";
12+ license = stdenv.lib.licenses.bsd3;
13+}
test/golden-test-cases/HPDF.cabalnew file+97
@@ -0,0 +1,97 @@
1+Name: HPDF
2+Version: 1.4.10
3+cabal-version: >=1.10
4+License: BSD3
5+License-file:LICENSE
6+Copyright: Copyright (c) 2007-2016, alpheccar.org
7+category: Graphics
8+synopsis: Generation of PDF documents
9+maintainer: misc@NOSPAMalpheccar.org
10+build-type: Simple
11+tested-with: GHC==7.8.4,GHC==7.10.2
12+homepage: http://www.alpheccar.org
13+description: A PDF library with support for several pages, page transitions, outlines, annotations, compression, colors, shapes, patterns, jpegs, fonts, typesetting ... Have a look at the "Graphics.PDF.Documentation" module to see how to use it. Or, download the package and look at the test.hs file in the Test folder. That file is giving an example of each feature.
14+extra-source-files:
15+ c/ctext.h
16+ c/metrics.h
17+ c/conversion.h
18+ Test/AFMParser.hs
19+ Test/logo.jpg
20+ Test/Makefile
21+ Test/Penrose.hs
22+ Test/test.hs
23+ README.txt
24+ NEWS.txt
25+ TODO.txt
26+ changelog.md
27+
28+source-repository head
29+ type: git
30+ location: https://github.com/alpheccar/HPDF.git
31+
32+Test-Suite HPDF-Tests
33+ Type: exitcode-stdio-1.0
34+ Main-is: HPDF-tests.hs
35+ hs-source-dirs: Test
36+ Build-depends: base >= 4,
37+ HTF >= 0.10,
38+ HPDF
39+ Default-language: Haskell2010
40+
41+library
42+ build-depends:
43+ base >= 4 && < 5,
44+ containers,
45+ random >= 1.0,
46+ bytestring >= 0.9,
47+ array >= 0.1,
48+ zlib >= 0.5,
49+ binary >= 0.4,
50+ mtl,
51+ vector >=0.10,
52+ errors,
53+ base64-bytestring >= 0.1
54+ Default-language: Haskell2010
55+
56+ ghc-options: -Wall -fno-warn-tabs -funbox-strict-fields -O2
57+
58+ C-Sources:
59+ c/metrics.c
60+ c/conversion.c
61+ Include-Dirs: c
62+ Install-Includes:
63+ ctext.h
64+ conversion.h
65+ exposed-Modules:
66+ Graphics.PDF
67+ Graphics.PDF.Colors
68+ Graphics.PDF.Coordinates
69+ Graphics.PDF.Document
70+ Graphics.PDF.Shapes
71+ Graphics.PDF.Text
72+ Graphics.PDF.Navigation
73+ Graphics.PDF.Image
74+ Graphics.PDF.Action
75+ Graphics.PDF.Annotation
76+ Graphics.PDF.Pattern
77+ Graphics.PDF.Shading
78+ Graphics.PDF.Typesetting
79+ Graphics.PDF.Hyphenate
80+ Graphics.PDF.Documentation
81+ Other-Modules:
82+ Graphics.PDF.LowLevel.Types
83+ Graphics.PDF.Data.PDFTree
84+ Graphics.PDF.Data.Trie
85+ Graphics.PDF.Pages
86+ Graphics.PDF.Resources
87+ Graphics.PDF.Draw
88+ Graphics.PDF.Hyphenate.English
89+ Graphics.PDF.Hyphenate.LowLevel
90+ Graphics.PDF.LowLevel.Kern
91+ Graphics.PDF.Typesetting.Breaking
92+ Graphics.PDF.Typesetting.Horizontal
93+ Graphics.PDF.Typesetting.Vertical
94+ Graphics.PDF.Typesetting.Box
95+ Graphics.PDF.Typesetting.Layout
96+ Graphics.PDF.LowLevel.Serializer
97+ Graphics.PDF.Typesetting.StandardStyle
test/golden-test-cases/HPDF.nix.goldennew file+19
@@ -0,0 +1,19 @@
1+{ mkDerivation, array, base, base64-bytestring, binary, bytestring
2+, containers, errors, fetchurl, HTF, mtl, random, vector, zlib
3+}:
4+mkDerivation {
5+ pname = "HPDF";
6+ version = "1.4.10";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [
12+ array base base64-bytestring binary bytestring containers errors
13+ mtl random vector zlib
14+ ];
15+ testHaskellDepends = [ base HTF ];
16+ homepage = "http://www.alpheccar.org";
17+ description = "Generation of PDF documents";
18+ license = stdenv.lib.licenses.bsd3;
19+}
test/golden-test-cases/HTF.cabalnew file+197
@@ -0,0 +1,197 @@
1+Name: HTF
2+Version: 0.13.2.2
3+License: LGPL
4+License-File: LICENSE
5+Copyright: (c) 2005-2015 Stefan Wehr
6+Author: Stefan Wehr <wehr@factisresearch.com>
7+Maintainer: Stefan Wehr <wehr@factisresearch.com>
8+Stability: Beta
9+Category: Testing
10+Synopsis: The Haskell Test Framework
11+Homepage: https://github.com/skogsbaer/HTF/
12+Bug-Reports: https://github.com/skogsbaer/HTF/issues
13+Description:
14+
15+ The Haskell Test Framework (/HTF/ for short) lets you define unit
16+ tests (<http://hunit.sourceforge.net>), QuickCheck properties
17+ (<http://www.cs.chalmers.se/~rjmh/QuickCheck/>), and black box
18+ tests in an easy and convenient way. HTF uses a custom
19+ preprocessor that collects test definitions automatically.
20+ Furthermore, the preprocessor allows HTF to report failing
21+ test cases with exact file name and line number information.
22+ Additionally, HTF tries to produce highly readable output
23+ for failing tests: for example, it colors and pretty prints expected and
24+ actual results and provides a diff between the two values.
25+
26+ .
27+
28+ The documentation of the "Test.Framework.Tutorial" module
29+ provides a tutorial for HTF. There is also a slightly out-dated
30+ blog article (<http://factisresearch.blogspot.de/2011/10/new-version-of-htf-with-diffs-colors.html>)
31+ demonstrating HTF's coloring, pretty-printing and diff functionality.
32+
33+Build-Type: Simple
34+Cabal-Version: >= 1.10
35+Extra-Source-Files:
36+ README.md
37+ TODO.org
38+ ChangeLog
39+ tests/bbt/should_fail/BBTArgs
40+ tests/bbt/should_fail/*.err
41+ tests/bbt/should_fail/*.out
42+ tests/bbt/should_fail/*.x
43+ tests/bbt/should_pass/*.in
44+ tests/bbt/should_pass/*.err
45+ tests/bbt/should_pass/*.out
46+ tests/bbt/should_pass/*.x
47+ tests/bbt/Skip/BBTArgs
48+ tests/bbt/Skip/some_unknown_but_skipped_file.x
49+ tests/bbt/Verbose/BBTArgs
50+ tests/bbt/Verbose/not_ok_because_stdout1.out
51+ tests/bbt/Verbose/not_ok_because_stdout1.x
52+ tests/Foo/test.h
53+ tests/Tutorial.hs
54+ tests/run-bbt.sh
55+ tests/compile-errors/Foo.h
56+ tests/compile-errors/run-tests.sh
57+ tests/compile-errors/Test1.hs
58+ tests/compile-errors/Test2.hs
59+ tests/compile-errors/Test3.hs
60+ tests/compile-errors/Test4.hs
61+ sample/LICENSE
62+ sample/Main.hs
63+ sample/MyPkg/A.hs
64+ sample/MyPkg/B.hs
65+ sample/README
66+ sample/sample-HTF.cabal
67+ sample/Setup.hs
68+ sample/TestMain.hs
69+ sample/bbt-dir/should-fail/BBTArgs
70+ sample/bbt-dir/should-fail/z.err
71+ sample/bbt-dir/should-fail/z.num
72+ sample/bbt-dir/should-pass/x.num
73+ sample/bbt-dir/should-pass/x.out
74+ scripts/local-htfpp
75+ scripts/run-sample
76+
77+Source-Repository head
78+ Type: git
79+ Location: http://github.com/skogsbaer/HTF.git
80+
81+Executable htfpp
82+ Main-Is: HTFPP.hs
83+ Build-Depends: HUnit,
84+ array,
85+ base == 4.*,
86+ cpphs >= 1.19,
87+ directory >= 1.0,
88+ mtl >= 1.1,
89+ old-time >= 1.0,
90+ random >= 1.0,
91+ text,
92+ HTF
93+ Other-Modules:
94+ Paths_HTF
95+ Test.Framework.Location
96+ Test.Framework.Preprocessor
97+ Default-language: Haskell2010
98+
99+Library
100+ Build-Depends: Diff >= 0.3,
101+ HUnit >= 1.2.5,
102+ QuickCheck >= 2.3,
103+ aeson < 0.10 || >= 0.11,
104+ array,
105+ base == 4.*,
106+ base64-bytestring,
107+ bytestring >= 0.9,
108+ containers >= 0.5,
109+ cpphs >= 1.19,
110+ haskell-src,
111+ directory >= 1.0,
112+ lifted-base >= 0.1,
113+ monad-control >= 0.3,
114+ mtl >= 1.1,
115+ old-time >= 1.0,
116+ pretty >= 1.0,
117+ process >= 1.0,
118+ random >= 1.0,
119+ regex-compat >= 0.92,
120+ text >= 0.11,
121+ time,
122+ vector,
123+ xmlgen >= 0.6
124+ if !os(windows)
125+ Build-Depends: unix >= 2.4
126+ Exposed-Modules:
127+ Test.Framework
128+ Test.Framework.HUnitWrapper
129+ Test.Framework.TestManager
130+ Test.Framework.TestInterface
131+ Test.Framework.TestTypes
132+ Test.Framework.TestReporter
133+ Test.Framework.History
134+ Test.Framework.CmdlineOptions
135+ Test.Framework.QuickCheckWrapper
136+ Test.Framework.BlackBoxTest
137+ Test.Framework.Location
138+ Test.Framework.Tutorial
139+ Test.Framework.Pretty
140+ Test.Framework.JsonOutput
141+ Test.Framework.XmlOutput
142+ Test.Framework.ThreadPool
143+ Test.Framework.AssertM
144+ Test.Framework.Colors
145+ Test.Framework.PrettyHaskell
146+ Test.Framework.Preprocessor
147+ Other-Modules:
148+ Test.Framework.Utils
149+ Test.Framework.Diff
150+ Test.Framework.Process
151+ Default-language: Haskell2010
152+ Ghc-Options: -W -fwarn-unused-imports -fwarn-unused-binds -fwarn-unused-matches -fwarn-unused-do-bind -fwarn-wrong-do-bind
153+
154+Test-Suite MiscTests
155+ Main-is: MiscTest.hs
156+ Type: exitcode-stdio-1.0
157+ Hs-Source-Dirs: tests
158+ Build-depends: HTF,
159+ HUnit,
160+ base == 4.*,
161+ mtl,
162+ random
163+ Default-language: Haskell2010
164+
165+Test-Suite TestHTF
166+ Main-is: TestHTF.hs
167+ Hs-Source-Dirs: tests, tests/real-bbt
168+ Type: exitcode-stdio-1.0
169+ Build-depends: HTF,
170+ aeson >= 0.6,
171+ aeson-pretty,
172+ base == 4.*,
173+ bytestring >= 0.9,
174+ directory >= 1.0,
175+ filepath >= 1.1,
176+ process >= 1.0,
177+ random,
178+ regex-compat >= 0.92,
179+ template-haskell,
180+ temporary >= 1.1,
181+ text >= 0.11,
182+ unordered-containers >= 0.2
183+ Default-language: Haskell2010
184+ Other-Modules:
185+ Foo.A, Foo.B, TestHTFHunitBackwardsCompatible, FailFast, MaxCurTime,
186+ MaxPrevTime, PrevFactor, SortByPrevTime, UniqTests1, UniqTests2, Quasi,
187+ Tutorial, Repeat
188+
189+Test-Suite TestThreadPools
190+ Main-is: ThreadPoolTest.hs
191+ Type: exitcode-stdio-1.0
192+ Hs-Source-Dirs: tests
193+ Build-depends: HTF,
194+ base == 4.*,
195+ mtl,
196+ random
197+ Default-language: Haskell2010
test/golden-test-cases/HTF.nix.goldennew file+34
@@ -0,0 +1,34 @@
1+{ mkDerivation, aeson, aeson-pretty, array, base, base64-bytestring
2+, bytestring, containers, cpphs, Diff, directory, fetchurl
3+, filepath, haskell-src, HUnit, lifted-base, monad-control, mtl
4+, old-time, pretty, process, QuickCheck, random, regex-compat
5+, template-haskell, temporary, text, time, unix
6+, unordered-containers, vector, xmlgen
7+}:
8+mkDerivation {
9+ pname = "HTF";
10+ version = "0.13.2.2";
11+ src = fetchurl {
12+ url = "http://example.org/";
13+ sha256 = "abc";
14+ };
15+ isLibrary = true;
16+ isExecutable = true;
17+ libraryHaskellDepends = [
18+ aeson array base base64-bytestring bytestring containers cpphs Diff
19+ directory haskell-src HUnit lifted-base monad-control mtl old-time
20+ pretty process QuickCheck random regex-compat text time unix vector
21+ xmlgen
22+ ];
23+ executableHaskellDepends = [
24+ array base cpphs directory HUnit mtl old-time random text
25+ ];
26+ testHaskellDepends = [
27+ aeson aeson-pretty base bytestring directory filepath HUnit mtl
28+ process random regex-compat template-haskell temporary text
29+ unordered-containers
30+ ];
31+ homepage = "https://github.com/skogsbaer/HTF/";
32+ description = "The Haskell Test Framework";
33+ license = "LGPL";
34+}
test/golden-test-cases/HTTP.cabalnew file+182
@@ -0,0 +1,182 @@
1+Name: HTTP
2+Version: 4000.3.9
3+Cabal-Version: >= 1.8
4+Build-type: Simple
5+License: BSD3
6+License-file: LICENSE
7+Author: Warrick Gray <warrick.gray@hotmail.com>
8+Maintainer: Ganesh Sittampalam <ganesh@earth.li>
9+Homepage: https://github.com/haskell/HTTP
10+Category: Network
11+Synopsis: A library for client-side HTTP
12+Description:
13+
14+ The HTTP package supports client-side web programming in Haskell. It lets you set up
15+ HTTP connections, transmitting requests and processing the responses coming back, all
16+ from within the comforts of Haskell. It's dependent on the network package to operate,
17+ but other than that, the implementation is all written in Haskell.
18+ .
19+ A basic API for issuing single HTTP requests + receiving responses is provided. On top
20+ of that, a session-level abstraction is also on offer (the @BrowserAction@ monad);
21+ it taking care of handling the management of persistent connections, proxies,
22+ state (cookies) and authentication credentials required to handle multi-step
23+ interactions with a web server.
24+ .
25+ The representation of the bytes flowing across is extensible via the use of a type class,
26+ letting you pick the representation of requests and responses that best fits your use.
27+ Some pre-packaged, common instances are provided for you (@ByteString@, @String@).
28+ .
29+ Here's an example use:
30+ .
31+ >
32+ > do
33+ > rsp <- Network.HTTP.simpleHTTP (getRequest "http://www.haskell.org/")
34+ > -- fetch document and return it (as a 'String'.)
35+ > fmap (take 100) (getResponseBody rsp)
36+ >
37+ > do
38+ > (_, rsp)
39+ > <- Network.Browser.browse $ do
40+ > setAllowRedirects True -- handle HTTP redirects
41+ > request $ getRequest "http://www.haskell.org/"
42+ > return (take 100 (rspBody rsp))
43+ .
44+ __Note:__ This package does not support HTTPS connections.
45+ If you need HTTPS, take a look at the following packages:
46+ .
47+ * <http://hackage.haskell.org/package/http-streams http-streams>
48+ .
49+ * <http://hackage.haskell.org/package/http-client http-client> (in combination with
50+ <http://hackage.haskell.org/package/http-client-tls http-client-tls>)
51+ .
52+ * <http://hackage.haskell.org/package/req req>
53+ .
54+ * <http://hackage.haskell.org/package/wreq wreq>
55+ .
56+
57+Extra-Source-Files: CHANGES
58+
59+Source-Repository head
60+ type: git
61+ location: https://github.com/haskell/HTTP.git
62+
63+Flag mtl1
64+ description: Use the old mtl version 1.
65+ default: False
66+
67+Flag warn-as-error
68+ default: False
69+ description: Build with warnings-as-errors
70+ manual: True
71+
72+Flag network23
73+ description: Use version 2.3.x or below of the network package
74+ default: False
75+
76+Flag conduit10
77+ description: Use version 1.0.x or below of the conduit package (for the test suite)
78+ default: False
79+
80+Flag warp-tests
81+ description: Test against warp
82+ default: True
83+ manual: True
84+
85+flag network-uri
86+ description: Get Network.URI from the network-uri package
87+ default: True
88+
89+Library
90+ Exposed-modules:
91+ Network.BufferType,
92+ Network.Stream,
93+ Network.StreamDebugger,
94+ Network.StreamSocket,
95+ Network.TCP,
96+ Network.HTTP,
97+ Network.HTTP.Headers,
98+ Network.HTTP.Base,
99+ Network.HTTP.Stream,
100+ Network.HTTP.Auth,
101+ Network.HTTP.Cookie,
102+ Network.HTTP.Proxy,
103+ Network.HTTP.HandleStream,
104+ Network.Browser
105+ Other-modules:
106+ Network.HTTP.Base64,
107+ Network.HTTP.MD5Aux,
108+ Network.HTTP.Utils
109+ Paths_HTTP
110+ GHC-options: -fwarn-missing-signatures -Wall
111+
112+ -- note the test harness constraints should be kept in sync with these
113+ -- where dependencies are shared
114+ Build-depends: base >= 4.3.0.0 && < 4.11, parsec >= 2.0 && < 3.2
115+ Build-depends: array >= 0.3.0.2 && < 0.6, bytestring >= 0.9.1.5 && < 0.11
116+ Build-depends: time >= 1.1.2.3 && < 1.9
117+
118+ Extensions: FlexibleInstances
119+
120+ if flag(mtl1)
121+ Build-depends: mtl >= 1.1.1.0 && < 1.2
122+ CPP-Options: -DMTL1
123+ else
124+ Build-depends: mtl >= 2.0 && < 2.3
125+
126+ if flag(network-uri)
127+ Build-depends: network-uri == 2.6.*, network == 2.6.*
128+ else
129+ Build-depends: network >= 2.2.1.8 && < 2.6
130+
131+ if flag(warn-as-error)
132+ ghc-options: -Werror
133+
134+ if os(windows)
135+ Build-depends: Win32 >= 2.2.0.0 && < 2.6
136+
137+Test-Suite test
138+ type: exitcode-stdio-1.0
139+
140+ hs-source-dirs: test
141+ main-is: httpTests.hs
142+
143+ other-modules:
144+ Httpd
145+ UnitTests
146+
147+ -- note: version constraints for dependencies shared with the library
148+ -- should be the same
149+ build-depends: HTTP,
150+ HUnit >= 1.2.0.1 && < 1.7,
151+ httpd-shed >= 0.4 && < 0.5,
152+ mtl >= 1.1.1.0 && < 2.3,
153+ bytestring >= 0.9.1.5 && < 0.11,
154+ deepseq >= 1.3.0.0 && < 1.5,
155+ pureMD5 >= 0.2.4 && < 2.2,
156+ base >= 4.3.0.0 && < 4.11,
157+ split >= 0.1.3 && < 0.3,
158+ test-framework >= 0.2.0 && < 0.9,
159+ test-framework-hunit >= 0.3.0 && <0.4
160+
161+ if flag(network-uri)
162+ Build-depends: network-uri == 2.6.*, network == 2.6.*
163+ else
164+ Build-depends: network >= 2.2.1.5 && < 2.6
165+
166+ if flag(warp-tests)
167+ CPP-Options: -DWARP_TESTS
168+ build-depends:
169+ case-insensitive >= 0.4.0.1 && < 1.3,
170+ http-types >= 0.8.0 && < 1.0,
171+ wai >= 2.1.0 && < 3.3,
172+ warp >= 2.1.0 && < 3.3
173+
174+ if flag(conduit10)
175+ build-depends:
176+ conduit >= 1.0.8 && < 1.1
177+ else
178+ build-depends:
179+ conduit >= 1.1 && < 1.3,
180+ conduit-extra >= 1.1 && < 1.3
181+
182+
test/golden-test-cases/HTTP.nix.goldennew file+24
@@ -0,0 +1,24 @@
1+{ mkDerivation, array, base, bytestring, case-insensitive, conduit
2+, conduit-extra, deepseq, fetchurl, http-types, httpd-shed, HUnit
3+, mtl, network, network-uri, parsec, pureMD5, split, test-framework
4+, test-framework-hunit, time, wai, warp
5+}:
6+mkDerivation {
7+ pname = "HTTP";
8+ version = "4000.3.9";
9+ src = fetchurl {
10+ url = "http://example.org/";
11+ sha256 = "abc";
12+ };
13+ libraryHaskellDepends = [
14+ array base bytestring mtl network network-uri parsec time
15+ ];
16+ testHaskellDepends = [
17+ base bytestring case-insensitive conduit conduit-extra deepseq
18+ http-types httpd-shed HUnit mtl network network-uri pureMD5 split
19+ test-framework test-framework-hunit wai warp
20+ ];
21+ homepage = "https://github.com/haskell/HTTP";
22+ description = "A library for client-side HTTP";
23+ license = stdenv.lib.licenses.bsd3;
24+}
test/golden-test-cases/Hclip.cabalnew file+55
@@ -0,0 +1,55 @@
1+
2+name: Hclip
3+
4+-- The package version. See the Haskell package versioning policy (PVP)
5+-- for standards guiding when and how versions should be incremented.
6+-- http://www.haskell.org/haskellwiki/Package_versioning_policy
7+-- PVP summary: +-+------- breaking API changes
8+-- | | +----- non-breaking API additions
9+-- | | | +--- code changes with no API change
10+version: 3.0.0.4
11+
12+synopsis: A small cross-platform library for reading and modifying the system clipboard.
13+
14+homepage: https://github.com/jetho/Hclip
15+
16+license: BSD3
17+
18+license-file: LICENSE
19+
20+author: Jens Thomas
21+
22+maintainer: jetho@gmx.de
23+
24+category: System
25+
26+description:
27+ A small cross-platform library for reading and modifying the system clipboard.
28+ .
29+ Hclip works on Windows, Mac OS X and Linux (but see the requirements below!).
30+ .
31+ Requirements:
32+ .
33+ * Windows: No additional requirements.
34+ .
35+ * Mac OS X: Requires the pbcopy and pbpaste commands, which ship with Mac OS X.
36+ .
37+ * Linux: Requires xclip or xsel installed.
38+
39+build-type: Simple
40+
41+cabal-version: >=1.10
42+
43+
44+library
45+ exposed-modules: System.Hclip
46+ other-extensions: CPP, DeriveDataTypeable, GADTs
47+ default-language: Haskell2010
48+ build-depends: base >= 3 && < 5, process, mtl, strict
49+ if os(windows)
50+ build-depends: Win32
51+
52+source-repository head
53+ type: git
54+ location: git://github.com/jetho/Hclip.git
55+
test/golden-test-cases/Hclip.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, fetchurl, mtl, process, strict }:
2+mkDerivation {
3+ pname = "Hclip";
4+ version = "3.0.0.4";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base mtl process strict ];
10+ homepage = "https://github.com/jetho/Hclip";
11+ description = "A small cross-platform library for reading and modifying the system clipboard";
12+ license = stdenv.lib.licenses.bsd3;
13+}
test/golden-test-cases/MissingH.cabalnew file+131
@@ -0,0 +1,131 @@
1+Name: MissingH
2+Version: 1.4.0.1
3+License: BSD3
4+Maintainer: John Goerzen <jgoerzen@complete.org>
5+Author: John Goerzen
6+Copyright: Copyright (c) 2004-2016 John Goerzen
7+license-file: LICENSE
8+extra-source-files: LICENSE,
9+ announcements/0.10.0.txt,
10+ announcements/0.8.0.txt,
11+ announcements/0.9.0.txt,
12+ testsrc/gzfiles/empty.gz,
13+ testsrc/gzfiles/t1.gz,
14+ testsrc/gzfiles/t1bad.gz,
15+ testsrc/gzfiles/t2.gz,
16+ testsrc/gzfiles/zeros.gz,
17+ testsrc/mime.types.test,
18+ 3rd-party-licenses/BSD,
19+ 3rd-party-licenses/LGPL-2.1,
20+ Makefile,
21+ TODO,
22+ examples/simplegrep.hs,
23+ examples/test2.hs,
24+ examples/test3.hs,
25+ pending/Gopher.hs,
26+ pending/Maildir.disabled,
27+ pending/Tar.newhs,
28+ pending/Tar/HeaderParser.newhs,
29+ tolgpl,
30+ winbuild.bat,
31+ wintest.bat
32+homepage: http://software.complete.org/missingh
33+Category: Unclassified
34+synopsis: Large utility library
35+Description: MissingH is a library of all sorts of utility functions for
36+ Haskell programmers. It is written in pure Haskell and thus should
37+ be extremely portable and easy to use.
38+Stability: Beta
39+Build-Type: Simple
40+Cabal-Version: >=1.8
41+
42+Library
43+ Hs-Source-Dirs: src
44+ Exposed-Modules:
45+ Data.String.Utils, System.IO.Utils, System.IO.Binary, Data.List.Utils,
46+ System.Daemon,
47+ Text.ParserCombinators.Parsec.Utils,
48+ Network.Email.Mailbox,
49+ Control.Concurrent.Thread.Utils,
50+ Network.Email.Sendmail,
51+ Data.CSV,
52+ System.Cmd.Utils,
53+ Data.BinPacking,
54+ Data.Progress.Tracker,
55+ Data.Progress.Meter,
56+ Data.Quantity,
57+ Data.Map.Utils, System.Path, System.Path.NameManip,
58+ System.Path.WildMatch, System.Path.Glob,
59+ System.Time.Utils,
60+ Network.Utils,
61+ Network.SocketServer,
62+ Data.Either.Utils,
63+ Data.Maybe.Utils,
64+ Data.Tuple.Utils,
65+ Data.Bits.Utils,
66+ Data.Hash.CRC32.GZip,
67+ Data.Hash.MD5, Data.Hash.MD5.Zord64_HARD,
68+ Data.Compression.Inflate,
69+ System.FileArchive.GZip,
70+ System.IO.HVFS,
71+ System.IO.HVFS.Combinators,
72+ System.IO.HVFS.InstanceHelpers,
73+ System.IO.HVFS.Utils,
74+ System.IO.HVIO, System.IO.StatCompat, System.IO.WindowsCompat,
75+ System.IO.PlafCompat, System.Posix.Consts,
76+ System.Debian, System.Debian.ControlParser,
77+ Data.MIME.Types,
78+ System.Console.GetOpt.Utils
79+
80+ Extensions: ExistentialQuantification, OverlappingInstances,
81+ UndecidableInstances, CPP, Rank2Types,
82+ MultiParamTypeClasses, FlexibleInstances, FlexibleContexts,
83+ ScopedTypeVariables
84+
85+ Build-Depends: network, parsec, base,
86+ mtl, HUnit, regex-compat,
87+ filepath,
88+ hslogger,
89+ base >= 4.5, base < 5, directory, random, process, old-time,
90+ containers, old-locale, array, time
91+ If ! os(windows)
92+ Build-Depends: unix
93+
94+test-suite runtests
95+ type: exitcode-stdio-1.0
96+
97+ Build-Depends: network, parsec, base,
98+ mtl, HUnit, regex-compat,
99+ errorcall-eq-instance,
100+ filepath,
101+ hslogger,
102+ base >= 4.5, base < 5, directory, random, process, old-time,
103+ containers, old-locale, array, time
104+ If ! os(windows)
105+ Build-Depends: unix
106+ Build-Depends: testpack, QuickCheck, HUnit
107+
108+ Main-Is: runtests.hs
109+ HS-Source-Dirs: testsrc, ., src
110+ Other-Modules: Bitstest,
111+ CRC32GZIPtest,
112+ Eithertest,
113+ GZiptest,
114+ Globtest,
115+ HVFStest,
116+ HVIOtest,
117+ IOtest,
118+ Listtest,
119+ MIMETypestest,
120+ Maptest,
121+ Pathtest,
122+ ProgressTrackertest,
123+ Str.CSVtest,
124+ Strtest,
125+ Tests,
126+ Timetest,
127+ WildMatchtest
128+ Extensions: ExistentialQuantification, OverlappingInstances,
129+ UndecidableInstances, CPP, Rank2Types,
130+ MultiParamTypeClasses, FlexibleInstances, FlexibleContexts,
131+ ScopedTypeVariables
test/golden-test-cases/MissingH.nix.goldennew file+25
@@ -0,0 +1,25 @@
1+{ mkDerivation, array, base, containers, directory
2+, errorcall-eq-instance, fetchurl, filepath, hslogger, HUnit, mtl
3+, network, old-locale, old-time, parsec, process, QuickCheck
4+, random, regex-compat, testpack, time, unix
5+}:
6+mkDerivation {
7+ pname = "MissingH";
8+ version = "1.4.0.1";
9+ src = fetchurl {
10+ url = "http://example.org/";
11+ sha256 = "abc";
12+ };
13+ libraryHaskellDepends = [
14+ array base containers directory filepath hslogger HUnit mtl network
15+ old-locale old-time parsec process random regex-compat time unix
16+ ];
17+ testHaskellDepends = [
18+ array base containers directory errorcall-eq-instance filepath
19+ hslogger HUnit mtl network old-locale old-time parsec process
20+ QuickCheck random regex-compat testpack time unix
21+ ];
22+ homepage = "http://software.complete.org/missingh";
23+ description = "Large utility library";
24+ license = stdenv.lib.licenses.bsd3;
25+}
test/golden-test-cases/ObjectName.cabalnew file+34
@@ -0,0 +1,34 @@
1+name: ObjectName
2+version: 1.1.0.1
3+synopsis: Explicitly handled object names
4+description:
5+ This tiny package contains the class ObjectName, which corresponds to the
6+ general notion of explicitly handled identifiers for API objects, e.g. a
7+ texture object name in OpenGL or a buffer object name in OpenAL.
8+homepage: https://github.com/svenpanne/ObjectName
9+bug-reports: https://github.com/svenpanne/ObjectName/issues
10+copyright: Copyright (C) 2014-2015 Sven Panne
11+license: BSD3
12+license-file: LICENSE
13+author: Sven Panne
14+maintainer: Sven Panne <svenpanne@gmail.com>
15+category: Data
16+build-type: Simple
17+cabal-version: >=1.10
18+extra-source-files:
19+ README.md
20+
21+library
22+ exposed-modules:
23+ Data.ObjectName
24+ build-depends:
25+ base >= 4 && < 5,
26+ transformers >= 0.2 && < 0.6
27+ default-language: Haskell2010
28+ other-extensions: CPP
29+ hs-Source-Dirs: src
30+ ghc-options: -Wall
31+
32+source-repository head
33+ type: git
34+ location: https://github.com/haskell-opengl/ObjectName.git
test/golden-test-cases/ObjectName.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, fetchurl, transformers }:
2+mkDerivation {
3+ pname = "ObjectName";
4+ version = "1.1.0.1";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base transformers ];
10+ homepage = "https://github.com/svenpanne/ObjectName";
11+ description = "Explicitly handled object names";
12+ license = stdenv.lib.licenses.bsd3;
13+}
test/golden-test-cases/Only.cabalnew file+32
@@ -0,0 +1,32 @@
1+name: Only
2+version: 0.1
3+synopsis: The 1-tuple type or single-value "collection"
4+license: BSD3
5+license-file: LICENSE
6+author: Herbert Valerio Riedel
7+maintainer: hvr@gnu.org
8+bug-reports: https://github.com/hvr/Only/issues
9+category: Data
10+build-type: Simple
11+cabal-version: >=1.10
12+description: This package provides the canonical anonymous 1-tuple type missing from Haskell for attaching typeclass instances.
13+
14+Source-Repository head
15+ Type: git
16+ Location: https://github.com/hvr/Only.git
17+
18+library
19+ hs-source-dirs: src
20+ exposed-modules: Data.Tuple.Only
21+
22+ default-language: Haskell2010
23+ other-extensions: DeriveGeneric
24+ , DeriveDataTypeable
25+ , DeriveFunctor
26+ , Safe
27+
28+ build-depends: base >= 4.5 && <5
29+ , deepseq >= 1.1 && <1.5
30+
31+ if impl(ghc == 7.4.*)
32+ build-depends: ghc-prim
test/golden-test-cases/Only.nix.goldennew file+12
@@ -0,0 +1,12 @@
1+{ mkDerivation, base, deepseq, fetchurl }:
2+mkDerivation {
3+ pname = "Only";
4+ version = "0.1";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base deepseq ];
10+ description = "The 1-tuple type or single-value \"collection\"";
11+ license = stdenv.lib.licenses.bsd3;
12+}
test/golden-test-cases/QuasiText.cabalnew file+20
@@ -0,0 +1,20 @@
1+-- Initial QuasiText.cabal generated by cabal init. For further
2+-- documentation, see http://haskell.org/cabal/users-guide/
3+
4+name: QuasiText
5+version: 0.1.2.6
6+synopsis: A QuasiQuoter for Text.
7+description: A QuasiQuoter for interpolating values into Text strings.
8+homepage: https://github.com/mikeplus64/QuasiText
9+license: BSD3
10+license-file: LICENSE
11+author: Mike Ledger
12+maintainer: eleventynine@gmail.com
13+category: Text
14+build-type: Simple
15+cabal-version: >=1.8
16+
17+library
18+ exposed-modules: Text.QuasiText
19+ build-depends: base >= 4.5.0.0 && < 5.0.0.0, template-haskell, haskell-src-meta, attoparsec, text, th-lift-instances
20+ hs-source-dirs: src
test/golden-test-cases/QuasiText.nix.goldennew file+18
@@ -0,0 +1,18 @@
1+{ mkDerivation, attoparsec, base, fetchurl, haskell-src-meta
2+, template-haskell, text, th-lift-instances
3+}:
4+mkDerivation {
5+ pname = "QuasiText";
6+ version = "0.1.2.6";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [
12+ attoparsec base haskell-src-meta template-haskell text
13+ th-lift-instances
14+ ];
15+ homepage = "https://github.com/mikeplus64/QuasiText";
16+ description = "A QuasiQuoter for Text";
17+ license = stdenv.lib.licenses.bsd3;
18+}
test/golden-test-cases/QuickCheck.cabalnew file+171
@@ -0,0 +1,171 @@
1+Name: QuickCheck
2+Version: 2.10.1
3+Cabal-Version: >= 1.8
4+Build-type: Simple
5+License: BSD3
6+License-file: LICENSE
7+Copyright: 2000-2017 Koen Claessen, 2006-2008 Björn Bringert, 2009-2017 Nick Smallbone
8+Author: Koen Claessen <koen@chalmers.se>
9+Maintainer: Nick Smallbone <nick@smallbone.se>; see also QuickCheck mailing list (https://groups.google.com/forum/#!forum/haskell-quickcheck)
10+Bug-reports: https://github.com/nick8325/quickcheck/issues
11+Tested-with: GHC == 7.0.4, GHC == 7.2.2, GHC >= 7.4
12+Homepage: https://github.com/nick8325/quickcheck
13+Category: Testing
14+Synopsis: Automatic testing of Haskell programs
15+Description:
16+ QuickCheck is a library for random testing of program properties.
17+ .
18+ The programmer provides a specification of the program, in the form of
19+ properties which functions should satisfy, and QuickCheck then tests that the
20+ properties hold in a large number of randomly generated cases.
21+ .
22+ Specifications are expressed in Haskell, using combinators defined in the
23+ QuickCheck library. QuickCheck provides combinators to define properties,
24+ observe the distribution of test data, and define test data generators.
25+ .
26+ The <http://www.cse.chalmers.se/~rjmh/QuickCheck/manual.html official QuickCheck manual>
27+ explains how to write generators and properties;
28+ it is out-of-date in some details but still full of useful advice.
29+ .
30+ A user of QuickCheck has written an unofficial, but detailed, tutorial which
31+ you can find at
32+ <https://begriffs.com/posts/2017-01-14-design-use-quickcheck.html>.
33+
34+extra-source-files:
35+ README
36+ changelog
37+ examples/Heap.hs
38+ examples/Heap_Program.hs
39+ examples/Heap_ProgramAlgebraic.hs
40+ examples/Lambda.hs
41+ examples/Merge.hs
42+ examples/Set.hs
43+ examples/Simple.hs
44+
45+source-repository head
46+ type: git
47+ location: https://github.com/nick8325/quickcheck
48+
49+source-repository this
50+ type: git
51+ location: https://github.com/nick8325/quickcheck
52+ tag: 2.10.1
53+
54+flag templateHaskell
55+ Description: Build Test.QuickCheck.All, which uses Template Haskell.
56+ Default: True
57+
58+library
59+ Build-depends: base >=4.3 && <5, random, containers
60+
61+ -- Modules that are always built.
62+ Exposed-Modules:
63+ Test.QuickCheck,
64+ Test.QuickCheck.Arbitrary,
65+ Test.QuickCheck.Gen,
66+ Test.QuickCheck.Gen.Unsafe,
67+ Test.QuickCheck.Monadic,
68+ Test.QuickCheck.Modifiers,
69+ Test.QuickCheck.Property,
70+ Test.QuickCheck.Test,
71+ Test.QuickCheck.Text,
72+ Test.QuickCheck.Poly,
73+ Test.QuickCheck.State,
74+ Test.QuickCheck.Random,
75+ Test.QuickCheck.Exception
76+
77+ -- GHC-specific modules.
78+ if impl(ghc)
79+ Exposed-Modules: Test.QuickCheck.Function
80+ Build-depends: transformers >= 0.3, deepseq
81+ else
82+ cpp-options: -DNO_TRANSFORMERS -DNO_DEEPSEQ
83+
84+ if impl(ghc) && flag(templateHaskell)
85+ Build-depends: template-haskell >= 2.4
86+ Other-Extensions: TemplateHaskell
87+ Exposed-Modules: Test.QuickCheck.All
88+ else
89+ cpp-options: -DNO_TEMPLATE_HASKELL
90+
91+ if !impl(ghc >= 7.2)
92+ cpp-options: -DNO_FOREIGN_C_USECONDS
93+
94+ -- The new generics appeared in GHC 7.2...
95+ if impl(ghc < 7.2)
96+ cpp-options: -DNO_GENERICS
97+ -- ...but in 7.2-7.4 it lives in the ghc-prim package.
98+ if impl(ghc >= 7.2) && impl(ghc < 7.6)
99+ Build-depends: ghc-prim
100+
101+ -- Safe Haskell appeared in GHC 7.2, but GHC.Generics isn't safe until 7.4.
102+ if impl (ghc < 7.4)
103+ cpp-options: -DNO_SAFE_HASKELL
104+
105+ -- Use tf-random on newer GHCs.
106+ if impl(ghc)
107+ Build-depends: tf-random >= 0.4
108+ else
109+ cpp-options: -DNO_TF_RANDOM
110+
111+ if !impl(ghc >= 7.6)
112+ cpp-options: -DNO_POLYKINDS
113+
114+ if !impl(ghc >= 8.0)
115+ cpp-options: -DNO_MONADFAIL
116+
117+ -- Switch off most optional features on non-GHC systems.
118+ if !impl(ghc)
119+ -- If your Haskell compiler can cope without some of these, please
120+ -- send a message to the QuickCheck mailing list!
121+ cpp-options: -DNO_TIMEOUT -DNO_NEWTYPE_DERIVING -DNO_GENERICS -DNO_TEMPLATE_HASKELL -DNO_SAFE_HASKELL
122+ if !impl(hugs) && !impl(uhc)
123+ cpp-options: -DNO_ST_MONAD -DNO_MULTI_PARAM_TYPE_CLASSES
124+
125+ -- LANGUAGE pragmas don't have any effect in Hugs.
126+ if impl(hugs)
127+ Extensions: CPP
128+
129+ if impl(uhc)
130+ -- Cabal under UHC needs pointing out all the dependencies of the
131+ -- random package.
132+ Build-depends: old-time, old-locale
133+ -- Plus some bits of the standard library are missing.
134+ cpp-options: -DNO_FIXED -DNO_EXCEPTIONS
135+
136+Test-Suite test-quickcheck
137+ type: exitcode-stdio-1.0
138+ hs-source-dirs:
139+ examples
140+ main-is: Heap.hs
141+ build-depends: base, QuickCheck
142+ if !flag(templateHaskell)
143+ Buildable: False
144+
145+Test-Suite test-quickcheck-gcoarbitrary
146+ type: exitcode-stdio-1.0
147+ hs-source-dirs: tests
148+ main-is: GCoArbitraryExample.hs
149+ build-depends: base, QuickCheck
150+ if !impl(ghc >= 7.2)
151+ buildable: False
152+ if impl(ghc >= 7.2) && impl(ghc < 7.6)
153+ build-depends: ghc-prim
154+
155+Test-Suite test-quickcheck-generators
156+ type: exitcode-stdio-1.0
157+ hs-source-dirs: tests
158+ main-is: Generators.hs
159+ build-depends: base, QuickCheck
160+ if !flag(templateHaskell)
161+ Buildable: False
162+
163+Test-Suite test-quickcheck-gshrink
164+ type: exitcode-stdio-1.0
165+ hs-source-dirs: tests
166+ main-is: GShrinkExample.hs
167+ build-depends: base, QuickCheck
168+ if !impl(ghc >= 7.2)
169+ buildable: False
170+ if impl(ghc >= 7.2) && impl(ghc < 7.6)
171+ build-depends: ghc-prim
test/golden-test-cases/QuickCheck.nix.goldennew file+19
@@ -0,0 +1,19 @@
1+{ mkDerivation, base, containers, deepseq, fetchurl, random
2+, template-haskell, tf-random, transformers
3+}:
4+mkDerivation {
5+ pname = "QuickCheck";
6+ version = "2.10.1";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [
12+ base containers deepseq random template-haskell tf-random
13+ transformers
14+ ];
15+ testHaskellDepends = [ base ];
16+ homepage = "https://github.com/nick8325/quickcheck";
17+ description = "Automatic testing of Haskell programs";
18+ license = stdenv.lib.licenses.bsd3;
19+}
test/golden-test-cases/ReadArgs.cabalnew file+110
@@ -0,0 +1,110 @@
1+Name: ReadArgs
2+Version: 1.2.3
3+Synopsis: Simple command line argument parsing
4+
5+Description:
6+
7+ ReadArgs provides the @readArgs@ IO action, which lets you tell the compiler
8+ to parse the command line arguments to fit the type signature you give.
9+ .
10+ For example @(a :: Int, b :: String, c :: Float) <- readArgs@ would
11+ parse the first runtime argument as an @Int@, the second as a @String@ (no
12+ quotes required) and the third as a @Float@.
13+ .
14+ If the runtime arguments are incompatible with the type signature,
15+ then a simple usage statement is given of the types needed.
16+ .
17+ Continuing the previous example, if it was used in a
18+ program named @Example@, the error message for the above
19+ action would be:
20+ .
21+ @
22+ usage: Example Int String Float
23+ @
24+ .
25+ Any type that has both @Typeable@ and @Read@ instances
26+ can be used. @Char@, @String@, and @Text@ are handled specially so that
27+ command line arguments for both do not require quotes (as their
28+ @Read@ instances do). A special instance is provided for @FilePath@ so
29+ that no constructor or quotes are required.
30+ .
31+ @readArgs@ also supports optional arguments and variadic arguments.
32+ Optional arguments are specified using @Maybe@, and variadic arguments
33+ using a list. @(a :: Int, b :: Maybe String, c :: [Float]) <- readArgs@
34+ would successfully parse any of the following sets of command line arguments:
35+ .
36+ @
37+ Example 1
38+ Example 1 2 3 4
39+ Example 1 foo
40+ Example 1 foo 2 3 4
41+ @
42+ .
43+ But not
44+ .
45+ @
46+ Example
47+ Example foo
48+ Example 1.0
49+ @
50+ .
51+ Usage statements for optional and variadic arguments use command-line
52+ parlance:
53+ .
54+ @
55+ usage: Example Int [String] [Float..]
56+ @
57+ .
58+ Note that both optional and variadic parsers are greedy by default
59+ (so @Example 1 2 3 4@ was parsed as @(1, "2", [3.0,4.0])@. They
60+ may both be made non-greedy through use of the @NonGreedy@ constructor:
61+ .
62+ @
63+ ( a :: Int
64+ , NonGreedy b :: NonGreedy Maybe String
65+ , NonGreedy c :: NonGreedy [] Float
66+ ) <- readArgs
67+ @
68+
69+Homepage: http://github.com/rampion/ReadArgs
70+License: BSD3
71+License-file: LICENSE
72+Author: Noah Luck Easterly
73+Maintainer: noah.easterly@gmail.com
74+Category: Command Line
75+Build-type: Simple
76+Cabal-version: >=1.8
77+
78+Source-repository head
79+ type: git
80+ location: git://github.com/rampion/ReadArgs.git
81+
82+Library
83+ Exposed-modules: ReadArgs
84+
85+ Build-depends:
86+ base >= 4.3.1.0 && < 5,
87+ system-filepath >= 0.4.7 && < 0.5,
88+ text >= 0.11.1.13 && < 12
89+
90+Test-Suite ReadArgsSpec
91+ type:
92+ exitcode-stdio-1.0
93+
94+ Main-Is:
95+ ReadArgsSpec.hs
96+
97+ Build-depends:
98+ hspec >= 1.3 && < 3,
99+ base >= 4.3.1.0 && < 5,
100+ system-filepath >= 0.4.7 && < 0.5,
101+ text >= 0.11.1.13 && < 12
102+
103+Executable ReadArgsEx
104+ Main-Is:
105+ ReadArgsEx.hs
106+
107+ Build-depends:
108+ base >= 4.3.1.0 && < 5,
109+ system-filepath >= 0.4.7 && < 0.5,
110+ text >= 0.11.1.13 && < 12
test/golden-test-cases/ReadArgs.nix.goldennew file+17
@@ -0,0 +1,17 @@
1+{ mkDerivation, base, fetchurl, hspec, system-filepath, text }:
2+mkDerivation {
3+ pname = "ReadArgs";
4+ version = "1.2.3";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ isLibrary = true;
10+ isExecutable = true;
11+ libraryHaskellDepends = [ base system-filepath text ];
12+ executableHaskellDepends = [ base system-filepath text ];
13+ testHaskellDepends = [ base hspec system-filepath text ];
14+ homepage = "http://github.com/rampion/ReadArgs";
15+ description = "Simple command line argument parsing";
16+ license = stdenv.lib.licenses.bsd3;
17+}
test/golden-test-cases/SHA.cabalnew file+130
@@ -0,0 +1,130 @@
1+name: SHA
2+category: Cryptography, Codec
3+version: 1.6.4.2
4+license: BSD3
5+license-file: LICENSE
6+author: Adam Wick <awick@galois.com>, Brian Lewis <brian@lorf.org>
7+maintainer: Adam Wick <awick@galois.com>,
8+ Raphael Javaux <raphaeljavaux@gmail.com>
9+stability: stable
10+build-type: Simple
11+cabal-version: >= 1.8
12+tested-with: GHC == 7.6.1
13+synopsis: Implementations of the SHA suite of message digest functions
14+description: This library implements the SHA suite of message digest functions,
15+ according to NIST FIPS 180-2 (with the SHA-224 addendum), as well
16+ as the SHA-based HMAC routines. The functions have been tested
17+ against most of the NIST and RFC test vectors for the various
18+ functions. While some attention has been paid to performance,
19+ these do not presently reach the speed of well-tuned libraries,
20+ like OpenSSL.
21+
22+Flag exe
23+ Description: Build a sha executables similar to 'md5sum'.
24+ Default: False
25+
26+Library
27+ hs-source-dirs: src
28+ build-depends: array > 0 && < 10000,
29+ base >= 4 && < 6,
30+ binary >= 0.7 && < 10000,
31+ bytestring > 0.8 && < 10000
32+ exposed-modules: Data.Digest.Pure.SHA
33+ GHC-Options: -Wall -fno-ignore-asserts -fno-warn-orphans
34+ -funbox-strict-fields -fwarn-tabs
35+ extensions: BangPatterns
36+ if impl(ghc >= 6.12) && impl(ghc < 7.7)
37+ Ghc-Options: -fregs-graph
38+
39+test-suite test-sha
40+ type: exitcode-stdio-1.0
41+ hs-source-dirs: src
42+ main-is: Test.hs
43+ ghc-options: -Wall -fhpc
44+ build-depends: array > 0 && < 10000,
45+ base > 4.3 && < 7,
46+ binary >= 0.7 && < 10000,
47+ bytestring > 0.8 && < 10000,
48+ QuickCheck >= 2.5 && < 3,
49+ test-framework >= 0.8.0.3 && < 10000,
50+ test-framework-quickcheck2 >= 0.3.0.2 && < 10000
51+ extensions: BangPatterns, MultiParamTypeClasses, DeriveDataTypeable
52+ GHC-Options: -O2 -Wall -fno-ignore-asserts -fno-warn-orphans
53+ -funbox-strict-fields -fwarn-tabs
54+ cpp-options: -DSHA_TEST
55+ if impl(ghc >= 6.12)
56+ Ghc-Options: -fregs-graph
57+
58+Executable sha1
59+ if !flag(exe)
60+ buildable: False
61+ hs-source-dirs: src-bin
62+ build-depends: base >= 4 && < 6,
63+ bytestring > 0.8 && < 10000,
64+ directory > 0.0 && < 10000,
65+ SHA > 1.6 && < 10000
66+ Main-Is: Main.hs
67+ extensions: CPP
68+ GHC-Options: -O2 -Wall -fno-ignore-asserts -fno-warn-orphans
69+ -funbox-strict-fields -fwarn-tabs
70+ cpp-options: -DALGORITHM=sha1
71+
72+Executable sha224
73+ if !flag(exe)
74+ buildable: False
75+ hs-source-dirs: src-bin
76+ build-depends: base >= 4 && < 6,
77+ bytestring > 0.8 && < 10000,
78+ directory > 0.0 && < 10000,
79+ SHA > 1.6 && < 10000
80+ Main-Is: Main.hs
81+ extensions: CPP
82+ GHC-Options: -O2 -Wall -fno-ignore-asserts -fno-warn-orphans
83+ -funbox-strict-fields -fwarn-tabs
84+ cpp-options: -DALGORITHM=sha224
85+
86+Executable sha256
87+ if !flag(exe)
88+ buildable: False
89+ hs-source-dirs: src-bin
90+ build-depends: base >= 4 && < 6,
91+ bytestring > 0.8 && < 10000,
92+ directory > 0.0 && < 10000,
93+ SHA > 1.6 && < 10000
94+ Main-Is: Main.hs
95+ extensions: CPP
96+ GHC-Options: -O2 -Wall -fno-ignore-asserts -fno-warn-orphans
97+ -funbox-strict-fields -fwarn-tabs
98+ cpp-options: -DALGORITHM=sha256
99+
100+Executable sha384
101+ if !flag(exe)
102+ buildable: False
103+ hs-source-dirs: src-bin
104+ build-depends: base >= 4 && < 6,
105+ bytestring > 0.8 && < 10000,
106+ directory > 0.0 && < 10000,
107+ SHA > 1.6 && < 10000
108+ Main-Is: Main.hs
109+ extensions: CPP
110+ GHC-Options: -O2 -Wall -fno-ignore-asserts -fno-warn-orphans
111+ -funbox-strict-fields -fwarn-tabs
112+ cpp-options: -DALGORITHM=sha384
113+
114+Executable sha512
115+ if !flag(exe)
116+ buildable: False
117+ hs-source-dirs: src-bin
118+ build-depends: base >= 4 && < 6,
119+ bytestring > 0.8 && < 10000,
120+ directory > 0.0 && < 10000,
121+ SHA > 1.6 && < 10000
122+ Main-Is: Main.hs
123+ extensions: CPP
124+ GHC-Options: -O2 -Wall -fno-ignore-asserts -fno-warn-orphans
125+ -funbox-strict-fields -fwarn-tabs
126+ cpp-options: -DALGORITHM=sha512
127+
128+source-repository head
129+ type: git
130+ location: git://github.com/GaloisInc/SHA.git
test/golden-test-cases/SHA.nix.goldennew file+21
@@ -0,0 +1,21 @@
1+{ mkDerivation, array, base, binary, bytestring, directory
2+, fetchurl, QuickCheck, test-framework, test-framework-quickcheck2
3+}:
4+mkDerivation {
5+ pname = "SHA";
6+ version = "1.6.4.2";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ isLibrary = true;
12+ isExecutable = true;
13+ libraryHaskellDepends = [ array base binary bytestring ];
14+ executableHaskellDepends = [ base bytestring directory ];
15+ testHaskellDepends = [
16+ array base binary bytestring QuickCheck test-framework
17+ test-framework-quickcheck2
18+ ];
19+ description = "Implementations of the SHA suite of message digest functions";
20+ license = stdenv.lib.licenses.bsd3;
21+}
test/golden-test-cases/Strafunski-StrategyLib.cabalnew file+59
@@ -0,0 +1,59 @@
1+name: Strafunski-StrategyLib
2+version: 5.0.0.10
3+synopsis: Library for strategic programming
4+description: This is a version of the StrategyLib library originally shipped with Strafunski, Cabalized and updated to newer versions of GHC. A description of much of StrategyLib can be found in the paper "Design Patterns for Functional Strategic Programming."
5+license: BSD3
6+license-file: LICENSE
7+author: Ralf Laemmel, Joost Visser
8+maintainer: darmanithird@gmail.com,alan.zimm@gmail.com
9+category: Generics
10+build-type: Simple
11+cabal-version: >=1.8
12+
13+source-repository head
14+ type: git
15+ location: https://github.com/jkoppel/Strafunski-StrategyLib
16+
17+
18+library
19+
20+ Extensions:
21+ OverlappingInstances,
22+ FlexibleInstances,
23+ FlexibleContexts,
24+ UndecidableInstances,
25+ MultiParamTypeClasses,
26+ FunctionalDependencies,
27+ Rank2Types
28+
29+ exposed-modules:
30+ Control.Monad.Run,
31+ Data.Generics.Strafunski.StrategyLib.ChaseImports,
32+ Data.Generics.Strafunski.StrategyLib.ContainerTheme,
33+ Data.Generics.Strafunski.StrategyLib.EffectTheme,
34+ Data.Generics.Strafunski.StrategyLib.FixpointTheme,
35+ Data.Generics.Strafunski.StrategyLib.FlowTheme,
36+ Data.Generics.Strafunski.StrategyLib.KeyholeTheme,
37+ Data.Generics.Strafunski.StrategyLib.MetricsTheme,
38+ Data.Generics.Strafunski.StrategyLib.MonadicFunctions,
39+ Data.Generics.Strafunski.StrategyLib.MoreMonoids,
40+ Data.Generics.Strafunski.StrategyLib.NameTheme,
41+ Data.Generics.Strafunski.StrategyLib.OverloadingTheme,
42+ Data.Generics.Strafunski.StrategyLib.PathTheme,
43+ Data.Generics.Strafunski.StrategyLib.RefactoringTheme,
44+ Data.Generics.Strafunski.StrategyLib.StrategyInfix,
45+ Data.Generics.Strafunski.StrategyLib.StrategyLib,
46+ Data.Generics.Strafunski.StrategyLib.StrategyPrelude,
47+ Data.Generics.Strafunski.StrategyLib.TraversalTheme,
48+ Data.Generics.Strafunski.StrategyLib.Models.Deriving.StrategyPrimitives,
49+ Data.Generics.Strafunski.StrategyLib.Models.Deriving.TermRep
50+
51+-- other-modules:
52+
53+ build-depends:
54+ base > 4.4 && < 4.10,
55+ mtl > 2.2,
56+ syb > 0.3 && < 4.1,
57+ directory > 1.1 && < 1.4,
58+ transformers >= 0.2
59+
test/golden-test-cases/Strafunski-StrategyLib.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, directory, fetchurl, mtl, syb, transformers
2+}:
3+mkDerivation {
4+ pname = "Strafunski-StrategyLib";
5+ version = "5.0.0.10";
6+ src = fetchurl {
7+ url = "http://example.org/";
8+ sha256 = "abc";
9+ };
10+ libraryHaskellDepends = [ base directory mtl syb transformers ];
11+ description = "Library for strategic programming";
12+ license = stdenv.lib.licenses.bsd3;
13+}
test/golden-test-cases/accelerate-fftw.cabalnew file+41
@@ -0,0 +1,41 @@
1+Name: accelerate-fftw
2+Version: 1.0
3+License: BSD3
4+License-File: LICENSE
5+Author: Henning Thielemann <haskell@henning-thielemann.de>
6+Maintainer: Henning Thielemann <haskell@henning-thielemann.de>
7+Homepage: http://hub.darcs.net/thielema/accelerate-fftw/
8+Category: Math
9+Synopsis: Accelerate frontend to the FFTW library (Fourier transform)
10+Description:
11+ An interface to the Fastest Fourier Transform in the West (FFTW)
12+ for the @accelerate@ framework.
13+Tested-With: GHC==7.8.3
14+Cabal-Version: >=1.14
15+Build-Type: Simple
16+
17+Source-Repository this
18+ Tag: 1.0
19+ Type: darcs
20+ Location: http://hub.darcs.net/thielema/accelerate-fftw/
21+
22+Source-Repository head
23+ Type: darcs
24+ Location: http://hub.darcs.net/thielema/accelerate-fftw/
25+
26+Library
27+ Build-Depends:
28+ fft >=0.1.7 && <0.2,
29+ carray >=0.1.5 && <0.2,
30+ storable-complex >=0.2.1 && <0.3,
31+ accelerate-io >=1.0 && <1.1,
32+ accelerate >=1.0 && <1.2,
33+ base >=4.5 && <4.11
34+
35+ GHC-Options: -Wall -fwarn-missing-import-lists
36+ Hs-Source-Dirs: src
37+ Default-Language: Haskell98
38+ Exposed-Modules:
39+ Data.Array.Accelerate.FFTW.Manifest
40+ Other-Modules:
41+ Data.Array.Accelerate.CArray.Conversion
test/golden-test-cases/accelerate-fftw.nix.goldennew file+17
@@ -0,0 +1,17 @@
1+{ mkDerivation, accelerate, accelerate-io, base, carray, fetchurl
2+, fft, storable-complex
3+}:
4+mkDerivation {
5+ pname = "accelerate-fftw";
6+ version = "1.0";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [
12+ accelerate accelerate-io base carray fft storable-complex
13+ ];
14+ homepage = "http://hub.darcs.net/thielema/accelerate-fftw/";
15+ description = "Accelerate frontend to the FFTW library (Fourier transform)";
16+ license = stdenv.lib.licenses.bsd3;
17+}
test/golden-test-cases/accelerate.cabalnew file+412
@@ -0,0 +1,412 @@
1+Name: accelerate
2+Version: 1.1.1.0
3+Cabal-version: >= 1.8
4+Tested-with: GHC >= 7.8
5+Build-type: Simple
6+
7+Synopsis: An embedded language for accelerated array processing
8+
9+Description:
10+ @Data.Array.Accelerate@ defines an embedded array language for computations
11+ for high-performance computing in Haskell. Computations on multi-dimensional,
12+ regular arrays are expressed in the form of parameterised collective
13+ operations, such as maps, reductions, and permutations. These computations may
14+ then be online compiled and executed on a range of architectures.
15+ .
16+ [/A simple example/]
17+ .
18+ As a simple example, consider the computation of a dot product of two vectors
19+ of floating point numbers:
20+ .
21+ > dotp :: Acc (Vector Float) -> Acc (Vector Float) -> Acc (Scalar Float)
22+ > dotp xs ys = fold (+) 0 (zipWith (*) xs ys)
23+ .
24+ Except for the type, this code is almost the same as the corresponding Haskell
25+ code on lists of floats. The types indicate that the computation may be
26+ online-compiled for performance - for example, using
27+ @Data.Array.Accelerate.LLVM.PTX@ it may be on-the-fly off-loaded to the GPU.
28+ .
29+ [/Additional components/]
30+ .
31+ The following supported add-ons are available as separate packages. Install
32+ them from Hackage with @cabal install \<package\>@
33+ .
34+ * @accelerate-llvm-native@: Backend supporting parallel execution on
35+ multicore CPUs.
36+ .
37+ * @accelerate-llvm-ptx@: Backend supporting parallel execution on
38+ CUDA-capable NVIDIA GPUs. Requires a GPU with compute capability 2.0 or
39+ greater. See the following table for supported GPUs:
40+ <http://en.wikipedia.org/wiki/CUDA#Supported_GPUs>
41+ .
42+ * @accelerate-examples@: Computational kernels and applications showcasing
43+ the use of Accelerate as well as a regression test suite, supporting
44+ function and performance testing.
45+ .
46+ * @accelerate-io@: Fast conversions between Accelerate arrays and other
47+ array formats (including vector and repa).
48+ .
49+ * @accelerate-fft@: Discrete Fourier transforms, with FFI bindings to
50+ optimised implementations.
51+ .
52+ * @accelerate-bignum@: Fixed-width large integer arithmetic.
53+ .
54+ * @colour-accelerate@: Colour representations in Accelerate (RGB, sRGB, HSV,
55+ and HSL).
56+ .
57+ * @gloss-accelerate@: Generate gloss pictures from Accelerate.
58+ .
59+ * @gloss-raster-accelerate@: Parallel rendering of raster images and
60+ animations.
61+ .
62+ * @lens-accelerate@: Lens operators for Accelerate types.
63+ .
64+ * @linear-accelerate@: Linear vector spaces in Accelerate.
65+ .
66+ * @mwc-random-accelerate@: Generate Accelerate arrays filled with high
67+ quality pseudorandom numbers.
68+ .
69+ [/Examples and documentation/]
70+ .
71+ Haddock documentation is included in the package
72+ .
73+ The @accelerate-examples@ package demonstrates a range of computational
74+ kernels and several complete applications, including:
75+ .
76+ * An implementation of the Canny edge detection algorithm
77+ .
78+ * An interactive Mandelbrot set generator
79+ .
80+ * A particle-based simulation of stable fluid flows
81+ .
82+ * An /n/-body simulation of gravitational attraction between solid particles
83+ .
84+ * An implementation of the PageRank algorithm
85+ .
86+ * A simple interactive ray tracer
87+ .
88+ * A particle based simulation of stable fluid flows
89+ .
90+ * A cellular automata simulation
91+ .
92+ * A \"password recovery\" tool, for dictionary lookup of MD5 hashes
93+ .
94+ @lulesh-accelerate@ is an implementation of the Livermore Unstructured
95+ Lagrangian Explicit Shock Hydrodynamics (LULESH) mini-app. LULESH represents a
96+ typical hydrodynamics code such as ALE3D, but is highly simplified and
97+ hard-coded to solve the Sedov blast problem on an unstructured hexahedron
98+ mesh.
99+ .
100+ [/Mailing list and contacts/]
101+ .
102+ * Mailing list: <accelerate-haskell@googlegroups.com> (discussion of both
103+ use and development welcome).
104+ .
105+ * Sign up for the mailing list here:
106+ <http://groups.google.com/group/accelerate-haskell>
107+ .
108+ * Bug reports and issue tracking:
109+ <https://github.com/AccelerateHS/accelerate/issues>
110+ .
111+
112+License: BSD3
113+License-file: LICENSE
114+Author: Manuel M T Chakravarty,
115+ Robert Clifton-Everest,
116+ Gabriele Keller,
117+ Ben Lever,
118+ Trevor L. McDonell,
119+ Ryan Newtown,
120+ Sean Seefried
121+Maintainer: Trevor L. McDonell <tmcdonell@cse.unsw.edu.au>
122+Homepage: https://github.com/AccelerateHS/accelerate/
123+Bug-reports: https://github.com/AccelerateHS/accelerate/issues
124+
125+Category: Compilers/Interpreters, Concurrency, Data, Parallelism
126+Stability: Experimental
127+
128+Extra-source-files:
129+ README.md
130+ CHANGELOG.md
131+
132+Flag debug
133+ Default: False
134+ Description:
135+ Enable debug tracing messages. The following options are read from the
136+ environment variable @ACCELERATE_FLAGS@, and via the command-line as:
137+ .
138+ > ./program +ACC ... -ACC
139+ .
140+ Note that a backend may not implement (or be applicable to) all options.
141+ .
142+ The following flags control phases of the compiler. The are enabled with
143+ @-f\<flag\>@ and can be reveresed with @-fno-\<flag\>@:
144+ .
145+ * @acc-sharing@: Enable sharing recovery of array expressions (True).
146+ .
147+ * @exp-sharing@: Enable sharing recovery of scalar expressions (True).
148+ .
149+ * @fusion@: Enable array fusion (True).
150+ .
151+ * @simplify@: Enable program simplification phase (True).
152+ .
153+ * @flush-cache@: Clear any persistent caches on program startup (False).
154+ .
155+ * @force-recomp@: Force recompilation of array programs (False).
156+ .
157+ * @fast-math@: Allow algebraically equivalent transformations which may
158+ change floating point results (e.g., reassociate) (True).
159+ .
160+ The following options control debug message output, and are enabled with
161+ @-d\<flag\>@.
162+ .
163+ * @verbose@: Be extra chatty.
164+ .
165+ * @dump-phases@: Print timing information about each phase of the compiler.
166+ Enable GC stats (@+RTS -t@ or otherwise) for memory usage information.
167+ .
168+ * @dump-sharing@: Print information related to sharing recovery.
169+ .
170+ * @dump-simpl-stats@: Print statistics related to fusion & simplification.
171+ .
172+ * @dump-simpl-iterations@: Print a summary after each simplifier iteration.
173+ .
174+ * @dump-vectorisation@: Print information related to the vectoriser.
175+ .
176+ * @dump-dot@: Generate a representation of the program graph in Graphviz
177+ DOT format.
178+ .
179+ * @dump-simpl-dot@: Generate a more compact representation of the program
180+ graph in Graphviz DOT format. In particular, scalar expressions are
181+ elided.
182+ .
183+ * @dump-gc@: Print information related to the Accelerate garbage
184+ collector.
185+ .
186+ * @dump-gc-stats@: Print aggregate garbage collection information at the
187+ end of program execution.
188+ .
189+ * @dubug-cc@: Include debug symbols in the generated and compiled kernels.
190+ .
191+ * @dump-cc@: Print information related to kernel code
192+ generation/compilation. Print the generated code if @verbose@.
193+ .
194+ * @dump-ld@: Print information related to runtime linking.
195+ .
196+ * @dump-asm@: Print information related to kernel assembly. Print the
197+ assembled code if @verbose@.
198+ .
199+ * @dump-exec@: Print information related to program execution.
200+ .
201+ * @dump-sched@: Print information related to execution scheduling.
202+ .
203+
204+Flag ekg
205+ Default: False
206+ Description:
207+ Enable hooks for monitoring the running application using EKG. Implies
208+ @debug@ mode. In order to view the metrics, your application will need to
209+ call @Data.Array.Accelerate.Debug.beginMonitoring@ before running any
210+ Accelerate computations. This will launch the server on the local machine at
211+ port 8000.
212+ .
213+ Alternatively, if you wish to configure the EKG monitoring server you can
214+ initialise it like so:
215+ .
216+ > import Data.Array.Accelerate.Debug
217+ >
218+ > import System.Metrics
219+ > import System.Remote.Monitoring
220+ >
221+ > main :: IO ()
222+ > main = do
223+ > store <- initAccMetrics
224+ > registerGcMetrics store -- optional
225+ >
226+ > server <- forkServerWith store "localhost" 8000
227+ >
228+ > ...
229+ .
230+ Note that, as with any program utilising EKG, in order to collect Haskell GC
231+ statistics, you must either run the program with:
232+ .
233+ > +RTS -T -RTS
234+ .
235+ or compile it with:
236+ .
237+ > -with-rtsopts=-T
238+ .
239+
240+Flag bounds-checks
241+ Description: Enable bounds checking
242+ Default: True
243+
244+Flag unsafe-checks
245+ Description: Enable bounds checking in unsafe operations
246+ Default: False
247+
248+Flag internal-checks
249+ Description: Enable internal consistency checks
250+ Default: False
251+
252+Library
253+ Build-depends:
254+ base >= 4.7 && < 4.11
255+ , base-orphans >= 0.3
256+ , containers >= 0.3
257+ , deepseq >= 1.3
258+ , directory >= 1.0
259+ , exceptions >= 0.6
260+ , fclabels >= 2.0
261+ , filepath >= 1.0
262+ , ghc-prim
263+ , hashable >= 1.1
264+ , hashtables >= 1.0
265+ , mtl >= 2.0
266+ , ansi-wl-pprint >= 0.6
267+ , template-haskell
268+ , time >= 1.4
269+ , transformers >= 0.3
270+ , unique
271+ , unordered-containers >= 0.2
272+
273+ Exposed-modules:
274+ -- The core language and reference implementation
275+ Data.Array.Accelerate
276+ Data.Array.Accelerate.Interpreter
277+
278+ -- Prelude-like
279+ Data.Array.Accelerate.Data.Bits
280+ Data.Array.Accelerate.Data.Complex
281+ Data.Array.Accelerate.Data.Fold
282+ Data.Array.Accelerate.Data.Monoid
283+
284+ -- For backend development
285+ Data.Array.Accelerate.AST
286+ Data.Array.Accelerate.Analysis.Hash
287+ Data.Array.Accelerate.Analysis.Match
288+ Data.Array.Accelerate.Analysis.Shape
289+ Data.Array.Accelerate.Analysis.Stencil
290+ Data.Array.Accelerate.Analysis.Type
291+ Data.Array.Accelerate.Array.Data
292+ Data.Array.Accelerate.Array.Remote
293+ Data.Array.Accelerate.Array.Remote.Class
294+ Data.Array.Accelerate.Array.Remote.LRU
295+ Data.Array.Accelerate.Array.Remote.Table
296+ Data.Array.Accelerate.Array.Representation
297+ Data.Array.Accelerate.Array.Sugar
298+ Data.Array.Accelerate.Array.Unique
299+ Data.Array.Accelerate.Async
300+ Data.Array.Accelerate.Debug
301+ Data.Array.Accelerate.Error
302+ Data.Array.Accelerate.FullList
303+ Data.Array.Accelerate.Lifetime
304+ Data.Array.Accelerate.Pretty
305+ Data.Array.Accelerate.Product
306+ Data.Array.Accelerate.Smart
307+ Data.Array.Accelerate.Trafo
308+ Data.Array.Accelerate.Type
309+
310+ Other-modules:
311+ Data.Atomic
312+ Data.Array.Accelerate.Analysis.Hash.TH
313+ Data.Array.Accelerate.Array.Lifted
314+ Data.Array.Accelerate.Array.Remote.Nursery
315+ Data.Array.Accelerate.Classes
316+ Data.Array.Accelerate.Classes.Bounded
317+ Data.Array.Accelerate.Classes.Enum
318+ Data.Array.Accelerate.Classes.Eq
319+ Data.Array.Accelerate.Classes.Floating
320+ Data.Array.Accelerate.Classes.Fractional
321+ Data.Array.Accelerate.Classes.FromIntegral
322+ Data.Array.Accelerate.Classes.Integral
323+ Data.Array.Accelerate.Classes.Num
324+ Data.Array.Accelerate.Classes.Ord
325+ Data.Array.Accelerate.Classes.Real
326+ Data.Array.Accelerate.Classes.RealFloat
327+ Data.Array.Accelerate.Classes.RealFrac
328+ Data.Array.Accelerate.Classes.ToFloating
329+ Data.Array.Accelerate.Debug.Flags
330+ Data.Array.Accelerate.Debug.Monitoring
331+ Data.Array.Accelerate.Debug.Stats
332+ Data.Array.Accelerate.Debug.Timed
333+ Data.Array.Accelerate.Debug.Trace
334+ Data.Array.Accelerate.Language
335+ Data.Array.Accelerate.Lift
336+ Data.Array.Accelerate.Prelude
337+ Data.Array.Accelerate.Pretty.Graphviz
338+ Data.Array.Accelerate.Pretty.Graphviz.Monad
339+ Data.Array.Accelerate.Pretty.Graphviz.Type
340+ Data.Array.Accelerate.Pretty.Print
341+ Data.Array.Accelerate.Trafo.Algebra
342+ Data.Array.Accelerate.Trafo.Base
343+ Data.Array.Accelerate.Trafo.Fusion
344+ Data.Array.Accelerate.Trafo.Rewrite
345+ Data.Array.Accelerate.Trafo.Sharing
346+ Data.Array.Accelerate.Trafo.Shrink
347+ Data.Array.Accelerate.Trafo.Simplify
348+ Data.Array.Accelerate.Trafo.Substitution
349+ -- Data.Array.Accelerate.Trafo.Vectorise
350+
351+ c-sources: cbits/atomic.c
352+
353+ if flag(debug) || flag(ekg)
354+ cpp-options: -DACCELERATE_DEBUG
355+
356+ if flag(ekg)
357+ cpp-options: -DACCELERATE_MONITORING
358+ build-depends:
359+ async >= 2.0
360+ , ekg >= 0.1
361+ , ekg-core >= 0.1
362+ , text >= 1.0
363+ , time >= 1.4
364+
365+ if flag(bounds-checks)
366+ cpp-options: -DACCELERATE_BOUNDS_CHECKS
367+
368+ if flag(unsafe-checks)
369+ cpp-options: -DACCELERATE_UNSAFE_CHECKS
370+
371+ if flag(internal-checks)
372+ cpp-options: -DACCELERATE_INTERNAL_CHECKS
373+
374+ if os(windows)
375+ cpp-options: -DWIN32
376+ build-depends: Win32
377+ else
378+ cpp-options: -DUNIX
379+ build-depends: unix
380+
381+ ghc-options: -O2 -Wall -funbox-strict-fields -fno-warn-name-shadowing
382+ ghc-prof-options: -caf-all -auto-all
383+
384+ if impl(ghc >= 7.0)
385+ ghc-options: -fspec-constr-count=25
386+
387+ if impl(ghc == 7.*)
388+ ghc-options: -fcontext-stack=35
389+
390+ if impl(ghc >= 8.0)
391+ ghc-options: -freduction-depth=35
392+
393+ if impl(ghc < 7.10)
394+ build-depends:
395+ th-lift-instances >= 0.1
396+
397+ -- Don't add the extensions list here. Instead, place individual LANGUAGE
398+ -- pragmas in the files that require a specific extension. This means the
399+ -- project loads in GHCi, and avoids extension clashes.
400+ --
401+ -- Extensions:
402+
403+source-repository head
404+ Type: git
405+ Location: git://github.com/AccelerateHS/accelerate.git
406+
407+source-repository this
408+ Type: git
409+ Tag: 1.1.1.0
410+ Location: git://github.com/AccelerateHS/accelerate.git
411+
412+-- vim: nospell
test/golden-test-cases/accelerate.nix.goldennew file+21
@@ -0,0 +1,21 @@
1+{ mkDerivation, ansi-wl-pprint, base, base-orphans, containers
2+, deepseq, directory, exceptions, fclabels, fetchurl, filepath
3+, ghc-prim, hashable, hashtables, mtl, template-haskell, time
4+, transformers, unique, unix, unordered-containers
5+}:
6+mkDerivation {
7+ pname = "accelerate";
8+ version = "1.1.1.0";
9+ src = fetchurl {
10+ url = "http://example.org/";
11+ sha256 = "abc";
12+ };
13+ libraryHaskellDepends = [
14+ ansi-wl-pprint base base-orphans containers deepseq directory
15+ exceptions fclabels filepath ghc-prim hashable hashtables mtl
16+ template-haskell time transformers unique unix unordered-containers
17+ ];
18+ homepage = "https://github.com/AccelerateHS/accelerate/";
19+ description = "An embedded language for accelerated array processing";
20+ license = stdenv.lib.licenses.bsd3;
21+}
test/golden-test-cases/active.cabalnew file+44
@@ -0,0 +1,44 @@
1+name: active
2+version: 0.2.0.13
3+synopsis: Abstractions for animation
4+description: "Active" abstraction for animated things with finite start and end times.
5+license: BSD3
6+license-file: LICENSE
7+author: Brent Yorgey
8+maintainer: byorgey@gmail.com
9+copyright: (c) 2011-2015 Brent Yorgey
10+category: Data
11+build-type: Simple
12+cabal-version: >=1.10
13+extra-source-files: CHANGES, README.markdown, diagrams/*.svg
14+extra-doc-files: diagrams/*.svg
15+tested-with: GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.2, GHC == 8.0.1
16+bug-reports: https://github.com/diagrams/active/issues
17+source-repository head
18+ type: git
19+ location: https://github.com/diagrams/active.git
20+
21+library
22+ exposed-modules: Data.Active
23+ build-depends: base >= 4.0 && < 4.11,
24+ vector >= 0.10,
25+ semigroups >= 0.1 && < 0.19,
26+ semigroupoids >= 1.2 && < 5.3,
27+ lens >= 4.0 && < 4.16,
28+ linear >= 1.14 && < 1.21
29+ hs-source-dirs: src
30+ default-language: Haskell2010
31+
32+test-suite active-tests
33+ type: exitcode-stdio-1.0
34+ main-is: active-tests.hs
35+ build-depends: base >= 4.0 && < 4.10,
36+ vector >= 0.10,
37+ semigroups >= 0.1 && < 0.19,
38+ semigroupoids >= 1.2 && < 5.3,
39+ lens >= 4.0 && < 4.16,
40+ linear >= 1.14 && < 1.21,
41+ QuickCheck >= 2.9 && < 2.10
42+ other-modules: Data.Active
43+ hs-source-dirs: src, test
44+ default-language: Haskell2010
test/golden-test-cases/active.nix.goldennew file+19
@@ -0,0 +1,19 @@
1+{ mkDerivation, base, fetchurl, lens, linear, QuickCheck
2+, semigroupoids, semigroups, vector
3+}:
4+mkDerivation {
5+ pname = "active";
6+ version = "0.2.0.13";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [
12+ base lens linear semigroupoids semigroups vector
13+ ];
14+ testHaskellDepends = [
15+ base lens linear QuickCheck semigroupoids semigroups vector
16+ ];
17+ description = "Abstractions for animation";
18+ license = stdenv.lib.licenses.bsd3;
19+}
test/golden-test-cases/adjunctions.cabalnew file+72
@@ -0,0 +1,72 @@
1+name: adjunctions
2+category: Data Structures, Adjunctions
3+version: 4.3
4+license: BSD3
5+cabal-version: >= 1.6
6+license-file: LICENSE
7+author: Edward A. Kmett
8+maintainer: Edward A. Kmett <ekmett@gmail.com>
9+stability: provisional
10+homepage: http://github.com/ekmett/adjunctions/
11+bug-reports: http://github.com/ekmett/adjunctions/issues
12+copyright: Copyright (C) 2011-2014 Edward A. Kmett
13+synopsis: Adjunctions and representable functors
14+description: Adjunctions and representable functors
15+build-type: Simple
16+extra-source-files:
17+ .ghci
18+ .gitignore
19+ .travis.yml
20+ .vim.custom
21+ travis/cabal-apt-install
22+ travis/config
23+ HLint.hs
24+ CHANGELOG.markdown
25+ README.markdown
26+
27+source-repository head
28+ type: git
29+ location: git://github.com/ekmett/adjunctions.git
30+
31+library
32+ hs-source-dirs: src
33+
34+ other-extensions:
35+ CPP
36+ FunctionalDependencies
37+ FlexibleContexts
38+ MultiParamTypeClasses
39+ Rank2Types
40+ UndecidableInstances
41+
42+ build-depends:
43+ array >= 0.3.0.2 && < 0.7,
44+ base >= 4 && < 5,
45+ comonad >= 4 && < 6,
46+ containers >= 0.3 && < 0.6,
47+ contravariant >= 1 && < 2,
48+ distributive >= 0.4 && < 1,
49+ free >= 4 && < 5,
50+ mtl >= 2.0.1 && < 2.3,
51+ profunctors >= 4 && < 6,
52+ tagged >= 0.7 && < 1,
53+ semigroupoids >= 4 && < 6,
54+ semigroups >= 0.11 && < 1,
55+ transformers >= 0.2 && < 0.6,
56+ transformers-compat >= 0.3 && < 1,
57+ void >= 0.5.5.1 && < 1
58+
59+ exposed-modules:
60+ Control.Comonad.Representable.Store
61+ Control.Comonad.Trans.Adjoint
62+ Control.Monad.Representable.Reader
63+ Control.Monad.Representable.State
64+ Control.Monad.Trans.Adjoint
65+ Control.Monad.Trans.Contravariant.Adjoint
66+ Control.Monad.Trans.Conts
67+ Data.Functor.Adjunction
68+ Data.Functor.Contravariant.Adjunction
69+ Data.Functor.Contravariant.Rep
70+ Data.Functor.Rep
71+
72+ ghc-options: -Wall
test/golden-test-cases/adjunctions.nix.goldennew file+20
@@ -0,0 +1,20 @@
1+{ mkDerivation, array, base, comonad, containers, contravariant
2+, distributive, fetchurl, free, mtl, profunctors, semigroupoids
3+, semigroups, tagged, transformers, transformers-compat, void
4+}:
5+mkDerivation {
6+ pname = "adjunctions";
7+ version = "4.3";
8+ src = fetchurl {
9+ url = "http://example.org/";
10+ sha256 = "abc";
11+ };
12+ libraryHaskellDepends = [
13+ array base comonad containers contravariant distributive free mtl
14+ profunctors semigroupoids semigroups tagged transformers
15+ transformers-compat void
16+ ];
17+ homepage = "http://github.com/ekmett/adjunctions/";
18+ description = "Adjunctions and representable functors";
19+ license = stdenv.lib.licenses.bsd3;
20+}
test/golden-test-cases/aeson-diff.cabalnew file+118
@@ -0,0 +1,118 @@
1+name: aeson-diff
2+version: 1.1.0.4
3+synopsis: Extract and apply patches to JSON documents.
4+description:
5+ .
6+ This is a small library for working with changes to JSON documents. It
7+ includes a library and two command-line executables in the style of the
8+ diff(1) and patch(1) commands available on many systems.
9+ .
10+homepage: https://github.com/thsutton/aeson-diff
11+license: BSD3
12+license-file: LICENSE
13+author: Thomas Sutton
14+maintainer: me@thomas-sutton.id.au
15+copyright: (c) 2015 Thomas Sutton and others.
16+category: JSON, Web, Algorithms
17+build-type: Simple
18+cabal-version: >=1.10
19+extra-source-files: README.md
20+ , CHANGELOG.md
21+ , stack.yaml
22+ , test/data/rfc6902/*.json
23+ , test/data/rfc6902/*.txt
24+ , test/data/cases/*.json
25+ , test/data/cases/*.txt
26+
27+source-repository HEAD
28+ type: git
29+ location: https://github.com/thsutton/aeson-diff
30+
31+library
32+ default-language: Haskell2010
33+ hs-source-dirs: lib
34+ exposed-modules: Data.Aeson.Diff
35+ , Data.Aeson.Patch
36+ , Data.Aeson.Pointer
37+ build-depends: base >=4.5 && <4.11
38+ , aeson
39+ , bytestring >= 0.10
40+ , edit-distance-vector
41+ , hashable
42+ , mtl
43+ , scientific
44+ , text
45+ , unordered-containers
46+ , vector
47+
48+executable json-diff
49+ default-language: Haskell2010
50+ hs-source-dirs: src
51+ main-is: diff.hs
52+ build-depends: base
53+ , aeson
54+ , aeson-diff
55+ , bytestring
56+ , optparse-applicative
57+ , text
58+
59+executable json-patch
60+ default-language: Haskell2010
61+ hs-source-dirs: src
62+ main-is: patch.hs
63+ build-depends: base
64+ , aeson
65+ , aeson-diff
66+ , bytestring
67+ , optparse-applicative
68+
69+test-suite properties
70+ default-language: Haskell2010
71+ type: exitcode-stdio-1.0
72+ hs-source-dirs: test
73+ main-is: properties.hs
74+ build-depends: base
75+ , QuickCheck
76+ , aeson
77+ , aeson-diff
78+ , bytestring
79+ , quickcheck-instances
80+ , text
81+ , unordered-containers
82+ , vector
83+
84+test-suite examples
85+ default-language: Haskell2010
86+ type: exitcode-stdio-1.0
87+ hs-source-dirs: test
88+ main-is: examples.hs
89+ build-depends: base
90+ , Glob
91+ , QuickCheck
92+ , aeson
93+ , aeson-diff
94+ , bytestring
95+ , directory
96+ , filepath
97+ , quickcheck-instances
98+ , text
99+ , unordered-containers
100+ , vector
101+
102+test-suite doctests
103+ default-language: Haskell2010
104+ hs-source-dirs: test
105+ type: exitcode-stdio-1.0
106+ ghc-options: -threaded
107+ main-is: doctests.hs
108+ build-depends: base
109+ , QuickCheck
110+ , doctest >= 0.9
111+
112+test-suite hlint-check
113+ default-language: Haskell2010
114+ type: exitcode-stdio-1.0
115+ hs-source-dirs: test
116+ main-is: hlint-check.hs
117+ build-depends: base
118+ , hlint
test/golden-test-cases/aeson-diff.nix.goldennew file+29
@@ -0,0 +1,29 @@
1+{ mkDerivation, aeson, base, bytestring, directory, doctest
2+, edit-distance-vector, fetchurl, filepath, Glob, hashable, hlint
3+, mtl, optparse-applicative, QuickCheck, quickcheck-instances
4+, scientific, text, unordered-containers, vector
5+}:
6+mkDerivation {
7+ pname = "aeson-diff";
8+ version = "1.1.0.4";
9+ src = fetchurl {
10+ url = "http://example.org/";
11+ sha256 = "abc";
12+ };
13+ isLibrary = true;
14+ isExecutable = true;
15+ libraryHaskellDepends = [
16+ aeson base bytestring edit-distance-vector hashable mtl scientific
17+ text unordered-containers vector
18+ ];
19+ executableHaskellDepends = [
20+ aeson base bytestring optparse-applicative text
21+ ];
22+ testHaskellDepends = [
23+ aeson base bytestring directory doctest filepath Glob hlint
24+ QuickCheck quickcheck-instances text unordered-containers vector
25+ ];
26+ homepage = "https://github.com/thsutton/aeson-diff";
27+ description = "Extract and apply patches to JSON documents";
28+ license = stdenv.lib.licenses.bsd3;
29+}
test/golden-test-cases/aeson-pretty.cabalnew file+74
@@ -0,0 +1,74 @@
1+name: aeson-pretty
2+version: 0.8.5
3+license: BSD3
4+license-file: LICENSE
5+category: Text, Web, JSON, Pretty Printer
6+copyright: Copyright 2011 Falko Peters
7+author: Falko Peters <falko.peters@gmail.com>
8+maintainer: Falko Peters <falko.peters@gmail.com>
9+stability: experimental
10+cabal-version: >= 1.8
11+homepage: http://github.com/informatikr/aeson-pretty
12+bug-reports: http://github.com/informatikr/aeson-pretty/issues
13+build-type: Simple
14+synopsis: JSON pretty-printing library and command-line tool.
15+description:
16+ A JSON pretty-printing library compatible with aeson as well as
17+ a command-line tool to improve readabilty of streams of JSON data.
18+ .
19+ The /library/ provides the function "encodePretty". It is a drop-in
20+ replacement for aeson's "encode" function, producing JSON-ByteStrings for
21+ human readers.
22+ .
23+ The /command-line tool/ reads JSON from stdin and writes prettified JSON
24+ to stdout. It also offers a complementary "compact"-mode, essentially the
25+ opposite of pretty-printing. If you specify @-flib-only@ like this
26+ .
27+ > cabal install -flib-only aeson-pretty
28+ .
29+ the command-line tool will NOT be installed.
30+
31+extra-source-files:
32+ README.markdown
33+
34+flag lib-only
35+ description: Only build/install the library, NOT the command-line tool.
36+ default: False
37+
38+library
39+ exposed-modules:
40+ Data.Aeson.Encode.Pretty
41+
42+ build-depends:
43+ aeson >= 0.7,
44+ base >= 4.5,
45+ base-compat >= 0.9 && < 0.10,
46+ bytestring >= 0.9,
47+ scientific >= 0.3,
48+ vector >= 0.9,
49+ text >= 0.11,
50+ unordered-containers >= 0.1.3.0
51+
52+ ghc-options: -Wall
53+
54+executable aeson-pretty
55+ hs-source-dirs: cli-tool
56+ main-is: Main.hs
57+
58+ if flag(lib-only)
59+ buildable: False
60+ else
61+ build-depends:
62+ aeson >= 0.6,
63+ aeson-pretty,
64+ attoparsec >= 0.10,
65+ base == 4.*,
66+ bytestring >= 0.9,
67+ cmdargs >= 0.7
68+
69+ ghc-options: -Wall
70+ ghc-prof-options: -auto-all
71+
72+source-repository head
73+ type: git
74+ location: http://github.com/informatikr/aeson-pretty
test/golden-test-cases/aeson-pretty.nix.goldennew file+23
@@ -0,0 +1,23 @@
1+{ mkDerivation, aeson, attoparsec, base, base-compat, bytestring
2+, cmdargs, fetchurl, scientific, text, unordered-containers, vector
3+}:
4+mkDerivation {
5+ pname = "aeson-pretty";
6+ version = "0.8.5";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ isLibrary = true;
12+ isExecutable = true;
13+ libraryHaskellDepends = [
14+ aeson base base-compat bytestring scientific text
15+ unordered-containers vector
16+ ];
17+ executableHaskellDepends = [
18+ aeson attoparsec base bytestring cmdargs
19+ ];
20+ homepage = "http://github.com/informatikr/aeson-pretty";
21+ description = "JSON pretty-printing library and command-line tool";
22+ license = stdenv.lib.licenses.bsd3;
23+}
test/golden-test-cases/algebraic-graphs.cabalnew file+142
@@ -0,0 +1,142 @@
1+name: algebraic-graphs
2+version: 0.0.5
3+synopsis: A library for algebraic graph construction and transformation
4+license: MIT
5+license-file: LICENSE
6+author: Andrey Mokhov <andrey.mokhov@gmail.com>, github: @snowleopard
7+maintainer: Andrey Mokhov <andrey.mokhov@gmail.com>, github: @snowleopard
8+copyright: Andrey Mokhov, 2016-2017
9+homepage: https://github.com/snowleopard/alga
10+category: Algebra, Algorithms, Data Structures, Graphs
11+build-type: Simple
12+cabal-version: >=1.18
13+tested-with: GHC==8.0.2
14+stability: experimental
15+description:
16+ <https://github.com/snowleopard/alga Alga> is a library for algebraic construction and
17+ manipulation of graphs in Haskell. See <https://github.com/snowleopard/alga-paper this paper>
18+ for the motivation behind the library, the underlying theory and implementation details.
19+ .
20+ The top-level module
21+ <http://hackage.haskell.org/package/algebraic-graphs/docs/Algebra-Graph.html Algebra.Graph>
22+ defines the core data type
23+ <http://hackage.haskell.org/package/algebraic-graphs/docs/Algebra-Graph.html#t:Graph Graph>,
24+ which is a deep embedding of four graph construction primitives /empty/,
25+ /vertex/, /overlay/ and /connect/. More conventional graph representations can be found in
26+ <http://hackage.haskell.org/package/algebraic-graphs/docs/Algebra-Graph-AdjacencyMap.html Algebra.Graph.AdjacencyMap>
27+ and
28+ <http://hackage.haskell.org/package/algebraic-graphs/docs/Algebra-Graph-Relation.html Algebra.Graph.Relation>.
29+ .
30+ The type classes defined in
31+ <http://hackage.haskell.org/package/algebraic-graphs/docs/Algebra-Graph-Class.html Algebra.Graph.Class>
32+ and
33+ <http://hackage.haskell.org/package/algebraic-graphs/docs/Algebra-Graph-HigherKinded-Class.html Algebra.Graph.HigherKinded.Class>
34+ can be used for polymorphic graph construction and manipulation. Also see
35+ <http://hackage.haskell.org/package/algebraic-graphs/docs/Algebra-Graph-Fold.html Algebra.Graph.Fold>
36+ that defines the Boehm-Berarducci encoding of algebraic graphs and provides additional
37+ flexibility for polymorphic graph manipulation.
38+ .
39+ This is an experimental library and the API will be unstable until version 1.0.0. Please
40+ consider contributing to the on-going
41+ <https://github.com/snowleopard/alga/issues discussions on the library API>.
42+
43+extra-doc-files:
44+ CHANGES.md
45+ README.md
46+
47+source-repository head
48+ type: git
49+ location: https://github.com/snowleopard/alga.git
50+
51+library
52+ hs-source-dirs: src
53+ exposed-modules: Algebra.Graph,
54+ Algebra.Graph.AdjacencyMap,
55+ Algebra.Graph.AdjacencyMap.Internal,
56+ Algebra.Graph.Class,
57+ Algebra.Graph.Export,
58+ Algebra.Graph.Export.Dot,
59+ Algebra.Graph.Fold,
60+ Algebra.Graph.HigherKinded.Class,
61+ Algebra.Graph.IntAdjacencyMap,
62+ Algebra.Graph.IntAdjacencyMap.Internal,
63+ Algebra.Graph.Relation,
64+ Algebra.Graph.Relation.Internal,
65+ Algebra.Graph.Relation.InternalDerived,
66+ Algebra.Graph.Relation.Preorder,
67+ Algebra.Graph.Relation.Reflexive,
68+ Algebra.Graph.Relation.Symmetric,
69+ Algebra.Graph.Relation.Transitive
70+ build-depends: array >= 0.5 && < 0.8,
71+ base >= 4.9 && < 5,
72+ containers >= 0.5 && < 0.8
73+ default-language: Haskell2010
74+ default-extensions: FlexibleContexts
75+ GeneralizedNewtypeDeriving
76+ ScopedTypeVariables
77+ TupleSections
78+ TypeFamilies
79+ other-extensions: DeriveFoldable
80+ DeriveFunctor
81+ DeriveTraversable
82+ OverloadedStrings
83+ RecordWildCards
84+ GHC-options: -Wall
85+ -Wcompat
86+ -Wincomplete-record-updates
87+ -Wincomplete-uni-patterns
88+ -Wredundant-constraints
89+
90+test-suite test-alga
91+ hs-source-dirs: test
92+ type: exitcode-stdio-1.0
93+ main-is: Main.hs
94+ other-modules: Algebra.Graph.Test,
95+ Algebra.Graph.Test.API,
96+ Algebra.Graph.Test.AdjacencyMap,
97+ Algebra.Graph.Test.Arbitrary,
98+ Algebra.Graph.Test.Export,
99+ Algebra.Graph.Test.Fold,
100+ Algebra.Graph.Test.Generic,
101+ Algebra.Graph.Test.Graph,
102+ Algebra.Graph.Test.IntAdjacencyMap,
103+ Algebra.Graph.Test.Relation
104+ build-depends: algebraic-graphs,
105+ base >= 4.9,
106+ containers >= 0.5,
107+ extra >= 1.5,
108+ QuickCheck >= 2.9
109+ default-language: Haskell2010
110+ GHC-options: -O2
111+ -Wall
112+ -Wcompat
113+ -Wincomplete-record-updates
114+ -Wincomplete-uni-patterns
115+ -Wredundant-constraints
116+ default-extensions: FlexibleContexts
117+ GeneralizedNewtypeDeriving
118+ TypeFamilies
119+ ScopedTypeVariables
120+ other-extensions: ConstrainedClassMethods
121+ ConstraintKinds
122+ RankNTypes
123+ ViewPatterns
124+
125+benchmark benchmark-alga
126+ hs-source-dirs: bench
127+ type: exitcode-stdio-1.0
128+ main-is: Bench.hs
129+ build-depends: algebraic-graphs,
130+ base >= 4.9,
131+ containers >= 0.5,
132+ criterion >= 1.1
133+ default-language: Haskell2010
134+ GHC-options: -O2
135+ -Wall
136+ -Wcompat
137+ -Wincomplete-record-updates
138+ -Wincomplete-uni-patterns
139+ -Wredundant-constraints
140+ default-extensions: FlexibleContexts
141+ TypeFamilies
142+ ScopedTypeVariables
test/golden-test-cases/algebraic-graphs.nix.goldennew file+17
@@ -0,0 +1,17 @@
1+{ mkDerivation, array, base, containers, criterion, extra, fetchurl
2+, QuickCheck
3+}:
4+mkDerivation {
5+ pname = "algebraic-graphs";
6+ version = "0.0.5";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [ array base containers ];
12+ testHaskellDepends = [ base containers extra QuickCheck ];
13+ benchmarkHaskellDepends = [ base containers criterion ];
14+ homepage = "https://github.com/snowleopard/alga";
15+ description = "A library for algebraic graph construction and transformation";
16+ license = stdenv.lib.licenses.mit;
17+}
test/golden-test-cases/amazonka-cloudtrail.cabalnew file+99
@@ -0,0 +1,99 @@
1+name: amazonka-cloudtrail
2+version: 1.5.0
3+synopsis: Amazon CloudTrail SDK.
4+homepage: https://github.com/brendanhay/amazonka
5+bug-reports: https://github.com/brendanhay/amazonka/issues
6+license: MPL-2.0
7+license-file: LICENSE
8+author: Brendan Hay
9+maintainer: Brendan Hay <brendan.g.hay+amazonka@gmail.com>
10+copyright: Copyright (c) 2013-2017 Brendan Hay
11+category: Network, AWS, Cloud, Distributed Computing
12+build-type: Simple
13+cabal-version: >= 1.10
14+extra-source-files: README.md fixture/*.yaml fixture/*.proto src/.gitkeep
15+description:
16+ The types from this library are intended to be used with
17+ <http://hackage.haskell.org/package/amazonka amazonka>, which provides
18+ mechanisms for specifying AuthN/AuthZ information, sending requests,
19+ and receiving responses.
20+ .
21+ Lenses are used for constructing and manipulating types,
22+ due to the depth of nesting of AWS types and transparency regarding
23+ de/serialisation into more palatable Haskell values.
24+ The provided lenses should be compatible with any of the major lens libraries
25+ such as <http://hackage.haskell.org/package/lens lens> or
26+ <http://hackage.haskell.org/package/lens-family-core lens-family-core>.
27+ .
28+ See "Network.AWS.CloudTrail" or <https://aws.amazon.com/documentation/ the AWS documentation>
29+ to get started.
30+
31+source-repository head
32+ type: git
33+ location: git://github.com/brendanhay/amazonka.git
34+ subdir: amazonka-cloudtrail
35+
36+library
37+ default-language: Haskell2010
38+ hs-source-dirs: src gen
39+
40+ ghc-options:
41+ -Wall
42+ -fwarn-incomplete-uni-patterns
43+ -fwarn-incomplete-record-updates
44+ -funbox-strict-fields
45+
46+ exposed-modules:
47+ Network.AWS.CloudTrail
48+ , Network.AWS.CloudTrail.AddTags
49+ , Network.AWS.CloudTrail.CreateTrail
50+ , Network.AWS.CloudTrail.DeleteTrail
51+ , Network.AWS.CloudTrail.DescribeTrails
52+ , Network.AWS.CloudTrail.GetEventSelectors
53+ , Network.AWS.CloudTrail.GetTrailStatus
54+ , Network.AWS.CloudTrail.ListPublicKeys
55+ , Network.AWS.CloudTrail.ListTags
56+ , Network.AWS.CloudTrail.LookupEvents
57+ , Network.AWS.CloudTrail.PutEventSelectors
58+ , Network.AWS.CloudTrail.RemoveTags
59+ , Network.AWS.CloudTrail.StartLogging
60+ , Network.AWS.CloudTrail.StopLogging
61+ , Network.AWS.CloudTrail.Types
62+ , Network.AWS.CloudTrail.UpdateTrail
63+ , Network.AWS.CloudTrail.Waiters
64+
65+ other-modules:
66+ Network.AWS.CloudTrail.Types.Product
67+ , Network.AWS.CloudTrail.Types.Sum
68+
69+ build-depends:
70+ amazonka-core == 1.5.0.*
71+ , base >= 4.7 && < 5
72+
73+test-suite amazonka-cloudtrail-test
74+ type: exitcode-stdio-1.0
75+ default-language: Haskell2010
76+ hs-source-dirs: test
77+ main-is: Main.hs
78+
79+ ghc-options: -Wall -threaded
80+
81+ -- This section is encoded by the template and any modules added by
82+ -- hand outside these namespaces will not correctly be added to the
83+ -- distribution package.
84+ other-modules:
85+ Test.AWS.CloudTrail
86+ , Test.AWS.Gen.CloudTrail
87+ , Test.AWS.CloudTrail.Internal
88+
89+ build-depends:
90+ amazonka-core == 1.5.0.*
91+ , amazonka-test == 1.5.0.*
92+ , amazonka-cloudtrail
93+ , base
94+ , bytestring
95+ , tasty
96+ , tasty-hunit
97+ , text
98+ , time
99+ , unordered-containers
test/golden-test-cases/amazonka-cloudtrail.nix.goldennew file+19
@@ -0,0 +1,19 @@
1+{ mkDerivation, amazonka-core, amazonka-test, base, bytestring
2+, fetchurl, tasty, tasty-hunit, text, time, unordered-containers
3+}:
4+mkDerivation {
5+ pname = "amazonka-cloudtrail";
6+ version = "1.5.0";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [ amazonka-core base ];
12+ testHaskellDepends = [
13+ amazonka-core amazonka-test base bytestring tasty tasty-hunit text
14+ time unordered-containers
15+ ];
16+ homepage = "https://github.com/brendanhay/amazonka";
17+ description = "Amazon CloudTrail SDK";
18+ license = stdenv.lib.licenses.mpl20;
19+}
test/golden-test-cases/amazonka-cloudwatch-logs.cabalnew file+118
@@ -0,0 +1,118 @@
1+name: amazonka-cloudwatch-logs
2+version: 1.5.0
3+synopsis: Amazon CloudWatch Logs SDK.
4+homepage: https://github.com/brendanhay/amazonka
5+bug-reports: https://github.com/brendanhay/amazonka/issues
6+license: MPL-2.0
7+license-file: LICENSE
8+author: Brendan Hay
9+maintainer: Brendan Hay <brendan.g.hay+amazonka@gmail.com>
10+copyright: Copyright (c) 2013-2017 Brendan Hay
11+category: Network, AWS, Cloud, Distributed Computing
12+build-type: Simple
13+cabal-version: >= 1.10
14+extra-source-files: README.md fixture/*.yaml fixture/*.proto src/.gitkeep
15+description:
16+ The types from this library are intended to be used with
17+ <http://hackage.haskell.org/package/amazonka amazonka>, which provides
18+ mechanisms for specifying AuthN/AuthZ information, sending requests,
19+ and receiving responses.
20+ .
21+ Lenses are used for constructing and manipulating types,
22+ due to the depth of nesting of AWS types and transparency regarding
23+ de/serialisation into more palatable Haskell values.
24+ The provided lenses should be compatible with any of the major lens libraries
25+ such as <http://hackage.haskell.org/package/lens lens> or
26+ <http://hackage.haskell.org/package/lens-family-core lens-family-core>.
27+ .
28+ See "Network.AWS.CloudWatchLogs" or <https://aws.amazon.com/documentation/ the AWS documentation>
29+ to get started.
30+
31+source-repository head
32+ type: git
33+ location: git://github.com/brendanhay/amazonka.git
34+ subdir: amazonka-cloudwatch-logs
35+
36+library
37+ default-language: Haskell2010
38+ hs-source-dirs: src gen
39+
40+ ghc-options:
41+ -Wall
42+ -fwarn-incomplete-uni-patterns
43+ -fwarn-incomplete-record-updates
44+ -funbox-strict-fields
45+
46+ exposed-modules:
47+ Network.AWS.CloudWatchLogs
48+ , Network.AWS.CloudWatchLogs.AssociateKMSKey
49+ , Network.AWS.CloudWatchLogs.CancelExportTask
50+ , Network.AWS.CloudWatchLogs.CreateExportTask
51+ , Network.AWS.CloudWatchLogs.CreateLogGroup
52+ , Network.AWS.CloudWatchLogs.CreateLogStream
53+ , Network.AWS.CloudWatchLogs.DeleteDestination
54+ , Network.AWS.CloudWatchLogs.DeleteLogGroup
55+ , Network.AWS.CloudWatchLogs.DeleteLogStream
56+ , Network.AWS.CloudWatchLogs.DeleteMetricFilter
57+ , Network.AWS.CloudWatchLogs.DeleteResourcePolicy
58+ , Network.AWS.CloudWatchLogs.DeleteRetentionPolicy
59+ , Network.AWS.CloudWatchLogs.DeleteSubscriptionFilter
60+ , Network.AWS.CloudWatchLogs.DescribeDestinations
61+ , Network.AWS.CloudWatchLogs.DescribeExportTasks
62+ , Network.AWS.CloudWatchLogs.DescribeLogGroups
63+ , Network.AWS.CloudWatchLogs.DescribeLogStreams
64+ , Network.AWS.CloudWatchLogs.DescribeMetricFilters
65+ , Network.AWS.CloudWatchLogs.DescribeResourcePolicies
66+ , Network.AWS.CloudWatchLogs.DescribeSubscriptionFilters
67+ , Network.AWS.CloudWatchLogs.DisassociateKMSKey
68+ , Network.AWS.CloudWatchLogs.FilterLogEvents
69+ , Network.AWS.CloudWatchLogs.GetLogEvents
70+ , Network.AWS.CloudWatchLogs.ListTagsLogGroup
71+ , Network.AWS.CloudWatchLogs.PutDestination
72+ , Network.AWS.CloudWatchLogs.PutDestinationPolicy
73+ , Network.AWS.CloudWatchLogs.PutLogEvents
74+ , Network.AWS.CloudWatchLogs.PutMetricFilter
75+ , Network.AWS.CloudWatchLogs.PutResourcePolicy
76+ , Network.AWS.CloudWatchLogs.PutRetentionPolicy
77+ , Network.AWS.CloudWatchLogs.PutSubscriptionFilter
78+ , Network.AWS.CloudWatchLogs.TagLogGroup
79+ , Network.AWS.CloudWatchLogs.TestMetricFilter
80+ , Network.AWS.CloudWatchLogs.Types
81+ , Network.AWS.CloudWatchLogs.UntagLogGroup
82+ , Network.AWS.CloudWatchLogs.Waiters
83+
84+ other-modules:
85+ Network.AWS.CloudWatchLogs.Types.Product
86+ , Network.AWS.CloudWatchLogs.Types.Sum
87+
88+ build-depends:
89+ amazonka-core == 1.5.0.*
90+ , base >= 4.7 && < 5
91+
92+test-suite amazonka-cloudwatch-logs-test
93+ type: exitcode-stdio-1.0
94+ default-language: Haskell2010
95+ hs-source-dirs: test
96+ main-is: Main.hs
97+
98+ ghc-options: -Wall -threaded
99+
100+ -- This section is encoded by the template and any modules added by
101+ -- hand outside these namespaces will not correctly be added to the
102+ -- distribution package.
103+ other-modules:
104+ Test.AWS.CloudWatchLogs
105+ , Test.AWS.Gen.CloudWatchLogs
106+ , Test.AWS.CloudWatchLogs.Internal
107+
108+ build-depends:
109+ amazonka-core == 1.5.0.*
110+ , amazonka-test == 1.5.0.*
111+ , amazonka-cloudwatch-logs
112+ , base
113+ , bytestring
114+ , tasty
115+ , tasty-hunit
116+ , text
117+ , time
118+ , unordered-containers
test/golden-test-cases/amazonka-cloudwatch-logs.nix.goldennew file+19
@@ -0,0 +1,19 @@
1+{ mkDerivation, amazonka-core, amazonka-test, base, bytestring
2+, fetchurl, tasty, tasty-hunit, text, time, unordered-containers
3+}:
4+mkDerivation {
5+ pname = "amazonka-cloudwatch-logs";
6+ version = "1.5.0";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [ amazonka-core base ];
12+ testHaskellDepends = [
13+ amazonka-core amazonka-test base bytestring tasty tasty-hunit text
14+ time unordered-containers
15+ ];
16+ homepage = "https://github.com/brendanhay/amazonka";
17+ description = "Amazon CloudWatch Logs SDK";
18+ license = stdenv.lib.licenses.mpl20;
19+}
test/golden-test-cases/amazonka-codedeploy.cabalnew file+123
@@ -0,0 +1,123 @@
1+name: amazonka-codedeploy
2+version: 1.5.0
3+synopsis: Amazon CodeDeploy SDK.
4+homepage: https://github.com/brendanhay/amazonka
5+bug-reports: https://github.com/brendanhay/amazonka/issues
6+license: MPL-2.0
7+license-file: LICENSE
8+author: Brendan Hay
9+maintainer: Brendan Hay <brendan.g.hay+amazonka@gmail.com>
10+copyright: Copyright (c) 2013-2017 Brendan Hay
11+category: Network, AWS, Cloud, Distributed Computing
12+build-type: Simple
13+cabal-version: >= 1.10
14+extra-source-files: README.md fixture/*.yaml fixture/*.proto src/.gitkeep
15+description:
16+ The types from this library are intended to be used with
17+ <http://hackage.haskell.org/package/amazonka amazonka>, which provides
18+ mechanisms for specifying AuthN/AuthZ information, sending requests,
19+ and receiving responses.
20+ .
21+ Lenses are used for constructing and manipulating types,
22+ due to the depth of nesting of AWS types and transparency regarding
23+ de/serialisation into more palatable Haskell values.
24+ The provided lenses should be compatible with any of the major lens libraries
25+ such as <http://hackage.haskell.org/package/lens lens> or
26+ <http://hackage.haskell.org/package/lens-family-core lens-family-core>.
27+ .
28+ See "Network.AWS.CodeDeploy" or <https://aws.amazon.com/documentation/ the AWS documentation>
29+ to get started.
30+
31+source-repository head
32+ type: git
33+ location: git://github.com/brendanhay/amazonka.git
34+ subdir: amazonka-codedeploy
35+
36+library
37+ default-language: Haskell2010
38+ hs-source-dirs: src gen
39+
40+ ghc-options:
41+ -Wall
42+ -fwarn-incomplete-uni-patterns
43+ -fwarn-incomplete-record-updates
44+ -funbox-strict-fields
45+
46+ exposed-modules:
47+ Network.AWS.CodeDeploy
48+ , Network.AWS.CodeDeploy.AddTagsToOnPremisesInstances
49+ , Network.AWS.CodeDeploy.BatchGetApplicationRevisions
50+ , Network.AWS.CodeDeploy.BatchGetApplications
51+ , Network.AWS.CodeDeploy.BatchGetDeploymentGroups
52+ , Network.AWS.CodeDeploy.BatchGetDeploymentInstances
53+ , Network.AWS.CodeDeploy.BatchGetDeployments
54+ , Network.AWS.CodeDeploy.BatchGetOnPremisesInstances
55+ , Network.AWS.CodeDeploy.ContinueDeployment
56+ , Network.AWS.CodeDeploy.CreateApplication
57+ , Network.AWS.CodeDeploy.CreateDeployment
58+ , Network.AWS.CodeDeploy.CreateDeploymentConfig
59+ , Network.AWS.CodeDeploy.CreateDeploymentGroup
60+ , Network.AWS.CodeDeploy.DeleteApplication
61+ , Network.AWS.CodeDeploy.DeleteDeploymentConfig
62+ , Network.AWS.CodeDeploy.DeleteDeploymentGroup
63+ , Network.AWS.CodeDeploy.DeregisterOnPremisesInstance
64+ , Network.AWS.CodeDeploy.GetApplication
65+ , Network.AWS.CodeDeploy.GetApplicationRevision
66+ , Network.AWS.CodeDeploy.GetDeployment
67+ , Network.AWS.CodeDeploy.GetDeploymentConfig
68+ , Network.AWS.CodeDeploy.GetDeploymentGroup
69+ , Network.AWS.CodeDeploy.GetDeploymentInstance
70+ , Network.AWS.CodeDeploy.GetOnPremisesInstance
71+ , Network.AWS.CodeDeploy.ListApplicationRevisions
72+ , Network.AWS.CodeDeploy.ListApplications
73+ , Network.AWS.CodeDeploy.ListDeploymentConfigs
74+ , Network.AWS.CodeDeploy.ListDeploymentGroups
75+ , Network.AWS.CodeDeploy.ListDeploymentInstances
76+ , Network.AWS.CodeDeploy.ListDeployments
77+ , Network.AWS.CodeDeploy.ListGitHubAccountTokenNames
78+ , Network.AWS.CodeDeploy.ListOnPremisesInstances
79+ , Network.AWS.CodeDeploy.RegisterApplicationRevision
80+ , Network.AWS.CodeDeploy.RegisterOnPremisesInstance
81+ , Network.AWS.CodeDeploy.RemoveTagsFromOnPremisesInstances
82+ , Network.AWS.CodeDeploy.SkipWaitTimeForInstanceTermination
83+ , Network.AWS.CodeDeploy.StopDeployment
84+ , Network.AWS.CodeDeploy.Types
85+ , Network.AWS.CodeDeploy.UpdateApplication
86+ , Network.AWS.CodeDeploy.UpdateDeploymentGroup
87+ , Network.AWS.CodeDeploy.Waiters
88+
89+ other-modules:
90+ Network.AWS.CodeDeploy.Types.Product
91+ , Network.AWS.CodeDeploy.Types.Sum
92+
93+ build-depends:
94+ amazonka-core == 1.5.0.*
95+ , base >= 4.7 && < 5
96+
97+test-suite amazonka-codedeploy-test
98+ type: exitcode-stdio-1.0
99+ default-language: Haskell2010
100+ hs-source-dirs: test
101+ main-is: Main.hs
102+
103+ ghc-options: -Wall -threaded
104+
105+ -- This section is encoded by the template and any modules added by
106+ -- hand outside these namespaces will not correctly be added to the
107+ -- distribution package.
108+ other-modules:
109+ Test.AWS.CodeDeploy
110+ , Test.AWS.Gen.CodeDeploy
111+ , Test.AWS.CodeDeploy.Internal
112+
113+ build-depends:
114+ amazonka-core == 1.5.0.*
115+ , amazonka-test == 1.5.0.*
116+ , amazonka-codedeploy
117+ , base
118+ , bytestring
119+ , tasty
120+ , tasty-hunit
121+ , text
122+ , time
123+ , unordered-containers
test/golden-test-cases/amazonka-codedeploy.nix.goldennew file+19
@@ -0,0 +1,19 @@
1+{ mkDerivation, amazonka-core, amazonka-test, base, bytestring
2+, fetchurl, tasty, tasty-hunit, text, time, unordered-containers
3+}:
4+mkDerivation {
5+ pname = "amazonka-codedeploy";
6+ version = "1.5.0";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [ amazonka-core base ];
12+ testHaskellDepends = [
13+ amazonka-core amazonka-test base bytestring tasty tasty-hunit text
14+ time unordered-containers
15+ ];
16+ homepage = "https://github.com/brendanhay/amazonka";
17+ description = "Amazon CodeDeploy SDK";
18+ license = stdenv.lib.licenses.mpl20;
19+}
test/golden-test-cases/amazonka-cognito-idp.cabalnew file+168
@@ -0,0 +1,168 @@
1+name: amazonka-cognito-idp
2+version: 1.5.0
3+synopsis: Amazon Cognito Identity Provider SDK.
4+homepage: https://github.com/brendanhay/amazonka
5+bug-reports: https://github.com/brendanhay/amazonka/issues
6+license: MPL-2.0
7+license-file: LICENSE
8+author: Brendan Hay
9+maintainer: Brendan Hay <brendan.g.hay+amazonka@gmail.com>
10+copyright: Copyright (c) 2013-2017 Brendan Hay
11+category: Network, AWS, Cloud, Distributed Computing
12+build-type: Simple
13+cabal-version: >= 1.10
14+extra-source-files: README.md fixture/*.yaml fixture/*.proto src/.gitkeep
15+description:
16+ The types from this library are intended to be used with
17+ <http://hackage.haskell.org/package/amazonka amazonka>, which provides
18+ mechanisms for specifying AuthN/AuthZ information, sending requests,
19+ and receiving responses.
20+ .
21+ Lenses are used for constructing and manipulating types,
22+ due to the depth of nesting of AWS types and transparency regarding
23+ de/serialisation into more palatable Haskell values.
24+ The provided lenses should be compatible with any of the major lens libraries
25+ such as <http://hackage.haskell.org/package/lens lens> or
26+ <http://hackage.haskell.org/package/lens-family-core lens-family-core>.
27+ .
28+ See "Network.AWS.CognitoIdentityProvider" or <https://aws.amazon.com/documentation/ the AWS documentation>
29+ to get started.
30+
31+source-repository head
32+ type: git
33+ location: git://github.com/brendanhay/amazonka.git
34+ subdir: amazonka-cognito-idp
35+
36+library
37+ default-language: Haskell2010
38+ hs-source-dirs: src gen
39+
40+ ghc-options:
41+ -Wall
42+ -fwarn-incomplete-uni-patterns
43+ -fwarn-incomplete-record-updates
44+ -funbox-strict-fields
45+
46+ exposed-modules:
47+ Network.AWS.CognitoIdentityProvider
48+ , Network.AWS.CognitoIdentityProvider.AddCustomAttributes
49+ , Network.AWS.CognitoIdentityProvider.AdminAddUserToGroup
50+ , Network.AWS.CognitoIdentityProvider.AdminConfirmSignUp
51+ , Network.AWS.CognitoIdentityProvider.AdminCreateUser
52+ , Network.AWS.CognitoIdentityProvider.AdminDeleteUser
53+ , Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes
54+ , Network.AWS.CognitoIdentityProvider.AdminDisableProviderForUser
55+ , Network.AWS.CognitoIdentityProvider.AdminDisableUser
56+ , Network.AWS.CognitoIdentityProvider.AdminEnableUser
57+ , Network.AWS.CognitoIdentityProvider.AdminForgetDevice
58+ , Network.AWS.CognitoIdentityProvider.AdminGetDevice
59+ , Network.AWS.CognitoIdentityProvider.AdminGetUser
60+ , Network.AWS.CognitoIdentityProvider.AdminInitiateAuth
61+ , Network.AWS.CognitoIdentityProvider.AdminLinkProviderForUser
62+ , Network.AWS.CognitoIdentityProvider.AdminListDevices
63+ , Network.AWS.CognitoIdentityProvider.AdminListGroupsForUser
64+ , Network.AWS.CognitoIdentityProvider.AdminRemoveUserFromGroup
65+ , Network.AWS.CognitoIdentityProvider.AdminResetUserPassword
66+ , Network.AWS.CognitoIdentityProvider.AdminRespondToAuthChallenge
67+ , Network.AWS.CognitoIdentityProvider.AdminSetUserSettings
68+ , Network.AWS.CognitoIdentityProvider.AdminUpdateDeviceStatus
69+ , Network.AWS.CognitoIdentityProvider.AdminUpdateUserAttributes
70+ , Network.AWS.CognitoIdentityProvider.AdminUserGlobalSignOut
71+ , Network.AWS.CognitoIdentityProvider.ChangePassword
72+ , Network.AWS.CognitoIdentityProvider.ConfirmDevice
73+ , Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword
74+ , Network.AWS.CognitoIdentityProvider.ConfirmSignUp
75+ , Network.AWS.CognitoIdentityProvider.CreateGroup
76+ , Network.AWS.CognitoIdentityProvider.CreateIdentityProvider
77+ , Network.AWS.CognitoIdentityProvider.CreateResourceServer
78+ , Network.AWS.CognitoIdentityProvider.CreateUserImportJob
79+ , Network.AWS.CognitoIdentityProvider.CreateUserPool
80+ , Network.AWS.CognitoIdentityProvider.CreateUserPoolClient
81+ , Network.AWS.CognitoIdentityProvider.CreateUserPoolDomain
82+ , Network.AWS.CognitoIdentityProvider.DeleteGroup
83+ , Network.AWS.CognitoIdentityProvider.DeleteIdentityProvider
84+ , Network.AWS.CognitoIdentityProvider.DeleteResourceServer
85+ , Network.AWS.CognitoIdentityProvider.DeleteUser
86+ , Network.AWS.CognitoIdentityProvider.DeleteUserAttributes
87+ , Network.AWS.CognitoIdentityProvider.DeleteUserPool
88+ , Network.AWS.CognitoIdentityProvider.DeleteUserPoolClient
89+ , Network.AWS.CognitoIdentityProvider.DeleteUserPoolDomain
90+ , Network.AWS.CognitoIdentityProvider.DescribeIdentityProvider
91+ , Network.AWS.CognitoIdentityProvider.DescribeResourceServer
92+ , Network.AWS.CognitoIdentityProvider.DescribeUserImportJob
93+ , Network.AWS.CognitoIdentityProvider.DescribeUserPool
94+ , Network.AWS.CognitoIdentityProvider.DescribeUserPoolClient
95+ , Network.AWS.CognitoIdentityProvider.DescribeUserPoolDomain
96+ , Network.AWS.CognitoIdentityProvider.ForgetDevice
97+ , Network.AWS.CognitoIdentityProvider.ForgotPassword
98+ , Network.AWS.CognitoIdentityProvider.GetCSVHeader
99+ , Network.AWS.CognitoIdentityProvider.GetDevice
100+ , Network.AWS.CognitoIdentityProvider.GetGroup
101+ , Network.AWS.CognitoIdentityProvider.GetIdentityProviderByIdentifier
102+ , Network.AWS.CognitoIdentityProvider.GetUICustomization
103+ , Network.AWS.CognitoIdentityProvider.GetUser
104+ , Network.AWS.CognitoIdentityProvider.GetUserAttributeVerificationCode
105+ , Network.AWS.CognitoIdentityProvider.GlobalSignOut
106+ , Network.AWS.CognitoIdentityProvider.InitiateAuth
107+ , Network.AWS.CognitoIdentityProvider.ListDevices
108+ , Network.AWS.CognitoIdentityProvider.ListGroups
109+ , Network.AWS.CognitoIdentityProvider.ListIdentityProviders
110+ , Network.AWS.CognitoIdentityProvider.ListResourceServers
111+ , Network.AWS.CognitoIdentityProvider.ListUserImportJobs
112+ , Network.AWS.CognitoIdentityProvider.ListUserPoolClients
113+ , Network.AWS.CognitoIdentityProvider.ListUserPools
114+ , Network.AWS.CognitoIdentityProvider.ListUsers
115+ , Network.AWS.CognitoIdentityProvider.ListUsersInGroup
116+ , Network.AWS.CognitoIdentityProvider.ResendConfirmationCode
117+ , Network.AWS.CognitoIdentityProvider.RespondToAuthChallenge
118+ , Network.AWS.CognitoIdentityProvider.SetUICustomization
119+ , Network.AWS.CognitoIdentityProvider.SetUserSettings
120+ , Network.AWS.CognitoIdentityProvider.SignUp
121+ , Network.AWS.CognitoIdentityProvider.StartUserImportJob
122+ , Network.AWS.CognitoIdentityProvider.StopUserImportJob
123+ , Network.AWS.CognitoIdentityProvider.Types
124+ , Network.AWS.CognitoIdentityProvider.UpdateDeviceStatus
125+ , Network.AWS.CognitoIdentityProvider.UpdateGroup
126+ , Network.AWS.CognitoIdentityProvider.UpdateIdentityProvider
127+ , Network.AWS.CognitoIdentityProvider.UpdateResourceServer
128+ , Network.AWS.CognitoIdentityProvider.UpdateUserAttributes
129+ , Network.AWS.CognitoIdentityProvider.UpdateUserPool
130+ , Network.AWS.CognitoIdentityProvider.UpdateUserPoolClient
131+ , Network.AWS.CognitoIdentityProvider.VerifyUserAttribute
132+ , Network.AWS.CognitoIdentityProvider.Waiters
133+
134+ other-modules:
135+ Network.AWS.CognitoIdentityProvider.Types.Product
136+ , Network.AWS.CognitoIdentityProvider.Types.Sum
137+
138+ build-depends:
139+ amazonka-core == 1.5.0.*
140+ , base >= 4.7 && < 5
141+
142+test-suite amazonka-cognito-idp-test
143+ type: exitcode-stdio-1.0
144+ default-language: Haskell2010
145+ hs-source-dirs: test
146+ main-is: Main.hs
147+
148+ ghc-options: -Wall -threaded
149+
150+ -- This section is encoded by the template and any modules added by
151+ -- hand outside these namespaces will not correctly be added to the
152+ -- distribution package.
153+ other-modules:
154+ Test.AWS.CognitoIdentityProvider
155+ , Test.AWS.Gen.CognitoIdentityProvider
156+ , Test.AWS.CognitoIdentityProvider.Internal
157+
158+ build-depends:
159+ amazonka-core == 1.5.0.*
160+ , amazonka-test == 1.5.0.*
161+ , amazonka-cognito-idp
162+ , base
163+ , bytestring
164+ , tasty
165+ , tasty-hunit
166+ , text
167+ , time
168+ , unordered-containers
test/golden-test-cases/amazonka-cognito-idp.nix.goldennew file+19
@@ -0,0 +1,19 @@
1+{ mkDerivation, amazonka-core, amazonka-test, base, bytestring
2+, fetchurl, tasty, tasty-hunit, text, time, unordered-containers
3+}:
4+mkDerivation {
5+ pname = "amazonka-cognito-idp";
6+ version = "1.5.0";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [ amazonka-core base ];
12+ testHaskellDepends = [
13+ amazonka-core amazonka-test base bytestring tasty tasty-hunit text
14+ time unordered-containers
15+ ];
16+ homepage = "https://github.com/brendanhay/amazonka";
17+ description = "Amazon Cognito Identity Provider SDK";
18+ license = stdenv.lib.licenses.mpl20;
19+}
test/golden-test-cases/amazonka-ecs.cabalnew file+116
@@ -0,0 +1,116 @@
1+name: amazonka-ecs
2+version: 1.5.0
3+synopsis: Amazon EC2 Container Service SDK.
4+homepage: https://github.com/brendanhay/amazonka
5+bug-reports: https://github.com/brendanhay/amazonka/issues
6+license: MPL-2.0
7+license-file: LICENSE
8+author: Brendan Hay
9+maintainer: Brendan Hay <brendan.g.hay+amazonka@gmail.com>
10+copyright: Copyright (c) 2013-2017 Brendan Hay
11+category: Network, AWS, Cloud, Distributed Computing
12+build-type: Simple
13+cabal-version: >= 1.10
14+extra-source-files: README.md fixture/*.yaml fixture/*.proto src/.gitkeep
15+description:
16+ The types from this library are intended to be used with
17+ <http://hackage.haskell.org/package/amazonka amazonka>, which provides
18+ mechanisms for specifying AuthN/AuthZ information, sending requests,
19+ and receiving responses.
20+ .
21+ Lenses are used for constructing and manipulating types,
22+ due to the depth of nesting of AWS types and transparency regarding
23+ de/serialisation into more palatable Haskell values.
24+ The provided lenses should be compatible with any of the major lens libraries
25+ such as <http://hackage.haskell.org/package/lens lens> or
26+ <http://hackage.haskell.org/package/lens-family-core lens-family-core>.
27+ .
28+ See "Network.AWS.ECS" or <https://aws.amazon.com/documentation/ the AWS documentation>
29+ to get started.
30+
31+source-repository head
32+ type: git
33+ location: git://github.com/brendanhay/amazonka.git
34+ subdir: amazonka-ecs
35+
36+library
37+ default-language: Haskell2010
38+ hs-source-dirs: src gen
39+
40+ ghc-options:
41+ -Wall
42+ -fwarn-incomplete-uni-patterns
43+ -fwarn-incomplete-record-updates
44+ -funbox-strict-fields
45+
46+ exposed-modules:
47+ Network.AWS.ECS
48+ , Network.AWS.ECS.CreateCluster
49+ , Network.AWS.ECS.CreateService
50+ , Network.AWS.ECS.DeleteAttributes
51+ , Network.AWS.ECS.DeleteCluster
52+ , Network.AWS.ECS.DeleteService
53+ , Network.AWS.ECS.DeregisterContainerInstance
54+ , Network.AWS.ECS.DeregisterTaskDefinition
55+ , Network.AWS.ECS.DescribeClusters
56+ , Network.AWS.ECS.DescribeContainerInstances
57+ , Network.AWS.ECS.DescribeServices
58+ , Network.AWS.ECS.DescribeTaskDefinition
59+ , Network.AWS.ECS.DescribeTasks
60+ , Network.AWS.ECS.DiscoverPollEndpoint
61+ , Network.AWS.ECS.ListAttributes
62+ , Network.AWS.ECS.ListClusters
63+ , Network.AWS.ECS.ListContainerInstances
64+ , Network.AWS.ECS.ListServices
65+ , Network.AWS.ECS.ListTaskDefinitionFamilies
66+ , Network.AWS.ECS.ListTaskDefinitions
67+ , Network.AWS.ECS.ListTasks
68+ , Network.AWS.ECS.PutAttributes
69+ , Network.AWS.ECS.RegisterContainerInstance
70+ , Network.AWS.ECS.RegisterTaskDefinition
71+ , Network.AWS.ECS.RunTask
72+ , Network.AWS.ECS.StartTask
73+ , Network.AWS.ECS.StopTask
74+ , Network.AWS.ECS.SubmitContainerStateChange
75+ , Network.AWS.ECS.SubmitTaskStateChange
76+ , Network.AWS.ECS.Types
77+ , Network.AWS.ECS.UpdateContainerAgent
78+ , Network.AWS.ECS.UpdateContainerInstancesState
79+ , Network.AWS.ECS.UpdateService
80+ , Network.AWS.ECS.Waiters
81+
82+ other-modules:
83+ Network.AWS.ECS.Types.Product
84+ , Network.AWS.ECS.Types.Sum
85+
86+ build-depends:
87+ amazonka-core == 1.5.0.*
88+ , base >= 4.7 && < 5
89+
90+test-suite amazonka-ecs-test
91+ type: exitcode-stdio-1.0
92+ default-language: Haskell2010
93+ hs-source-dirs: test
94+ main-is: Main.hs
95+
96+ ghc-options: -Wall -threaded
97+
98+ -- This section is encoded by the template and any modules added by
99+ -- hand outside these namespaces will not correctly be added to the
100+ -- distribution package.
101+ other-modules:
102+ Test.AWS.ECS
103+ , Test.AWS.Gen.ECS
104+ , Test.AWS.ECS.Internal
105+
106+ build-depends:
107+ amazonka-core == 1.5.0.*
108+ , amazonka-test == 1.5.0.*
109+ , amazonka-ecs
110+ , base
111+ , bytestring
112+ , tasty
113+ , tasty-hunit
114+ , text
115+ , time
116+ , unordered-containers
test/golden-test-cases/amazonka-ecs.nix.goldennew file+19
@@ -0,0 +1,19 @@
1+{ mkDerivation, amazonka-core, amazonka-test, base, bytestring
2+, fetchurl, tasty, tasty-hunit, text, time, unordered-containers
3+}:
4+mkDerivation {
5+ pname = "amazonka-ecs";
6+ version = "1.5.0";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [ amazonka-core base ];
12+ testHaskellDepends = [
13+ amazonka-core amazonka-test base bytestring tasty tasty-hunit text
14+ time unordered-containers
15+ ];
16+ homepage = "https://github.com/brendanhay/amazonka";
17+ description = "Amazon EC2 Container Service SDK";
18+ license = stdenv.lib.licenses.mpl20;
19+}
test/golden-test-cases/amazonka-kms.cabalnew file+120
@@ -0,0 +1,120 @@
1+name: amazonka-kms
2+version: 1.5.0
3+synopsis: Amazon Key Management Service SDK.
4+homepage: https://github.com/brendanhay/amazonka
5+bug-reports: https://github.com/brendanhay/amazonka/issues
6+license: MPL-2.0
7+license-file: LICENSE
8+author: Brendan Hay
9+maintainer: Brendan Hay <brendan.g.hay+amazonka@gmail.com>
10+copyright: Copyright (c) 2013-2017 Brendan Hay
11+category: Network, AWS, Cloud, Distributed Computing
12+build-type: Simple
13+cabal-version: >= 1.10
14+extra-source-files: README.md fixture/*.yaml fixture/*.proto src/.gitkeep
15+description:
16+ The types from this library are intended to be used with
17+ <http://hackage.haskell.org/package/amazonka amazonka>, which provides
18+ mechanisms for specifying AuthN/AuthZ information, sending requests,
19+ and receiving responses.
20+ .
21+ Lenses are used for constructing and manipulating types,
22+ due to the depth of nesting of AWS types and transparency regarding
23+ de/serialisation into more palatable Haskell values.
24+ The provided lenses should be compatible with any of the major lens libraries
25+ such as <http://hackage.haskell.org/package/lens lens> or
26+ <http://hackage.haskell.org/package/lens-family-core lens-family-core>.
27+ .
28+ See "Network.AWS.KMS" or <https://aws.amazon.com/documentation/ the AWS documentation>
29+ to get started.
30+
31+source-repository head
32+ type: git
33+ location: git://github.com/brendanhay/amazonka.git
34+ subdir: amazonka-kms
35+
36+library
37+ default-language: Haskell2010
38+ hs-source-dirs: src gen
39+
40+ ghc-options:
41+ -Wall
42+ -fwarn-incomplete-uni-patterns
43+ -fwarn-incomplete-record-updates
44+ -funbox-strict-fields
45+
46+ exposed-modules:
47+ Network.AWS.KMS
48+ , Network.AWS.KMS.CancelKeyDeletion
49+ , Network.AWS.KMS.CreateAlias
50+ , Network.AWS.KMS.CreateGrant
51+ , Network.AWS.KMS.CreateKey
52+ , Network.AWS.KMS.Decrypt
53+ , Network.AWS.KMS.DeleteAlias
54+ , Network.AWS.KMS.DeleteImportedKeyMaterial
55+ , Network.AWS.KMS.DescribeKey
56+ , Network.AWS.KMS.DisableKey
57+ , Network.AWS.KMS.DisableKeyRotation
58+ , Network.AWS.KMS.EnableKey
59+ , Network.AWS.KMS.EnableKeyRotation
60+ , Network.AWS.KMS.Encrypt
61+ , Network.AWS.KMS.GenerateDataKey
62+ , Network.AWS.KMS.GenerateDataKeyWithoutPlaintext
63+ , Network.AWS.KMS.GenerateRandom
64+ , Network.AWS.KMS.GetKeyPolicy
65+ , Network.AWS.KMS.GetKeyRotationStatus
66+ , Network.AWS.KMS.GetParametersForImport
67+ , Network.AWS.KMS.ImportKeyMaterial
68+ , Network.AWS.KMS.ListAliases
69+ , Network.AWS.KMS.ListGrants
70+ , Network.AWS.KMS.ListKeyPolicies
71+ , Network.AWS.KMS.ListKeys
72+ , Network.AWS.KMS.ListResourceTags
73+ , Network.AWS.KMS.ListRetirableGrants
74+ , Network.AWS.KMS.PutKeyPolicy
75+ , Network.AWS.KMS.ReEncrypt
76+ , Network.AWS.KMS.RetireGrant
77+ , Network.AWS.KMS.RevokeGrant
78+ , Network.AWS.KMS.ScheduleKeyDeletion
79+ , Network.AWS.KMS.TagResource
80+ , Network.AWS.KMS.Types
81+ , Network.AWS.KMS.UntagResource
82+ , Network.AWS.KMS.UpdateAlias
83+ , Network.AWS.KMS.UpdateKeyDescription
84+ , Network.AWS.KMS.Waiters
85+
86+ other-modules:
87+ Network.AWS.KMS.Types.Product
88+ , Network.AWS.KMS.Types.Sum
89+
90+ build-depends:
91+ amazonka-core == 1.5.0.*
92+ , base >= 4.7 && < 5
93+
94+test-suite amazonka-kms-test
95+ type: exitcode-stdio-1.0
96+ default-language: Haskell2010
97+ hs-source-dirs: test
98+ main-is: Main.hs
99+
100+ ghc-options: -Wall -threaded
101+
102+ -- This section is encoded by the template and any modules added by
103+ -- hand outside these namespaces will not correctly be added to the
104+ -- distribution package.
105+ other-modules:
106+ Test.AWS.KMS
107+ , Test.AWS.Gen.KMS
108+ , Test.AWS.KMS.Internal
109+
110+ build-depends:
111+ amazonka-core == 1.5.0.*
112+ , amazonka-test == 1.5.0.*
113+ , amazonka-kms
114+ , base
115+ , bytestring
116+ , tasty
117+ , tasty-hunit
118+ , text
119+ , time
120+ , unordered-containers
test/golden-test-cases/amazonka-kms.nix.goldennew file+19
@@ -0,0 +1,19 @@
1+{ mkDerivation, amazonka-core, amazonka-test, base, bytestring
2+, fetchurl, tasty, tasty-hunit, text, time, unordered-containers
3+}:
4+mkDerivation {
5+ pname = "amazonka-kms";
6+ version = "1.5.0";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [ amazonka-core base ];
12+ testHaskellDepends = [
13+ amazonka-core amazonka-test base bytestring tasty tasty-hunit text
14+ time unordered-containers
15+ ];
16+ homepage = "https://github.com/brendanhay/amazonka";
17+ description = "Amazon Key Management Service SDK";
18+ license = stdenv.lib.licenses.mpl20;
19+}
test/golden-test-cases/amazonka-lightsail.cabalnew file+133
@@ -0,0 +1,133 @@
1+name: amazonka-lightsail
2+version: 1.5.0
3+synopsis: Amazon Lightsail SDK.
4+homepage: https://github.com/brendanhay/amazonka
5+bug-reports: https://github.com/brendanhay/amazonka/issues
6+license: MPL-2.0
7+license-file: LICENSE
8+author: Brendan Hay
9+maintainer: Brendan Hay <brendan.g.hay+amazonka@gmail.com>
10+copyright: Copyright (c) 2013-2017 Brendan Hay
11+category: Network, AWS, Cloud, Distributed Computing
12+build-type: Simple
13+cabal-version: >= 1.10
14+extra-source-files: README.md fixture/*.yaml fixture/*.proto src/.gitkeep
15+description:
16+ The types from this library are intended to be used with
17+ <http://hackage.haskell.org/package/amazonka amazonka>, which provides
18+ mechanisms for specifying AuthN/AuthZ information, sending requests,
19+ and receiving responses.
20+ .
21+ Lenses are used for constructing and manipulating types,
22+ due to the depth of nesting of AWS types and transparency regarding
23+ de/serialisation into more palatable Haskell values.
24+ The provided lenses should be compatible with any of the major lens libraries
25+ such as <http://hackage.haskell.org/package/lens lens> or
26+ <http://hackage.haskell.org/package/lens-family-core lens-family-core>.
27+ .
28+ See "Network.AWS.Lightsail" or <https://aws.amazon.com/documentation/ the AWS documentation>
29+ to get started.
30+
31+source-repository head
32+ type: git
33+ location: git://github.com/brendanhay/amazonka.git
34+ subdir: amazonka-lightsail
35+
36+library
37+ default-language: Haskell2010
38+ hs-source-dirs: src gen
39+
40+ ghc-options:
41+ -Wall
42+ -fwarn-incomplete-uni-patterns
43+ -fwarn-incomplete-record-updates
44+ -funbox-strict-fields
45+
46+ exposed-modules:
47+ Network.AWS.Lightsail
48+ , Network.AWS.Lightsail.AllocateStaticIP
49+ , Network.AWS.Lightsail.AttachStaticIP
50+ , Network.AWS.Lightsail.CloseInstancePublicPorts
51+ , Network.AWS.Lightsail.CreateDomain
52+ , Network.AWS.Lightsail.CreateDomainEntry
53+ , Network.AWS.Lightsail.CreateInstanceSnapshot
54+ , Network.AWS.Lightsail.CreateInstances
55+ , Network.AWS.Lightsail.CreateInstancesFromSnapshot
56+ , Network.AWS.Lightsail.CreateKeyPair
57+ , Network.AWS.Lightsail.DeleteDomain
58+ , Network.AWS.Lightsail.DeleteDomainEntry
59+ , Network.AWS.Lightsail.DeleteInstance
60+ , Network.AWS.Lightsail.DeleteInstanceSnapshot
61+ , Network.AWS.Lightsail.DeleteKeyPair
62+ , Network.AWS.Lightsail.DetachStaticIP
63+ , Network.AWS.Lightsail.DownloadDefaultKeyPair
64+ , Network.AWS.Lightsail.GetActiveNames
65+ , Network.AWS.Lightsail.GetBlueprints
66+ , Network.AWS.Lightsail.GetBundles
67+ , Network.AWS.Lightsail.GetDomain
68+ , Network.AWS.Lightsail.GetDomains
69+ , Network.AWS.Lightsail.GetInstance
70+ , Network.AWS.Lightsail.GetInstanceAccessDetails
71+ , Network.AWS.Lightsail.GetInstanceMetricData
72+ , Network.AWS.Lightsail.GetInstancePortStates
73+ , Network.AWS.Lightsail.GetInstanceSnapshot
74+ , Network.AWS.Lightsail.GetInstanceSnapshots
75+ , Network.AWS.Lightsail.GetInstanceState
76+ , Network.AWS.Lightsail.GetInstances
77+ , Network.AWS.Lightsail.GetKeyPair
78+ , Network.AWS.Lightsail.GetKeyPairs
79+ , Network.AWS.Lightsail.GetOperation
80+ , Network.AWS.Lightsail.GetOperations
81+ , Network.AWS.Lightsail.GetOperationsForResource
82+ , Network.AWS.Lightsail.GetRegions
83+ , Network.AWS.Lightsail.GetStaticIP
84+ , Network.AWS.Lightsail.GetStaticIPs
85+ , Network.AWS.Lightsail.ImportKeyPair
86+ , Network.AWS.Lightsail.IsVPCPeered
87+ , Network.AWS.Lightsail.OpenInstancePublicPorts
88+ , Network.AWS.Lightsail.PeerVPC
89+ , Network.AWS.Lightsail.PutInstancePublicPorts
90+ , Network.AWS.Lightsail.RebootInstance
91+ , Network.AWS.Lightsail.ReleaseStaticIP
92+ , Network.AWS.Lightsail.StartInstance
93+ , Network.AWS.Lightsail.StopInstance
94+ , Network.AWS.Lightsail.Types
95+ , Network.AWS.Lightsail.UnpeerVPC
96+ , Network.AWS.Lightsail.UpdateDomainEntry
97+ , Network.AWS.Lightsail.Waiters
98+
99+ other-modules:
100+ Network.AWS.Lightsail.Types.Product
101+ , Network.AWS.Lightsail.Types.Sum
102+
103+ build-depends:
104+ amazonka-core == 1.5.0.*
105+ , base >= 4.7 && < 5
106+
107+test-suite amazonka-lightsail-test
108+ type: exitcode-stdio-1.0
109+ default-language: Haskell2010
110+ hs-source-dirs: test
111+ main-is: Main.hs
112+
113+ ghc-options: -Wall -threaded
114+
115+ -- This section is encoded by the template and any modules added by
116+ -- hand outside these namespaces will not correctly be added to the
117+ -- distribution package.
118+ other-modules:
119+ Test.AWS.Lightsail
120+ , Test.AWS.Gen.Lightsail
121+ , Test.AWS.Lightsail.Internal
122+
123+ build-depends:
124+ amazonka-core == 1.5.0.*
125+ , amazonka-test == 1.5.0.*
126+ , amazonka-lightsail
127+ , base
128+ , bytestring
129+ , tasty
130+ , tasty-hunit
131+ , text
132+ , time
133+ , unordered-containers
test/golden-test-cases/amazonka-lightsail.nix.goldennew file+19
@@ -0,0 +1,19 @@
1+{ mkDerivation, amazonka-core, amazonka-test, base, bytestring
2+, fetchurl, tasty, tasty-hunit, text, time, unordered-containers
3+}:
4+mkDerivation {
5+ pname = "amazonka-lightsail";
6+ version = "1.5.0";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [ amazonka-core base ];
12+ testHaskellDepends = [
13+ amazonka-core amazonka-test base bytestring tasty tasty-hunit text
14+ time unordered-containers
15+ ];
16+ homepage = "https://github.com/brendanhay/amazonka";
17+ description = "Amazon Lightsail SDK";
18+ license = stdenv.lib.licenses.mpl20;
19+}
test/golden-test-cases/amazonka-route53-domains.cabalnew file+109
@@ -0,0 +1,109 @@
1+name: amazonka-route53-domains
2+version: 1.5.0
3+synopsis: Amazon Route 53 Domains SDK.
4+homepage: https://github.com/brendanhay/amazonka
5+bug-reports: https://github.com/brendanhay/amazonka/issues
6+license: MPL-2.0
7+license-file: LICENSE
8+author: Brendan Hay
9+maintainer: Brendan Hay <brendan.g.hay+amazonka@gmail.com>
10+copyright: Copyright (c) 2013-2017 Brendan Hay
11+category: Network, AWS, Cloud, Distributed Computing
12+build-type: Simple
13+cabal-version: >= 1.10
14+extra-source-files: README.md fixture/*.yaml fixture/*.proto src/.gitkeep
15+description:
16+ The types from this library are intended to be used with
17+ <http://hackage.haskell.org/package/amazonka amazonka>, which provides
18+ mechanisms for specifying AuthN/AuthZ information, sending requests,
19+ and receiving responses.
20+ .
21+ Lenses are used for constructing and manipulating types,
22+ due to the depth of nesting of AWS types and transparency regarding
23+ de/serialisation into more palatable Haskell values.
24+ The provided lenses should be compatible with any of the major lens libraries
25+ such as <http://hackage.haskell.org/package/lens lens> or
26+ <http://hackage.haskell.org/package/lens-family-core lens-family-core>.
27+ .
28+ See "Network.AWS.Route53Domains" or <https://aws.amazon.com/documentation/ the AWS documentation>
29+ to get started.
30+
31+source-repository head
32+ type: git
33+ location: git://github.com/brendanhay/amazonka.git
34+ subdir: amazonka-route53-domains
35+
36+library
37+ default-language: Haskell2010
38+ hs-source-dirs: src gen
39+
40+ ghc-options:
41+ -Wall
42+ -fwarn-incomplete-uni-patterns
43+ -fwarn-incomplete-record-updates
44+ -funbox-strict-fields
45+
46+ exposed-modules:
47+ Network.AWS.Route53Domains
48+ , Network.AWS.Route53Domains.CheckDomainAvailability
49+ , Network.AWS.Route53Domains.CheckDomainTransferability
50+ , Network.AWS.Route53Domains.DeleteTagsForDomain
51+ , Network.AWS.Route53Domains.DisableDomainAutoRenew
52+ , Network.AWS.Route53Domains.DisableDomainTransferLock
53+ , Network.AWS.Route53Domains.EnableDomainAutoRenew
54+ , Network.AWS.Route53Domains.EnableDomainTransferLock
55+ , Network.AWS.Route53Domains.GetContactReachabilityStatus
56+ , Network.AWS.Route53Domains.GetDomainDetail
57+ , Network.AWS.Route53Domains.GetDomainSuggestions
58+ , Network.AWS.Route53Domains.GetOperationDetail
59+ , Network.AWS.Route53Domains.ListDomains
60+ , Network.AWS.Route53Domains.ListOperations
61+ , Network.AWS.Route53Domains.ListTagsForDomain
62+ , Network.AWS.Route53Domains.RegisterDomain
63+ , Network.AWS.Route53Domains.RenewDomain
64+ , Network.AWS.Route53Domains.ResendContactReachabilityEmail
65+ , Network.AWS.Route53Domains.RetrieveDomainAuthCode
66+ , Network.AWS.Route53Domains.TransferDomain
67+ , Network.AWS.Route53Domains.Types
68+ , Network.AWS.Route53Domains.UpdateDomainContact
69+ , Network.AWS.Route53Domains.UpdateDomainContactPrivacy
70+ , Network.AWS.Route53Domains.UpdateDomainNameservers
71+ , Network.AWS.Route53Domains.UpdateTagsForDomain
72+ , Network.AWS.Route53Domains.ViewBilling
73+ , Network.AWS.Route53Domains.Waiters
74+
75+ other-modules:
76+ Network.AWS.Route53Domains.Types.Product
77+ , Network.AWS.Route53Domains.Types.Sum
78+
79+ build-depends:
80+ amazonka-core == 1.5.0.*
81+ , base >= 4.7 && < 5
82+
83+test-suite amazonka-route53-domains-test
84+ type: exitcode-stdio-1.0
85+ default-language: Haskell2010
86+ hs-source-dirs: test
87+ main-is: Main.hs
88+
89+ ghc-options: -Wall -threaded
90+
91+ -- This section is encoded by the template and any modules added by
92+ -- hand outside these namespaces will not correctly be added to the
93+ -- distribution package.
94+ other-modules:
95+ Test.AWS.Route53Domains
96+ , Test.AWS.Gen.Route53Domains
97+ , Test.AWS.Route53Domains.Internal
98+
99+ build-depends:
100+ amazonka-core == 1.5.0.*
101+ , amazonka-test == 1.5.0.*
102+ , amazonka-route53-domains
103+ , base
104+ , bytestring
105+ , tasty
106+ , tasty-hunit
107+ , text
108+ , time
109+ , unordered-containers
test/golden-test-cases/amazonka-route53-domains.nix.goldennew file+19
@@ -0,0 +1,19 @@
1+{ mkDerivation, amazonka-core, amazonka-test, base, bytestring
2+, fetchurl, tasty, tasty-hunit, text, time, unordered-containers
3+}:
4+mkDerivation {
5+ pname = "amazonka-route53-domains";
6+ version = "1.5.0";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [ amazonka-core base ];
12+ testHaskellDepends = [
13+ amazonka-core amazonka-test base bytestring tasty tasty-hunit text
14+ time unordered-containers
15+ ];
16+ homepage = "https://github.com/brendanhay/amazonka";
17+ description = "Amazon Route 53 Domains SDK";
18+ license = stdenv.lib.licenses.mpl20;
19+}
test/golden-test-cases/amazonka-waf.cabalnew file+144
@@ -0,0 +1,144 @@
1+name: amazonka-waf
2+version: 1.5.0
3+synopsis: Amazon WAF SDK.
4+homepage: https://github.com/brendanhay/amazonka
5+bug-reports: https://github.com/brendanhay/amazonka/issues
6+license: MPL-2.0
7+license-file: LICENSE
8+author: Brendan Hay
9+maintainer: Brendan Hay <brendan.g.hay+amazonka@gmail.com>
10+copyright: Copyright (c) 2013-2017 Brendan Hay
11+category: Network, AWS, Cloud, Distributed Computing
12+build-type: Simple
13+cabal-version: >= 1.10
14+extra-source-files: README.md fixture/*.yaml fixture/*.proto src/.gitkeep
15+description:
16+ The types from this library are intended to be used with
17+ <http://hackage.haskell.org/package/amazonka amazonka>, which provides
18+ mechanisms for specifying AuthN/AuthZ information, sending requests,
19+ and receiving responses.
20+ .
21+ Lenses are used for constructing and manipulating types,
22+ due to the depth of nesting of AWS types and transparency regarding
23+ de/serialisation into more palatable Haskell values.
24+ The provided lenses should be compatible with any of the major lens libraries
25+ such as <http://hackage.haskell.org/package/lens lens> or
26+ <http://hackage.haskell.org/package/lens-family-core lens-family-core>.
27+ .
28+ See "Network.AWS.WAF" or <https://aws.amazon.com/documentation/ the AWS documentation>
29+ to get started.
30+
31+source-repository head
32+ type: git
33+ location: git://github.com/brendanhay/amazonka.git
34+ subdir: amazonka-waf
35+
36+library
37+ default-language: Haskell2010
38+ hs-source-dirs: src gen
39+
40+ ghc-options:
41+ -Wall
42+ -fwarn-incomplete-uni-patterns
43+ -fwarn-incomplete-record-updates
44+ -funbox-strict-fields
45+
46+ exposed-modules:
47+ Network.AWS.WAF
48+ , Network.AWS.WAF.CreateByteMatchSet
49+ , Network.AWS.WAF.CreateGeoMatchSet
50+ , Network.AWS.WAF.CreateIPSet
51+ , Network.AWS.WAF.CreateRateBasedRule
52+ , Network.AWS.WAF.CreateRegexMatchSet
53+ , Network.AWS.WAF.CreateRegexPatternSet
54+ , Network.AWS.WAF.CreateRule
55+ , Network.AWS.WAF.CreateSizeConstraintSet
56+ , Network.AWS.WAF.CreateSqlInjectionMatchSet
57+ , Network.AWS.WAF.CreateWebACL
58+ , Network.AWS.WAF.CreateXSSMatchSet
59+ , Network.AWS.WAF.DeleteByteMatchSet
60+ , Network.AWS.WAF.DeleteGeoMatchSet
61+ , Network.AWS.WAF.DeleteIPSet
62+ , Network.AWS.WAF.DeleteRateBasedRule
63+ , Network.AWS.WAF.DeleteRegexMatchSet
64+ , Network.AWS.WAF.DeleteRegexPatternSet
65+ , Network.AWS.WAF.DeleteRule
66+ , Network.AWS.WAF.DeleteSizeConstraintSet
67+ , Network.AWS.WAF.DeleteSqlInjectionMatchSet
68+ , Network.AWS.WAF.DeleteWebACL
69+ , Network.AWS.WAF.DeleteXSSMatchSet
70+ , Network.AWS.WAF.GetByteMatchSet
71+ , Network.AWS.WAF.GetChangeToken
72+ , Network.AWS.WAF.GetChangeTokenStatus
73+ , Network.AWS.WAF.GetGeoMatchSet
74+ , Network.AWS.WAF.GetIPSet
75+ , Network.AWS.WAF.GetRateBasedRule
76+ , Network.AWS.WAF.GetRateBasedRuleManagedKeys
77+ , Network.AWS.WAF.GetRegexMatchSet
78+ , Network.AWS.WAF.GetRegexPatternSet
79+ , Network.AWS.WAF.GetRule
80+ , Network.AWS.WAF.GetSampledRequests
81+ , Network.AWS.WAF.GetSizeConstraintSet
82+ , Network.AWS.WAF.GetSqlInjectionMatchSet
83+ , Network.AWS.WAF.GetWebACL
84+ , Network.AWS.WAF.GetXSSMatchSet
85+ , Network.AWS.WAF.ListByteMatchSets
86+ , Network.AWS.WAF.ListGeoMatchSets
87+ , Network.AWS.WAF.ListIPSets
88+ , Network.AWS.WAF.ListRateBasedRules
89+ , Network.AWS.WAF.ListRegexMatchSets
90+ , Network.AWS.WAF.ListRegexPatternSets
91+ , Network.AWS.WAF.ListRules
92+ , Network.AWS.WAF.ListSizeConstraintSets
93+ , Network.AWS.WAF.ListSqlInjectionMatchSets
94+ , Network.AWS.WAF.ListWebACLs
95+ , Network.AWS.WAF.ListXSSMatchSets
96+ , Network.AWS.WAF.Types
97+ , Network.AWS.WAF.UpdateByteMatchSet
98+ , Network.AWS.WAF.UpdateGeoMatchSet
99+ , Network.AWS.WAF.UpdateIPSet
100+ , Network.AWS.WAF.UpdateRateBasedRule
101+ , Network.AWS.WAF.UpdateRegexMatchSet
102+ , Network.AWS.WAF.UpdateRegexPatternSet
103+ , Network.AWS.WAF.UpdateRule
104+ , Network.AWS.WAF.UpdateSizeConstraintSet
105+ , Network.AWS.WAF.UpdateSqlInjectionMatchSet
106+ , Network.AWS.WAF.UpdateWebACL
107+ , Network.AWS.WAF.UpdateXSSMatchSet
108+ , Network.AWS.WAF.Waiters
109+
110+ other-modules:
111+ Network.AWS.WAF.Types.Product
112+ , Network.AWS.WAF.Types.Sum
113+
114+ build-depends:
115+ amazonka-core == 1.5.0.*
116+ , base >= 4.7 && < 5
117+
118+test-suite amazonka-waf-test
119+ type: exitcode-stdio-1.0
120+ default-language: Haskell2010
121+ hs-source-dirs: test
122+ main-is: Main.hs
123+
124+ ghc-options: -Wall -threaded
125+
126+ -- This section is encoded by the template and any modules added by
127+ -- hand outside these namespaces will not correctly be added to the
128+ -- distribution package.
129+ other-modules:
130+ Test.AWS.WAF
131+ , Test.AWS.Gen.WAF
132+ , Test.AWS.WAF.Internal
133+
134+ build-depends:
135+ amazonka-core == 1.5.0.*
136+ , amazonka-test == 1.5.0.*
137+ , amazonka-waf
138+ , base
139+ , bytestring
140+ , tasty
141+ , tasty-hunit
142+ , text
143+ , time
144+ , unordered-containers
test/golden-test-cases/amazonka-waf.nix.goldennew file+19
@@ -0,0 +1,19 @@
1+{ mkDerivation, amazonka-core, amazonka-test, base, bytestring
2+, fetchurl, tasty, tasty-hunit, text, time, unordered-containers
3+}:
4+mkDerivation {
5+ pname = "amazonka-waf";
6+ version = "1.5.0";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [ amazonka-core base ];
12+ testHaskellDepends = [
13+ amazonka-core amazonka-test base bytestring tasty tasty-hunit text
14+ time unordered-containers
15+ ];
16+ homepage = "https://github.com/brendanhay/amazonka";
17+ description = "Amazon WAF SDK";
18+ license = stdenv.lib.licenses.mpl20;
19+}
test/golden-test-cases/api-field-json-th.cabalnew file+40
@@ -0,0 +1,40 @@
1+name: api-field-json-th
2+version: 0.1.0.2
3+synopsis: option of aeson's deriveJSON
4+description: Utils for using aeson's deriveJSON with lens's makeFields
5+homepage: https://github.com/nakaji-dayo/api-field-json-th
6+license: BSD3
7+license-file: LICENSE
8+author: Daishi Nakajima
9+maintainer: nakaji.dayo@gmail.com
10+copyright: 2016 Daishi Nakajima
11+category: Utils
12+build-type: Simple
13+-- extra-source-files:
14+cabal-version: >=1.10
15+
16+library
17+ exposed-modules: Data.Aeson.APIFieldJsonTH
18+ build-depends: base >= 4.7 && < 5
19+ , text
20+ , aeson
21+ , lens
22+ , split
23+ , template-haskell
24+ default-language: Haskell2010
25+
26+test-suite api-field-json-th-test
27+ type: exitcode-stdio-1.0
28+ hs-source-dirs: test
29+ main-is: Spec.hs
30+ build-depends: base
31+ , api-field-json-th
32+ , HUnit
33+ , aeson
34+ , lens
35+ ghc-options: -threaded -rtsopts -with-rtsopts=-N
36+ default-language: Haskell2010
37+
38+source-repository head
39+ type: git
40+ location: https://github.com/nakaji-dayo/api-field-json-th
test/golden-test-cases/api-field-json-th.nix.goldennew file+18
@@ -0,0 +1,18 @@
1+{ mkDerivation, aeson, base, fetchurl, HUnit, lens, split
2+, template-haskell, text
3+}:
4+mkDerivation {
5+ pname = "api-field-json-th";
6+ version = "0.1.0.2";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [
12+ aeson base lens split template-haskell text
13+ ];
14+ testHaskellDepends = [ aeson base HUnit lens ];
15+ homepage = "https://github.com/nakaji-dayo/api-field-json-th";
16+ description = "option of aeson's deriveJSON";
17+ license = stdenv.lib.licenses.bsd3;
18+}
test/golden-test-cases/app-settings.cabalnew file+138
@@ -0,0 +1,138 @@
1+-- Initial app-settings.cabal generated by cabal init. For further
2+-- documentation, see http://haskell.org/cabal/users-guide/
3+
4+name: app-settings
5+version: 0.2.0.11
6+synopsis: A library to manage application settings (INI file-like)
7+description:
8+ A library to deal with application settings.
9+ .
10+ This library deals with read-write application settings.
11+ You will have to specify the settings that your application
12+ uses, their name, types and default values.
13+ .
14+ Setting types must implement the 'Read' and 'Show' typeclasses.
15+ .
16+ The settings are saved in a file in an INI-like key-value format
17+ (without sections).
18+ .
19+ Reading and updating settings is done in pure code, the IO
20+ monad is only used to load settings and save them to disk.
21+ It is advised for the user to create a module in your project
22+ holding settings handling.
23+ .
24+ You can then declare settings:
25+ .
26+ > fontSize :: Setting Double
27+ > fontSize = Setting "fontSize" 14
28+ >
29+ > dateFormat :: Setting String
30+ > dateFormat = Setting "dateFormat" "%x"
31+ >
32+ > backgroundColor :: Setting (Int, Int, Int)
33+ > backgroundColor = Setting "backcolor" (255, 0, 0)
34+ .
35+ Optionally you can declare the list of all your settings,
36+ in that case the application will also save the default
37+ values in the configuration file, but commented out:
38+ .
39+ > fontSize=16
40+ > # dateFormat="%x"
41+ > # backcolor=(255,0,0)
42+ .
43+ If you do not specify the list of settings, only the
44+ first line would be present in the configuration file.
45+ .
46+ With an ordinary setting, one row in the configuration file
47+ means one setting. That setting may of course be a list
48+ for instance. This setup works very well for shorter lists
49+ like [1,2,3], however if you have a list of more complex
50+ items, you will get very long lines and a configuration
51+ file very difficult to edit by hand.
52+ .
53+ For these special cases there is also the 'ListSetting'
54+ constructor:
55+ .
56+ > testList :: Setting [String]
57+ > testList = ListSetting "testList" ["list1", "list2", "list3"]
58+ .
59+ Now the configuration file looks like that:
60+ .
61+ > testList_1="list1"
62+ > testList_2="list2"
63+ > testList_3="list3"
64+ .
65+ Which is much more handy for big lists. An empty list is represented
66+ like so:
67+ .
68+ > testList=
69+ .
70+ There is also another technique that you can use if you have too long
71+ lines: you can put line breaks in the setting values if you start the
72+ following lines with a leading space, like so:
73+ .
74+ > testList=["list1",
75+ > "list2", "list3"]
76+ .
77+ In that case don't use the ListSetting option. Any character after the
78+ the leading space in the next lines will go in the setting value. Note
79+ that the library will automatically wrap setting values longer than 80
80+ characters when saving.
81+ .
82+ Once we declared the settings, we can read the configuration
83+ from disk (and your settings module should export your wrapper
84+ around the function offered by this library):
85+ .
86+ > readResult <- try $ readSettings (AutoFromAppName "test")
87+ > case readResult of
88+ > Right (conf, GetSetting getSetting) -> do
89+ > let textSize = getSetting fontSize
90+ > saveSettings emptyDefaultConfig (AutoFromAppName "test") conf
91+ > Left (x :: SomeException) -> error "Error reading the config file!"
92+ .
93+ 'AutoFromAppName' specifies where to save the configuration file.
94+ And we've already covered the getSetting in this snippet, see
95+ the 'readSettings' documentation for further information.
96+ .
97+ You can also look at the tests of the library on the github project for sample use.
98+
99+homepage: https://github.com/emmanueltouzery/app-settings
100+license: BSD3
101+license-file: LICENSE
102+author: Emmanuel Touzery
103+maintainer: etouzery@gmail.com
104+-- copyright:
105+category: Configuration
106+build-type: Simple
107+extra-source-files: tests/*.conf tests/*.config tests/*.txt
108+cabal-version: >=1.10
109+
110+library
111+ exposed-modules: Data.AppSettings
112+ other-modules: Data.Serialization,
113+ Data.AppSettingsInternal
114+ -- other-extensions:
115+ build-depends: base >=4.6 && <5,
116+ mtl >= 2.1 && <2.3,
117+ containers == 0.5.*,
118+ directory >= 1.2 && < 1.4,
119+ text >= 0.10,
120+ parsec == 3.1.*
121+ -- hs-source-dirs:
122+ default-language: Haskell2010
123+ Ghc-Options: -Wall
124+
125+test-suite tests
126+ type: exitcode-stdio-1.0
127+ hs-source-dirs: ., tests
128+ main-is: Tests.hs
129+ default-language: Haskell2010
130+ build-depends: base,
131+ hspec,
132+ HUnit >= 1.2 && <1.7,
133+ mtl >= 2.1 && <2.3,
134+ containers == 0.5.*,
135+ directory >= 1.2 && < 1.4,
136+ text >= 0.10,
137+ parsec == 3.1.*
138+ Ghc-Options: -Wall
test/golden-test-cases/app-settings.nix.goldennew file+20
@@ -0,0 +1,20 @@
1+{ mkDerivation, base, containers, directory, fetchurl, hspec, HUnit
2+, mtl, parsec, text
3+}:
4+mkDerivation {
5+ pname = "app-settings";
6+ version = "0.2.0.11";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [
12+ base containers directory mtl parsec text
13+ ];
14+ testHaskellDepends = [
15+ base containers directory hspec HUnit mtl parsec text
16+ ];
17+ homepage = "https://github.com/emmanueltouzery/app-settings";
18+ description = "A library to manage application settings (INI file-like)";
19+ license = stdenv.lib.licenses.bsd3;
20+}
test/golden-test-cases/apply-refact.cabalnew file+96
@@ -0,0 +1,96 @@
1+-- Initial hlint-refactor.cabal generated by cabal init. For further
2+-- documentation, see http://haskell.org/cabal/users-guide/
3+
4+name: apply-refact
5+version: 0.4.1.0
6+synopsis: Perform refactorings specified by the refact library.
7+description: Perform refactorings specified by the refact library. It is primarily used with HLint's --refactor flag.
8+license: BSD3
9+license-file: LICENSE
10+author: Matthew Pickering
11+maintainer: matthewtpickering@gmail.com
12+-- copyright:
13+category: Development
14+build-type: Simple
15+extra-source-files: CHANGELOG
16+ , README.md
17+ , tests/examples/*.hs
18+ , tests/examples/*.hs.refact
19+ , tests/examples/*.hs.expected
20+cabal-version: >=1.10
21+tested-with: GHC == 8.0.1
22+
23+
24+source-repository head
25+ type: git
26+ location: https://github.com/mpickering/apply-refact.git
27+
28+library
29+ exposed-modules: Refact.Utils
30+ , Refact.Apply
31+ , Refact.Fixity
32+ GHC-Options: -Wall
33+ build-depends: base >=4.8 && <4.11
34+ , refact >= 0.2
35+ , ghc-exactprint >= 0.5.3.1
36+ , ghc >= 8.2.0 && < 8.3
37+ , containers
38+ , syb
39+ , mtl
40+ , process
41+ , transformers
42+ , temporary
43+ , filemanip
44+ , unix-compat
45+ , directory
46+ hs-source-dirs: src
47+ default-language: Haskell2010
48+
49+executable refactor
50+ main-is: Main.hs
51+ hs-source-dirs: src
52+ default-language: Haskell2010
53+ ghc-options: -Wall -fno-warn-unused-do-bind
54+ build-depends: base >= 4.8 && < 4.11
55+ , refact >= 0.2
56+ , ghc-exactprint >= 0.5.3.1
57+ , ghc >= 8.2.0 && < 8.3
58+ , containers
59+ , syb
60+ , mtl
61+ , process
62+ , directory
63+ , optparse-applicative >= 0.13
64+ , filemanip
65+ , unix-compat
66+ , filepath
67+ , temporary
68+ , transformers
69+
70+Test-Suite test
71+ type: exitcode-stdio-1.0
72+ hs-source-dirs: tests, src
73+ main-is: Test.hs
74+ GHC-Options: -threaded -main-is Test
75+ Default-language: Haskell2010
76+ if impl (ghc < 7.10)
77+ buildable: False
78+ Build-depends: tasty
79+ , tasty-golden
80+ , tasty-expected-failure
81+ , base < 5
82+ , refact >= 0.2
83+ , ghc-exactprint >= 0.5.3.1
84+ , ghc >= 8.2.0 && < 8.3
85+ , containers
86+ , syb
87+ , mtl
88+ , process
89+ , directory
90+ , optparse-applicative
91+ , filemanip
92+ , unix-compat
93+ , filepath
94+ , silently
95+ , temporary
96+ , transformers
test/golden-test-cases/apply-refact.nix.goldennew file+32
@@ -0,0 +1,32 @@
1+{ mkDerivation, base, containers, directory, fetchurl, filemanip
2+, filepath, ghc, ghc-exactprint, mtl, optparse-applicative, process
3+, refact, silently, syb, tasty, tasty-expected-failure
4+, tasty-golden, temporary, transformers, unix-compat
5+}:
6+mkDerivation {
7+ pname = "apply-refact";
8+ version = "0.4.1.0";
9+ src = fetchurl {
10+ url = "http://example.org/";
11+ sha256 = "abc";
12+ };
13+ isLibrary = true;
14+ isExecutable = true;
15+ libraryHaskellDepends = [
16+ base containers directory filemanip ghc ghc-exactprint mtl process
17+ refact syb temporary transformers unix-compat
18+ ];
19+ executableHaskellDepends = [
20+ base containers directory filemanip filepath ghc ghc-exactprint mtl
21+ optparse-applicative process refact syb temporary transformers
22+ unix-compat
23+ ];
24+ testHaskellDepends = [
25+ base containers directory filemanip filepath ghc ghc-exactprint mtl
26+ optparse-applicative process refact silently syb tasty
27+ tasty-expected-failure tasty-golden temporary transformers
28+ unix-compat
29+ ];
30+ description = "Perform refactorings specified by the refact library";
31+ license = stdenv.lib.licenses.bsd3;
32+}
test/golden-test-cases/async.cabalnew file+64
@@ -0,0 +1,64 @@
1+name: async
2+version: 2.1.1.1
3+-- don't forget to update ./changelog.md!
4+synopsis: Run IO operations asynchronously and wait for their results
5+
6+description:
7+ This package provides a higher-level interface over
8+ threads, in which an @Async a@ is a concurrent
9+ thread that will eventually deliver a value of
10+ type @a@. The package provides ways to create
11+ @Async@ computations, wait for their results, and
12+ cancel them.
13+ .
14+ Using @Async@ is safer than using threads in two
15+ ways:
16+ .
17+ * When waiting for a thread to return a result,
18+ if the thread dies with an exception then the
19+ caller must either re-throw the exception
20+ ('wait') or handle it ('waitCatch'); the
21+ exception cannot be ignored.
22+ .
23+ * The API makes it possible to build a tree of
24+ threads that are automatically killed when
25+ their parent dies (see 'withAsync').
26+
27+license: BSD3
28+license-file: LICENSE
29+author: Simon Marlow
30+maintainer: Simon Marlow <marlowsd@gmail.com>
31+copyright: (c) Simon Marlow 2012
32+category: Concurrency
33+build-type: Simple
34+cabal-version: >=1.10
35+homepage: https://github.com/simonmar/async
36+bug-reports: https://github.com/simonmar/async/issues
37+tested-with: GHC==7.11.*, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2, GHC==7.2.2, GHC==7.0.4
38+
39+extra-source-files:
40+ changelog.md
41+ bench/race.hs
42+
43+source-repository head
44+ type: git
45+ location: https://github.com/simonmar/async.git
46+
47+library
48+ default-language: Haskell2010
49+ other-extensions: CPP, MagicHash, RankNTypes, UnboxedTuples
50+ if impl(ghc>=7.1)
51+ other-extensions: Trustworthy
52+ exposed-modules: Control.Concurrent.Async
53+ build-depends: base >= 4.3 && < 4.11, stm >= 2.2 && < 2.5
54+
55+test-suite test-async
56+ default-language: Haskell2010
57+ type: exitcode-stdio-1.0
58+ hs-source-dirs: test
59+ main-is: test-async.hs
60+ build-depends: base >= 4.3 && < 4.11,
61+ async,
62+ test-framework,
63+ test-framework-hunit,
64+ HUnit
test/golden-test-cases/async.nix.goldennew file+18
@@ -0,0 +1,18 @@
1+{ mkDerivation, base, fetchurl, HUnit, stm, test-framework
2+, test-framework-hunit
3+}:
4+mkDerivation {
5+ pname = "async";
6+ version = "2.1.1.1";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [ base stm ];
12+ testHaskellDepends = [
13+ base HUnit test-framework test-framework-hunit
14+ ];
15+ homepage = "https://github.com/simonmar/async";
16+ description = "Run IO operations asynchronously and wait for their results";
17+ license = stdenv.lib.licenses.bsd3;
18+}
test/golden-test-cases/attoparsec-expr.cabalnew file+28
@@ -0,0 +1,28 @@
1+name: attoparsec-expr
2+version: 0.1.1.2
3+description: Port of parsec's expression parser to attoparsec.
4+synopsis: Port of parsec's expression parser to attoparsec.
5+category: Text, Parsing
6+license: BSD3
7+license-file: LICENSE
8+author: Daan Leijen, Paolo Martini
9+maintainer: Silk <code@silk.co>
10+build-type: Simple
11+cabal-version: >= 1.6
12+
13+extra-source-files:
14+ CHANGELOG.md
15+ LICENSE
16+ README.md
17+
18+source-repository head
19+ type: git
20+ location: https://github.com/silkapp/attoparsec-expr
21+
22+library
23+ ghc-options: -Wall
24+ hs-source-dirs: src
25+ exposed-modules: Data.Attoparsec.Expr
26+ Build-Depends:
27+ base == 4.*
28+ , attoparsec >= 0.10 && < 0.14
test/golden-test-cases/attoparsec-expr.nix.goldennew file+12
@@ -0,0 +1,12 @@
1+{ mkDerivation, attoparsec, base, fetchurl }:
2+mkDerivation {
3+ pname = "attoparsec-expr";
4+ version = "0.1.1.2";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ attoparsec base ];
10+ description = "Port of parsec's expression parser to attoparsec";
11+ license = stdenv.lib.licenses.bsd3;
12+}
test/golden-test-cases/attoparsec-time.cabalnew file+84
@@ -0,0 +1,84 @@
1+name:
2+ attoparsec-time
3+version:
4+ 1
5+synopsis:
6+ Attoparsec parsers of time
7+description:
8+ A collection of Attoparsec parsers for the \"time\" library
9+category:
10+ Attoparsec, Parsers, Time
11+homepage:
12+ https://github.com/nikita-volkov/attoparsec-time
13+bug-reports:
14+ https://github.com/nikita-volkov/attoparsec-time/issues
15+author:
16+ Nikita Volkov <nikita.y.volkov@mail.ru>
17+maintainer:
18+ Nikita Volkov <nikita.y.volkov@mail.ru>
19+copyright:
20+ (c) 2017, Nikita Volkov
21+license:
22+ MIT
23+license-file:
24+ LICENSE
25+build-type:
26+ Custom
27+cabal-version:
28+ >=1.10
29+
30+source-repository head
31+ type:
32+ git
33+ location:
34+ git://github.com/nikita-volkov/attoparsec-time.git
35+
36+custom-setup
37+ setup-depends:
38+ base, Cabal, cabal-doctest >=1.0.2 && <1.1
39+
40+library
41+ hs-source-dirs:
42+ library
43+ default-extensions:
44+ Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
45+ default-language:
46+ Haskell2010
47+ exposed-modules:
48+ Attoparsec.Time.ByteString
49+ Attoparsec.Time.Text
50+ other-modules:
51+ Attoparsec.Time.Prelude
52+ Attoparsec.Time.Validation
53+ Attoparsec.Time.Pure
54+ build-depends:
55+ --
56+ attoparsec >=0.13 && <0.15,
57+ --
58+ time >=1.4 && <2,
59+ scientific ==0.3.*,
60+ text >=1 && <2,
61+ bytestring ==0.10.*,
62+ --
63+ base-prelude <2,
64+ base >=4.7 && <5
65+
66+test-suite doctests
67+ type:
68+ exitcode-stdio-1.0
69+ hs-source-dirs:
70+ doctests
71+ main-is:
72+ Main.hs
73+ ghc-options:
74+ -threaded
75+ "-with-rtsopts=-N"
76+ -funbox-strict-fields
77+ default-language:
78+ Haskell2010
79+ build-depends:
80+ doctest ==0.13.*,
81+ directory >=1.2 && <2,
82+ filepath >=1.4 && <2,
83+ base-prelude <2,
84+ base <5
test/golden-test-cases/attoparsec-time.nix.goldennew file+22
@@ -0,0 +1,22 @@
1+{ mkDerivation, attoparsec, base, base-prelude, bytestring, Cabal
2+, cabal-doctest, directory, doctest, fetchurl, filepath, scientific
3+, text, time
4+}:
5+mkDerivation {
6+ pname = "attoparsec-time";
7+ version = "1";
8+ src = fetchurl {
9+ url = "http://example.org/";
10+ sha256 = "abc";
11+ };
12+ setupHaskellDepends = [ base Cabal cabal-doctest ];
13+ libraryHaskellDepends = [
14+ attoparsec base base-prelude bytestring scientific text time
15+ ];
16+ testHaskellDepends = [
17+ base base-prelude directory doctest filepath
18+ ];
19+ homepage = "https://github.com/nikita-volkov/attoparsec-time";
20+ description = "Attoparsec parsers of time";
21+ license = stdenv.lib.licenses.mit;
22+}
test/golden-test-cases/avers-server.cabalnew file+55
@@ -0,0 +1,55 @@
1+name: avers-server
2+version: 0.1.0
3+synopsis: Server implementation of the Avers API
4+description: Server implementation of the Avers API
5+homepage: http://github.com/wereHamster/avers-server
6+license: MIT
7+license-file: LICENSE
8+author: Tomas Carnecky
9+maintainer: tomas.carnecky@gmail.com
10+copyright: 2016 Tomas Carnecky
11+category: Avers
12+build-type: Simple
13+cabal-version: >=1.10
14+
15+source-repository head
16+ type: git
17+ location: https://github.com/wereHamster/avers
18+
19+library
20+ default-language: Haskell2010
21+ hs-source-dirs: src
22+ ghc-options: -Wall
23+
24+ exposed-modules:
25+ Avers.Server
26+
27+ other-modules:
28+ Avers.Server.Authorization
29+ , Avers.Server.Instances
30+
31+ build-depends:
32+ base >= 4.7 && < 5
33+ , aeson
34+ , avers
35+ , avers-api
36+ , base64-bytestring
37+ , bytestring
38+ , bytestring-conversion
39+ , containers
40+ , cookie
41+ , cryptonite
42+ , http-types
43+ , memory
44+ , mtl
45+ , resource-pool
46+ , rethinkdb-client-driver
47+ , servant
48+ , servant-server
49+ , stm
50+ , text
51+ , time
52+ , transformers
53+ , wai
54+ , wai-websockets
55+ , websockets
test/golden-test-cases/avers-server.nix.goldennew file+24
@@ -0,0 +1,24 @@
1+{ mkDerivation, aeson, avers, avers-api, base, base64-bytestring
2+, bytestring, bytestring-conversion, containers, cookie, cryptonite
3+, fetchurl, http-types, memory, mtl, resource-pool
4+, rethinkdb-client-driver, servant, servant-server, stm, text, time
5+, transformers, wai, wai-websockets, websockets
6+}:
7+mkDerivation {
8+ pname = "avers-server";
9+ version = "0.1.0";
10+ src = fetchurl {
11+ url = "http://example.org/";
12+ sha256 = "abc";
13+ };
14+ libraryHaskellDepends = [
15+ aeson avers avers-api base base64-bytestring bytestring
16+ bytestring-conversion containers cookie cryptonite http-types
17+ memory mtl resource-pool rethinkdb-client-driver servant
18+ servant-server stm text time transformers wai wai-websockets
19+ websockets
20+ ];
21+ homepage = "http://github.com/wereHamster/avers-server";
22+ description = "Server implementation of the Avers API";
23+ license = stdenv.lib.licenses.mit;
24+}
test/golden-test-cases/aws.cabalnew file+430
@@ -0,0 +1,430 @@
1+Name: aws
2+Version: 0.18
3+Synopsis: Amazon Web Services (AWS) for Haskell
4+Description: Bindings for Amazon Web Services (AWS), with the aim of supporting all AWS services. To see a high level overview of the library, see the README at <https://github.com/aristidb/aws/blob/master/README.md>.
5+Homepage: http://github.com/aristidb/aws
6+License: BSD3
7+License-file: LICENSE
8+Author: Aristid Breitkreuz, contributors see README
9+Maintainer: aristidb@gmail.com
10+Copyright: See contributors list in README and LICENSE file
11+Category: Network, Web, AWS, Cloud, Distributed Computing
12+Build-type: Simple
13+
14+Extra-source-files: README.md
15+ CHANGELOG.md
16+
17+Cabal-version: >=1.10
18+
19+Source-repository this
20+ type: git
21+ location: https://github.com/aristidb/aws.git
22+ tag: 0.18
23+
24+Source-repository head
25+ type: git
26+ location: https://github.com/aristidb/aws.git
27+
28+Flag Examples
29+ Description: Build the examples.
30+ Default: False
31+
32+Library
33+ Exposed-modules:
34+ Aws
35+ Aws.Aws
36+ Aws.Core
37+ Aws.DynamoDb
38+ Aws.DynamoDb.Commands
39+ Aws.DynamoDb.Commands.BatchGetItem
40+ Aws.DynamoDb.Commands.BatchWriteItem
41+ Aws.DynamoDb.Commands.DeleteItem
42+ Aws.DynamoDb.Commands.GetItem
43+ Aws.DynamoDb.Commands.PutItem
44+ Aws.DynamoDb.Commands.Query
45+ Aws.DynamoDb.Commands.Scan
46+ Aws.DynamoDb.Commands.Table
47+ Aws.DynamoDb.Commands.UpdateItem
48+ Aws.DynamoDb.Core
49+ Aws.Ec2.InstanceMetadata
50+ Aws.Iam
51+ Aws.Iam.Commands
52+ Aws.Iam.Commands.CreateAccessKey
53+ Aws.Iam.Commands.CreateUser
54+ Aws.Iam.Commands.DeleteAccessKey
55+ Aws.Iam.Commands.DeleteUser
56+ Aws.Iam.Commands.DeleteUserPolicy
57+ Aws.Iam.Commands.GetUser
58+ Aws.Iam.Commands.GetUserPolicy
59+ Aws.Iam.Commands.ListAccessKeys
60+ Aws.Iam.Commands.ListMfaDevices
61+ Aws.Iam.Commands.ListUserPolicies
62+ Aws.Iam.Commands.ListUsers
63+ Aws.Iam.Commands.PutUserPolicy
64+ Aws.Iam.Commands.UpdateAccessKey
65+ Aws.Iam.Commands.UpdateUser
66+ Aws.Iam.Core
67+ Aws.Iam.Internal
68+ Aws.Network
69+ Aws.S3
70+ Aws.S3.Commands
71+ Aws.S3.Commands.CopyObject
72+ Aws.S3.Commands.DeleteBucket
73+ Aws.S3.Commands.DeleteObject
74+ Aws.S3.Commands.DeleteObjectVersion
75+ Aws.S3.Commands.DeleteObjects
76+ Aws.S3.Commands.GetBucket
77+ Aws.S3.Commands.GetBucketLocation
78+ Aws.S3.Commands.GetBucketObjectVersions
79+ Aws.S3.Commands.GetObject
80+ Aws.S3.Commands.GetService
81+ Aws.S3.Commands.HeadObject
82+ Aws.S3.Commands.PutBucket
83+ Aws.S3.Commands.PutObject
84+ Aws.S3.Commands.Multipart
85+ Aws.S3.Core
86+ Aws.Ses
87+ Aws.Ses.Commands
88+ Aws.Ses.Commands.DeleteIdentity
89+ Aws.Ses.Commands.GetIdentityDkimAttributes
90+ Aws.Ses.Commands.GetIdentityNotificationAttributes
91+ Aws.Ses.Commands.GetIdentityVerificationAttributes
92+ Aws.Ses.Commands.ListIdentities
93+ Aws.Ses.Commands.SendRawEmail
94+ Aws.Ses.Commands.SetIdentityDkimEnabled
95+ Aws.Ses.Commands.SetIdentityFeedbackForwardingEnabled
96+ Aws.Ses.Commands.SetIdentityNotificationTopic
97+ Aws.Ses.Commands.VerifyDomainDkim
98+ Aws.Ses.Commands.VerifyDomainIdentity
99+ Aws.Ses.Commands.VerifyEmailIdentity
100+ Aws.Ses.Core
101+ Aws.SimpleDb
102+ Aws.SimpleDb.Commands
103+ Aws.SimpleDb.Commands.Attributes
104+ Aws.SimpleDb.Commands.Domain
105+ Aws.SimpleDb.Commands.Select
106+ Aws.SimpleDb.Core
107+ Aws.Sqs
108+ Aws.Sqs.Commands
109+ Aws.Sqs.Commands.Message
110+ Aws.Sqs.Commands.Permission
111+ Aws.Sqs.Commands.Queue
112+ Aws.Sqs.Commands.QueueAttributes
113+ Aws.Sqs.Core
114+
115+ Build-depends:
116+ aeson >= 0.6,
117+ attoparsec >= 0.11 && < 0.14,
118+ base >= 4.6 && < 5,
119+ base16-bytestring == 0.1.*,
120+ base64-bytestring == 1.0.*,
121+ blaze-builder >= 0.2.1.4 && < 0.5,
122+ byteable == 0.1.*,
123+ bytestring >= 0.9 && < 0.11,
124+ case-insensitive >= 0.2 && < 1.3,
125+ cereal >= 0.3 && < 0.6,
126+ conduit >= 1.1 && < 1.3,
127+ conduit-extra >= 1.1 && < 1.3,
128+ containers >= 0.4,
129+ cryptonite >= 0.11,
130+ data-default >= 0.5.3 && < 0.8,
131+ directory >= 1.0 && < 2.0,
132+ filepath >= 1.1 && < 1.5,
133+ http-conduit >= 2.1 && < 2.3,
134+ http-types >= 0.7 && < 1.0,
135+ lifted-base >= 0.1 && < 0.3,
136+ memory,
137+ monad-control >= 0.3,
138+ mtl == 2.*,
139+ network == 2.*,
140+ old-locale == 1.*,
141+ resourcet >= 1.1 && < 1.2,
142+ safe >= 0.3 && < 0.4,
143+ scientific >= 0.3,
144+ tagged >= 0.7 && < 0.9,
145+ text >= 0.11,
146+ time >= 1.4.0 && < 2.0,
147+ transformers >= 0.2.2 && < 0.6,
148+ unordered-containers >= 0.2,
149+ utf8-string >= 0.3 && < 1.1,
150+ vector >= 0.10,
151+ xml-conduit >= 1.2 && <2.0
152+
153+ if !impl(ghc >= 7.6)
154+ Build-depends: ghc-prim
155+
156+ GHC-Options: -Wall
157+
158+ Default-Language: Haskell2010
159+ Default-Extensions:
160+ RecordWildCards,
161+ TypeFamilies,
162+ MultiParamTypeClasses,
163+ FlexibleContexts,
164+ FlexibleInstances,
165+ FunctionalDependencies,
166+ DeriveFunctor,
167+ DeriveDataTypeable,
168+ OverloadedStrings,
169+ TupleSections,
170+ ScopedTypeVariables,
171+ EmptyDataDecls,
172+ Rank2Types
173+
174+Executable GetObject
175+ Main-is: GetObject.hs
176+ Hs-source-dirs: Examples
177+
178+ if !flag(Examples)
179+ Buildable: False
180+ else
181+ Buildable: True
182+ Build-depends:
183+ base == 4.*,
184+ aws,
185+ http-conduit,
186+ conduit,
187+ conduit-extra
188+
189+ Default-Language: Haskell2010
190+
191+Executable GetObjectGoogle
192+ Main-is: GetObjectGoogle.hs
193+ Hs-source-dirs: Examples
194+
195+ if !flag(Examples)
196+ Buildable: False
197+ else
198+ Buildable: True
199+ Build-depends:
200+ base == 4.*,
201+ aws,
202+ http-conduit,
203+ conduit,
204+ conduit-extra
205+
206+ Default-Language: Haskell2010
207+
208+Executable MultipartUpload
209+ Main-is: MultipartUpload.hs
210+ Hs-source-dirs: Examples
211+
212+ if !flag(Examples)
213+ Buildable: False
214+ else
215+ Buildable: True
216+ Build-depends:
217+ base == 4.*,
218+ aws,
219+ http-conduit,
220+ conduit,
221+ conduit-extra,
222+ text,
223+ resourcet
224+
225+ Default-Language: Haskell2010
226+
227+Executable MultipartTransfer
228+ Main-is: MultipartTransfer.hs
229+ Hs-source-dirs: Examples
230+
231+ if !flag(Examples)
232+ Buildable: False
233+ else
234+ Buildable: True
235+ Build-depends:
236+ base == 4.*,
237+ aws,
238+ http-conduit,
239+ conduit,
240+ conduit-extra,
241+ text
242+
243+ Default-Language: Haskell2010
244+
245+Executable NukeBucket
246+ Main-is: NukeBucket.hs
247+ Hs-source-dirs: Examples
248+
249+ if !flag(Examples)
250+ Buildable: False
251+ else
252+ Buildable: True
253+ Build-depends:
254+ base == 4.*,
255+ aws,
256+ http-conduit,
257+ conduit,
258+ conduit-extra,
259+ text >=0.1,
260+ transformers
261+
262+ Default-Language: Haskell2010
263+
264+Executable PutBucketNearLine
265+ Main-is: PutBucketNearLine.hs
266+ Hs-source-dirs: Examples
267+
268+ if !flag(Examples)
269+ Buildable: False
270+ else
271+ Buildable: True
272+ Build-depends:
273+ base == 4.*,
274+ aws,
275+ http-conduit,
276+ conduit,
277+ conduit-extra,
278+ text >=0.1,
279+ transformers
280+
281+ Default-Language: Haskell2010
282+
283+Executable SimpleDb
284+ Main-is: SimpleDb.hs
285+ Hs-source-dirs: Examples
286+
287+ if !flag(Examples)
288+ Buildable: False
289+ else
290+ Buildable: True
291+ Build-depends:
292+ base == 4.*,
293+ aws,
294+ text >=0.11
295+
296+ Default-Language: Haskell2010
297+
298+Executable DynamoDb
299+ Main-is: DynamoDb.hs
300+ Hs-source-dirs: Examples
301+
302+ if !flag(Examples)
303+ Buildable: False
304+ else
305+ Buildable: True
306+ Build-depends:
307+ aws,
308+ base == 4.*,
309+ data-default,
310+ exceptions,
311+ http-conduit,
312+ text,
313+ conduit
314+
315+ Default-Language: Haskell2010
316+
317+
318+Executable Sqs
319+ Main-is: Sqs.hs
320+ Hs-source-dirs: Examples
321+
322+ if !flag(Examples)
323+ Buildable: False
324+ else
325+ Buildable: True
326+ Build-depends:
327+ base == 4.*,
328+ aws,
329+ errors >= 2.0,
330+ text >=0.11,
331+ transformers >= 0.3
332+
333+ Default-Language: Haskell2010
334+
335+test-suite sqs-tests
336+ type: exitcode-stdio-1.0
337+ default-language: Haskell2010
338+ hs-source-dirs: tests
339+ main-is: Sqs/Main.hs
340+
341+ other-modules:
342+ Utils
343+
344+ build-depends:
345+ QuickCheck >= 2.7,
346+ aeson >= 0.7,
347+ aws,
348+ base == 4.*,
349+ bytestring >= 0.10,
350+ errors >= 2.0,
351+ http-client >= 0.3 && < 0.6,
352+ lifted-base >= 0.2,
353+ monad-control >= 0.3,
354+ mtl >= 2.1,
355+ quickcheck-instances >= 0.3,
356+ resourcet >= 1.1,
357+ tagged >= 0.7,
358+ tasty >= 0.8,
359+ tasty-quickcheck >= 0.8,
360+ text >= 1.1,
361+ time,
362+ transformers >= 0.3,
363+ transformers-base >= 0.4
364+
365+ ghc-options: -Wall -threaded
366+
367+test-suite dynamodb-tests
368+ type: exitcode-stdio-1.0
369+ default-language: Haskell2010
370+ hs-source-dirs: tests
371+ main-is: DynamoDb/Main.hs
372+
373+ other-modules:
374+ Utils
375+ DynamoDb.Utils
376+
377+ build-depends:
378+ QuickCheck >= 2.7,
379+ aeson >= 0.7,
380+ aws,
381+ base == 4.*,
382+ bytestring >= 0.10,
383+ errors >= 2.0,
384+ http-client >= 0.3,
385+ lifted-base >= 0.2,
386+ monad-control >= 0.3,
387+ mtl >= 2.1,
388+ quickcheck-instances >= 0.3,
389+ resourcet >= 1.1,
390+ tagged >= 0.7,
391+ tasty >= 0.8,
392+ tasty-quickcheck >= 0.8,
393+ text >= 1.1,
394+ time,
395+ transformers >= 0.3,
396+ transformers-base >= 0.4
397+
398+
399+test-suite s3-tests
400+ type: exitcode-stdio-1.0
401+ default-language: Haskell2010
402+ hs-source-dirs: tests
403+ main-is: S3/Main.hs
404+
405+ other-modules:
406+ Utils
407+
408+ build-depends:
409+ aws,
410+ base == 4.*,
411+ QuickCheck >= 2.7,
412+ aeson >= 0.7,
413+ bytestring,
414+ conduit-combinators,
415+ errors >= 2.0,
416+ lifted-base >= 0.2,
417+ monad-control >= 0.3,
418+ mtl >= 2.1,
419+ http-client < 0.6,
420+ http-client-tls < 0.5,
421+ http-types,
422+ resourcet,
423+ tasty >= 0.8,
424+ tasty-hunit >= 0.8,
425+ tasty-quickcheck >= 0.8,
426+ text,
427+ time,
428+ tagged >= 0.7,
429+ transformers >= 0.3,
430+ transformers-base >= 0.4
test/golden-test-cases/aws.nix.goldennew file+38
@@ -0,0 +1,38 @@
1+{ mkDerivation, aeson, attoparsec, base, base16-bytestring
2+, base64-bytestring, blaze-builder, byteable, bytestring
3+, case-insensitive, cereal, conduit, conduit-combinators
4+, conduit-extra, containers, cryptonite, data-default, directory
5+, errors, fetchurl, filepath, http-client, http-client-tls
6+, http-conduit, http-types, lifted-base, memory, monad-control, mtl
7+, network, old-locale, QuickCheck, quickcheck-instances, resourcet
8+, safe, scientific, tagged, tasty, tasty-hunit, tasty-quickcheck
9+, text, time, transformers, transformers-base, unordered-containers
10+, utf8-string, vector, xml-conduit
11+}:
12+mkDerivation {
13+ pname = "aws";
14+ version = "0.18";
15+ src = fetchurl {
16+ url = "http://example.org/";
17+ sha256 = "abc";
18+ };
19+ isLibrary = true;
20+ isExecutable = true;
21+ libraryHaskellDepends = [
22+ aeson attoparsec base base16-bytestring base64-bytestring
23+ blaze-builder byteable bytestring case-insensitive cereal conduit
24+ conduit-extra containers cryptonite data-default directory filepath
25+ http-conduit http-types lifted-base memory monad-control mtl
26+ network old-locale resourcet safe scientific tagged text time
27+ transformers unordered-containers utf8-string vector xml-conduit
28+ ];
29+ testHaskellDepends = [
30+ aeson base bytestring conduit-combinators errors http-client
31+ http-client-tls http-types lifted-base monad-control mtl QuickCheck
32+ quickcheck-instances resourcet tagged tasty tasty-hunit
33+ tasty-quickcheck text time transformers transformers-base
34+ ];
35+ homepage = "http://github.com/aristidb/aws";
36+ description = "Amazon Web Services (AWS) for Haskell";
37+ license = stdenv.lib.licenses.bsd3;
38+}
test/golden-test-cases/bbdb.cabalnew file+54
@@ -0,0 +1,54 @@
1+Name: bbdb
2+Version: 0.8
3+Synopsis: Ability to read, write, and modify BBDB files
4+Description: BBDB (http://savannah.nongnu.org/projects/bbdb/) is a
5+ contact management utility that can be used with
6+ emacs. It stores its data internally as a lisp
7+ expression. This module parses the lisp and
8+ provides some convenience functions to get at and
9+ manipulate the data all from within Haskell. See
10+ the hackage docs for usage and examples.
11+
12+Homepage: https://github.com/henrylaxen/bbdb
13+License: GPL-3
14+License-file: LICENSE
15+Author: Henry Laxen
16+Copyright: Henry Laxen
17+Maintainer: nadine.and.henry@pobox.com
18+Stability: stable
19+Bug-reports: mailto:nadine.and.henry@pobox.com
20+Category: Database
21+Build-type: Simple
22+Extra-source-files: changelog.md
23+ LICENSE
24+ README.md
25+ test/sampleData.txt
26+
27+Cabal-version: >=1.10
28+
29+Library
30+ Exposed-modules: Database.BBDB
31+ hs-source-dirs: src
32+ ghc-options: -Wall
33+ default-language: Haskell2010
34+ default-extensions: FlexibleInstances,
35+ MultiParamTypeClasses,
36+ OverloadedStrings
37+ Build-depends:
38+ base >= 3 && <= 5,
39+ parsec >= 3
40+
41+Test-Suite bbdb-tests
42+ Type: exitcode-stdio-1.0
43+ Main-is: Spec.hs
44+ hs-source-dirs: src,test
45+ Other-modules: Database.BBDB,
46+ BBDBSpec
47+ default-language: Haskell2010
48+ default-extensions: FlexibleInstances,
49+ MultiParamTypeClasses,
50+ OverloadedStrings
51+ Build-depends:
52+ base >= 3 && <= 5,
53+ hspec,
54+ parsec >= 3
test/golden-test-cases/bbdb.nix.goldennew file+14
@@ -0,0 +1,14 @@
1+{ mkDerivation, base, fetchurl, hspec, parsec }:
2+mkDerivation {
3+ pname = "bbdb";
4+ version = "0.8";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base parsec ];
10+ testHaskellDepends = [ base hspec parsec ];
11+ homepage = "https://github.com/henrylaxen/bbdb";
12+ description = "Ability to read, write, and modify BBDB files";
13+ license = stdenv.lib.licenses.gpl3;
14+}
test/golden-test-cases/benchpress.cabalnew file+41
@@ -0,0 +1,41 @@
1+name: benchpress
2+version: 0.2.2.10
3+synopsis: Micro-benchmarking with detailed statistics.
4+Description: Benchmarks actions and produces statistics
5+ such as min, mean, median, standard deviation,
6+ and max execution time. Also computes
7+ execution time percentiles. Comes with
8+ functions to pretty-print the results.
9+license: BSD3
10+license-file: LICENSE
11+author: Johan Tibell
12+maintainer: me@willsewell.com
13+build-type: Simple
14+cabal-version: >= 1.2
15+category: Testing
16+homepage: https://github.com/WillSewell/benchpress
17+
18+library
19+ exposed-modules: Test.BenchPress
20+
21+ other-modules: Math.Statistics
22+
23+ build-depends: base >= 2.0 && < 4.11,
24+ mtl >= 1 && < 2.3,
25+ time >= 1 && < 1.10
26+
27+ ghc-options: -funbox-strict-fields -Wall
28+
29+executable example
30+ main-is: Main.hs
31+
32+ -- This is not in build-depends for cabal 1.2 compatibility (requires 1.8)
33+ other-modules: Test.BenchPress
34+ Math.Statistics
35+
36+ hs-source-dirs: example, .
37+
38+ build-depends: base,
39+ bytestring
40+
41+ ghc-options: -funbox-strict-fields -Wall
test/golden-test-cases/benchpress.nix.goldennew file+16
@@ -0,0 +1,16 @@
1+{ mkDerivation, base, bytestring, fetchurl, mtl, time }:
2+mkDerivation {
3+ pname = "benchpress";
4+ version = "0.2.2.10";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ isLibrary = true;
10+ isExecutable = true;
11+ libraryHaskellDepends = [ base mtl time ];
12+ executableHaskellDepends = [ base bytestring ];
13+ homepage = "https://github.com/WillSewell/benchpress";
14+ description = "Micro-benchmarking with detailed statistics";
15+ license = stdenv.lib.licenses.bsd3;
16+}
test/golden-test-cases/binary-bits.cabalnew file+44
@@ -0,0 +1,44 @@
1+-- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/
2+name: binary-bits
3+version: 0.5
4+synopsis: Bit parsing/writing on top of binary.
5+description: Bit parsing/writing on top of binary. Provides functions to
6+ read and write bits to and from 8\/16\/32\/64 words.
7+license: BSD3
8+license-file: LICENSE
9+author: Lennart Kolmodin <kolmodin@gmail.com>
10+maintainer: Lennart Kolmodin <kolmodin@gmail.com>
11+category: Data, Parsing
12+build-type: Simple
13+
14+cabal-version: >=1.10
15+
16+source-repository head
17+ type: git
18+ location: git://github.com/kolmodin/binary-bits.git
19+
20+library
21+ build-depends: base==4.*, binary >= 0.6.0.0, bytestring
22+
23+ other-extensions: RankNTypes, MagicHash, BangPatterns, CPP
24+
25+ exposed-modules: Data.Binary.Bits ,
26+ Data.Binary.Bits.Put ,
27+ Data.Binary.Bits.Get
28+
29+ default-language: Haskell98
30+
31+ ghc-options: -O2 -Wall
32+
33+test-suite qc
34+ type: exitcode-stdio-1.0
35+ main-is: BitsQC.hs
36+ default-language: Haskell98
37+
38+ build-depends: base==4.*, binary >= 0.6.0.0, bytestring,
39+ QuickCheck>=2, random,
40+ test-framework,
41+ test-framework-quickcheck2
42+
43+ other-extensions: RankNTypes, MagicHash, BangPatterns, CPP,
44+ FlexibleInstances, FlexibleContexts, TupleSections
test/golden-test-cases/binary-bits.nix.goldennew file+18
@@ -0,0 +1,18 @@
1+{ mkDerivation, base, binary, bytestring, fetchurl, QuickCheck
2+, random, test-framework, test-framework-quickcheck2
3+}:
4+mkDerivation {
5+ pname = "binary-bits";
6+ version = "0.5";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [ base binary bytestring ];
12+ testHaskellDepends = [
13+ base binary bytestring QuickCheck random test-framework
14+ test-framework-quickcheck2
15+ ];
16+ description = "Bit parsing/writing on top of binary";
17+ license = stdenv.lib.licenses.bsd3;
18+}
test/golden-test-cases/binary-tagged.cabalnew file+121
@@ -0,0 +1,121 @@
1+-- This file has been generated from package.yaml by hpack version 0.14.1.
2+--
3+-- see: https://github.com/sol/hpack
4+
5+name: binary-tagged
6+version: 0.1.4.2
7+synopsis: Tagged binary serialisation.
8+description: Check <https://github.com/phadej/binary-tagged#readme README on Github>
9+category: Web
10+homepage: https://github.com/phadej/binary-tagged#readme
11+bug-reports: https://github.com/phadej/binary-tagged/issues
12+author: Oleg Grenrus <oleg.grenrus@iki.fi>
13+maintainer: Oleg Grenrus <oleg.grenrus@iki.fi>
14+license: BSD3
15+license-file: LICENSE
16+tested-with: GHC==7.8.4, GHC==7.10.3, GHC==8.0.1
17+build-type: Simple
18+cabal-version: >= 1.10
19+
20+extra-source-files:
21+ CHANGELOG.md
22+ README.md
23+
24+source-repository head
25+ type: git
26+ location: https://github.com/phadej/binary-tagged
27+
28+library
29+ hs-source-dirs:
30+ src
31+ ghc-options: -Wall
32+ build-depends:
33+ base >=4.7 && <4.10
34+ , aeson >=0.8 && <1.1
35+ , array >=0.5 && <0.6
36+ , base16-bytestring >=0.1.1.6 && <0.2
37+ , binary >=0.7 && <0.9
38+ , bytestring >=0.10 && <0.11
39+ , containers >=0.5 && <0.6
40+ , generics-sop >=0.1 && <0.3
41+ , hashable >=1.2 && <1.3
42+ , nats >=1 && <1.2
43+ , scientific >=0.3 && <0.4
44+ , SHA >=1.6 && <1.7
45+ , semigroups >=0.16 && <0.19
46+ , tagged >=0.7 && <0.9
47+ , text >=1.2 && <1.3
48+ , time >=1.4 && <1.7
49+ , unordered-containers >=0.2 && <0.3
50+ , vector >=0.10 && <0.12
51+ exposed-modules:
52+ Data.Binary.Tagged
53+ default-language: Haskell2010
54+
55+test-suite binary-tagged-test
56+ type: exitcode-stdio-1.0
57+ main-is: Tests.hs
58+ hs-source-dirs:
59+ test
60+ ghc-options: -Wall
61+ build-depends:
62+ base >=4.7 && <4.10
63+ , aeson >=0.8 && <1.1
64+ , array >=0.5 && <0.6
65+ , base16-bytestring >=0.1.1.6 && <0.2
66+ , binary >=0.7 && <0.9
67+ , bytestring >=0.10 && <0.11
68+ , containers >=0.5 && <0.6
69+ , generics-sop >=0.1 && <0.3
70+ , hashable >=1.2 && <1.3
71+ , nats >=1 && <1.2
72+ , scientific >=0.3 && <0.4
73+ , SHA >=1.6 && <1.7
74+ , semigroups >=0.16 && <0.19
75+ , tagged >=0.7 && <0.9
76+ , text >=1.2 && <1.3
77+ , time >=1.4 && <1.7
78+ , unordered-containers >=0.2 && <0.3
79+ , vector >=0.10 && <0.12
80+ , binary-tagged
81+ , binary-orphans >=0.1.1
82+ , bifunctors
83+ , quickcheck-instances
84+ , tasty
85+ , tasty-quickcheck
86+ other-modules:
87+ Generators
88+ Rec1
89+ Rec2
90+ default-language: Haskell2010
91+
92+benchmark binary-tagged-bench
93+ type: exitcode-stdio-1.0
94+ main-is: Bench.hs
95+ hs-source-dirs:
96+ bench
97+ ghc-options: -Wall
98+ build-depends:
99+ base >=4.7 && <4.10
100+ , aeson >=0.8 && <1.1
101+ , array >=0.5 && <0.6
102+ , base16-bytestring >=0.1.1.6 && <0.2
103+ , binary >=0.7 && <0.9
104+ , bytestring >=0.10 && <0.11
105+ , containers >=0.5 && <0.6
106+ , generics-sop >=0.1 && <0.3
107+ , hashable >=1.2 && <1.3
108+ , nats >=1 && <1.2
109+ , scientific >=0.3 && <0.4
110+ , SHA >=1.6 && <1.7
111+ , semigroups >=0.16 && <0.19
112+ , tagged >=0.7 && <0.9
113+ , text >=1.2 && <1.3
114+ , time >=1.4 && <1.7
115+ , unordered-containers >=0.2 && <0.3
116+ , vector >=0.10 && <0.12
117+ , binary-tagged
118+ , binary-orphans >=0.1.1
119+ , deepseq
120+ , criterion
121+ default-language: Haskell2010
test/golden-test-cases/binary-tagged.nix.goldennew file+33
@@ -0,0 +1,33 @@
1+{ mkDerivation, aeson, array, base, base16-bytestring, bifunctors
2+, binary, binary-orphans, bytestring, containers, criterion
3+, deepseq, fetchurl, generics-sop, hashable, nats
4+, quickcheck-instances, scientific, semigroups, SHA, tagged, tasty
5+, tasty-quickcheck, text, time, unordered-containers, vector
6+}:
7+mkDerivation {
8+ pname = "binary-tagged";
9+ version = "0.1.4.2";
10+ src = fetchurl {
11+ url = "http://example.org/";
12+ sha256 = "abc";
13+ };
14+ libraryHaskellDepends = [
15+ aeson array base base16-bytestring binary bytestring containers
16+ generics-sop hashable nats scientific semigroups SHA tagged text
17+ time unordered-containers vector
18+ ];
19+ testHaskellDepends = [
20+ aeson array base base16-bytestring bifunctors binary binary-orphans
21+ bytestring containers generics-sop hashable nats
22+ quickcheck-instances scientific semigroups SHA tagged tasty
23+ tasty-quickcheck text time unordered-containers vector
24+ ];
25+ benchmarkHaskellDepends = [
26+ aeson array base base16-bytestring binary binary-orphans bytestring
27+ containers criterion deepseq generics-sop hashable nats scientific
28+ semigroups SHA tagged text time unordered-containers vector
29+ ];
30+ homepage = "https://github.com/phadej/binary-tagged#readme";
31+ description = "Tagged binary serialisation";
32+ license = stdenv.lib.licenses.bsd3;
33+}
test/golden-test-cases/bindings-uname.cabalnew file+30
@@ -0,0 +1,30 @@
1+Name: bindings-uname
2+Version: 0.1
3+Synopsis: Low-level binding to POSIX uname(3)
4+Description:
5+ This is a low-level binding to POSIX uname(3)
6+ function. Perhaps it shoule be part of unix package.
7+Category: FFI, System
8+License: PublicDomain
9+Author: PHO <pho at cielonegro.org>
10+Maintainer: PHO <pho at cielonegro.org>
11+Stability: Experimental
12+Cabal-Version: >= 1.6
13+Build-Type: Simple
14+
15+Source-Repository head
16+ Type: git
17+ Location: git://git.cielonegro.org/bindings-uname
18+
19+Library
20+ Build-Depends:
21+ base < 5
22+
23+ Exposed-Modules:
24+ Bindings.Uname
25+
26+ Extensions:
27+ EmptyDataDecls, ForeignFunctionInterface
28+
29+ GHC-Options:
30+ -Wall
test/golden-test-cases/bindings-uname.nix.goldennew file+12
@@ -0,0 +1,12 @@
1+{ mkDerivation, base, fetchurl }:
2+mkDerivation {
3+ pname = "bindings-uname";
4+ version = "0.1";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base ];
10+ description = "Low-level binding to POSIX uname(3)";
11+ license = stdenv.lib.licenses.publicDomain;
12+}
test/golden-test-cases/bioalign.cabalnew file+23
@@ -0,0 +1,23 @@
1+Name: bioalign
2+Version: 0.0.5
3+Synopsis: Data structures and helper functions for calculating alignments
4+Description: Data structures and helper functions for calculating alignments
5+Homepage: https://patch-tag.com/r/dfornika/biophd/home
6+License: GPL
7+License-file: LICENSE
8+Cabal-Version: >=1.6
9+Author: Dan Fornika <dfornika@gmail.com>
10+Maintainer: dfornika@gmail.com
11+Stability: Provisional
12+Category: Bioinformatics
13+Build-Type: Simple
14+
15+Library
16+ Build-depends: base >= 2 && < 5, biocore, bytestring
17+ Exposed-modules: Bio.Alignment.AlignData
18+ Hs-source-dirs: src
19+
20+source-Repository head
21+ type: darcs
22+ location: http://www.patch-tag.com/r/dfornika/bioalign
23+
test/golden-test-cases/bioalign.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, biocore, bytestring, fetchurl }:
2+mkDerivation {
3+ pname = "bioalign";
4+ version = "0.0.5";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base biocore bytestring ];
10+ homepage = "https://patch-tag.com/r/dfornika/biophd/home";
11+ description = "Data structures and helper functions for calculating alignments";
12+ license = "GPL";
13+}
test/golden-test-cases/bits.cabalnew file+73
@@ -0,0 +1,73 @@
1+name: bits
2+category: Data, Serialization
3+version: 0.5.1
4+license: BSD3
5+cabal-version: >= 1.8
6+license-file: LICENSE
7+author: Edward A. Kmett
8+maintainer: Edward A. Kmett <ekmett@gmail.com>
9+stability: experimental
10+homepage: http://github.com/ekmett/bits
11+bug-reports: http://github.com/ekmett/bits/issues
12+copyright: Copyright (C) 2013 Edward A. Kmett
13+build-type: Custom
14+tested-with: GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.1
15+synopsis: Various bit twiddling and bitwise serialization primitives
16+description: Various bit twiddling and bitwise serialization primitives
17+
18+extra-source-files:
19+ .travis.yml
20+ .ghci
21+ .gitignore
22+ .vim.custom
23+ travis/cabal-apt-install
24+ travis/config
25+ AUTHORS.markdown
26+ README.markdown
27+ CHANGELOG.markdown
28+
29+source-repository head
30+ type: git
31+ location: git://github.com/ekmett/bits.git
32+
33+custom-setup
34+ setup-depends:
35+ base >= 4 && < 5,
36+ Cabal,
37+ cabal-doctest >= 1 && < 1.1
38+
39+-- You can disable the doctests test suite with -f-test-doctests
40+flag test-doctests
41+ default: True
42+ manual: True
43+
44+library
45+ build-depends:
46+ base >= 4.7 && < 5,
47+ bytes >= 0.11 && < 1,
48+ mtl >= 2.0 && < 2.3,
49+ transformers >= 0.2 && < 0.6
50+
51+ exposed-modules:
52+ Data.Bits.Coding
53+ Data.Bits.Coded
54+ Data.Bits.Extras
55+
56+ c-sources: cbits/debruijn.c
57+ ghc-options: -Wall -fwarn-tabs -O2
58+ hs-source-dirs: src
59+
60+test-suite doctests
61+ type: exitcode-stdio-1.0
62+ main-is: doctests.hs
63+ ghc-options: -Wall -threaded
64+ hs-source-dirs: tests
65+ c-sources: cbits/debruijn.c
66+
67+ if !flag(test-doctests)
68+ buildable: False
69+ else
70+ build-depends:
71+ base,
72+ bits,
73+ doctest >= 0.11.1 && < 0.12
test/golden-test-cases/bits.nix.goldennew file+17
@@ -0,0 +1,17 @@
1+{ mkDerivation, base, bytes, Cabal, cabal-doctest, doctest
2+, fetchurl, mtl, transformers
3+}:
4+mkDerivation {
5+ pname = "bits";
6+ version = "0.5.1";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ setupHaskellDepends = [ base Cabal cabal-doctest ];
12+ libraryHaskellDepends = [ base bytes mtl transformers ];
13+ testHaskellDepends = [ base doctest ];
14+ homepage = "http://github.com/ekmett/bits";
15+ description = "Various bit twiddling and bitwise serialization primitives";
16+ license = stdenv.lib.licenses.bsd3;
17+}
test/golden-test-cases/blank-canvas.cabalnew file+172
@@ -0,0 +1,172 @@
1+Name: blank-canvas
2+Version: 0.6.1
3+Synopsis: HTML5 Canvas Graphics Library
4+
5+Description: @blank-canvas@ is a Haskell binding to the complete
6+ <https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API HTML5 Canvas API>.
7+ @blank-canvas@ allows Haskell users to write, in Haskell,
8+ interactive images onto their web browsers. @blank-canvas@
9+ gives the user a single full-window canvas, and provides
10+ many well-documented functions for rendering
11+ images.
12+ .
13+ @
14+ &#123;-&#35; LANGUAGE OverloadedStrings &#35;-&#125;
15+ module Main where
16+ import Graphics.Blank -- import the blank canvas
17+ .
18+ main = blankCanvas 3000 $ \\ context -> do -- start blank canvas on port 3000
19+ &#32;&#32;send context $ do -- send commands to this specific context
20+ &#32;&#32;&#32;&#32;moveTo(50,50)
21+ &#32;&#32;&#32;&#32;lineTo(200,100)
22+ &#32;&#32;&#32;&#32;lineWidth 10
23+ &#32;&#32;&#32;&#32;strokeStyle \"red\"
24+ &#32;&#32;&#32;&#32;stroke() -- this draws the ink into the canvas
25+ @
26+ .
27+ <<https://github.com/ku-fpg/blank-canvas/wiki/images/Red_Line.png>>
28+ .
29+ For more details, read the <https://github.com/ku-fpg/blank-canvas/wiki blank-canvas wiki>.
30+ .
31+License: BSD3
32+License-file: LICENSE
33+Author: Andy Gill and Ryan Scott
34+Maintainer: andygill@ku.edu
35+Copyright: Copyright (c) 2014 The University of Kansas
36+Homepage: https://github.com/ku-fpg/blank-canvas/wiki
37+Bug-reports: https://github.com/ku-fpg/blank-canvas/issues
38+Category: Graphics
39+Build-type: Simple
40+Stability: Beta
41+Extra-source-files: README.md
42+ Changelog.md
43+Cabal-version: >= 1.10
44+tested-with: GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.2
45+data-files:
46+ static/index.html
47+ static/jquery.js
48+ static/jquery-json.js
49+
50+
51+Library
52+ Exposed-modules: Graphics.Blank
53+ Graphics.Blank.Cursor
54+ Graphics.Blank.Font
55+ Graphics.Blank.GHCi
56+ Graphics.Blank.Style
57+ other-modules: Graphics.Blank.Canvas
58+ Graphics.Blank.DeviceContext
59+ Graphics.Blank.Events
60+ Graphics.Blank.Generated
61+ Graphics.Blank.JavaScript
62+ Graphics.Blank.Parser
63+ Graphics.Blank.Types
64+ Graphics.Blank.Types.CSS
65+ Graphics.Blank.Types.Cursor
66+ Graphics.Blank.Types.Font
67+ Graphics.Blank.Utils
68+ Paths_blank_canvas
69+
70+ default-language: Haskell2010
71+ build-depends: aeson >= 0.7 && < 1.3,
72+ base64-bytestring == 1.0.*,
73+ base >= 4.7 && < 4.11,
74+ base-compat >= 0.8.1 && < 1,
75+ bytestring == 0.10.*,
76+ colour >= 2.2 && < 3.0,
77+ containers == 0.5.*,
78+ data-default-class >= 0.0.1 && < 0.2,
79+ http-types >= 0.8 && < 0.10,
80+ mime-types >= 0.1.0.3 && < 0.2,
81+ kansas-comet >= 0.4 && < 0.5,
82+ scotty >= 0.10 && < 0.12,
83+ stm >= 2.2 && < 2.5,
84+ text >= 1.1 && < 1.3,
85+ text-show >= 2 && < 4,
86+ transformers >= 0.3 && < 0.6,
87+ wai == 3.*,
88+ wai-extra >= 3.0.1 && < 3.1,
89+ warp == 3.*,
90+ vector >= 0.10 && < 0.13
91+
92+ GHC-options: -Wall
93+ GHC-prof-options: -Wall -fsimpl-tick-factor=100000
94+
95+
96+test-suite wiki-suite
97+ build-depends: base >= 4.7 && < 4.11,
98+ blank-canvas,
99+ containers == 0.5.*,
100+ process >= 1.2 && < 1.7,
101+ directory >= 1.2,
102+ shake >= 0.13,
103+ stm >= 2.2 && < 2.5,
104+ text >= 1.1 && < 1.3,
105+ time >= 1.4 && < 1.9,
106+ unix == 2.7.*,
107+ vector >= 0.10 && < 0.13
108+
109+ default-language: Haskell2010
110+ GHC-options: -threaded -Wall
111+ main-is: Main.hs
112+ hs-source-dirs: wiki-suite
113+ type: exitcode-stdio-1.0
114+ other-modules: Arc
115+ Bezier_Curve
116+ Bounce
117+ Circle
118+ Clipping_Region
119+ Color_Fill
120+ Color_Square
121+ Custom_Shape
122+ Custom_Transform
123+ Draw_Canvas
124+ Draw_Device
125+ Draw_Image
126+ Favicon
127+ Font_Size_and_Style
128+ Get_Image_Data_URL
129+ Global_Alpha
130+ Global_Composite_Operations
131+ Grayscale
132+ Image_Crop
133+ Image_Loader
134+ Image_Size
135+ Is_Point_In_Path
136+ Key_Read
137+ Line
138+ Line_Cap
139+ Line_Color
140+ Line_Join
141+ Line_Width
142+ Linear_Gradient
143+ Load_Image_Data_URL
144+ Load_Image_Data_URL_2
145+ Miter_Limit
146+ Path
147+ Pattern
148+ Quadratic_Curve
149+ Radial_Gradient
150+ Rectangle
151+ Red_Line
152+ Rotate_Transform
153+ Rotating_Square
154+ Rounded_Corners
155+ Scale_Transform
156+ Semicircle
157+ Shadow
158+ Square
159+ Text_Align
160+ Text_Baseline
161+ Text_Color
162+ Text_Metrics
163+ Text_Stroke
164+ Text_Wrap
165+ Tic_Tac_Toe
166+ Translate_Transform
167+ Wiki
168+
169+
170+source-repository head
171+ type: git
172+ location: https://github.com/ku-fpg/blank-canvas.git
test/golden-test-cases/blank-canvas.nix.goldennew file+26
@@ -0,0 +1,26 @@
1+{ mkDerivation, aeson, base, base-compat, base64-bytestring
2+, bytestring, colour, containers, data-default-class, directory
3+, fetchurl, http-types, kansas-comet, mime-types, process, scotty
4+, shake, stm, text, text-show, time, transformers, unix, vector
5+, wai, wai-extra, warp
6+}:
7+mkDerivation {
8+ pname = "blank-canvas";
9+ version = "0.6.1";
10+ src = fetchurl {
11+ url = "http://example.org/";
12+ sha256 = "abc";
13+ };
14+ enableSeparateDataOutput = true;
15+ libraryHaskellDepends = [
16+ aeson base base-compat base64-bytestring bytestring colour
17+ containers data-default-class http-types kansas-comet mime-types
18+ scotty stm text text-show transformers vector wai wai-extra warp
19+ ];
20+ testHaskellDepends = [
21+ base containers directory process shake stm text time unix vector
22+ ];
23+ homepage = "https://github.com/ku-fpg/blank-canvas/wiki";
24+ description = "HTML5 Canvas Graphics Library";
25+ license = stdenv.lib.licenses.bsd3;
26+}
test/golden-test-cases/blaze-html.cabalnew file+87
@@ -0,0 +1,87 @@
1+Name: blaze-html
2+Version: 0.9.0.1
3+Homepage: http://jaspervdj.be/blaze
4+Bug-Reports: http://github.com/jaspervdj/blaze-html/issues
5+License: BSD3
6+License-file: LICENSE
7+Author: Jasper Van der Jeugt, Simon Meier
8+Maintainer: Jasper Van der Jeugt <m@jaspervdj.be>
9+Stability: Experimental
10+Category: Text
11+Synopsis: A blazingly fast HTML combinator library for Haskell
12+Description:
13+ A blazingly fast HTML combinator library for the Haskell
14+ programming language. The Text.Blaze module is a good
15+ starting point, as well as this tutorial:
16+ <http://jaspervdj.be/blaze/tutorial.html>.
17+
18+Build-type: Simple
19+Cabal-version: >= 1.8
20+
21+Extra-source-files:
22+ CHANGELOG
23+ src/Util/Sanitize.hs
24+ src/Util/GenerateHtmlCombinators.hs
25+
26+Library
27+ Hs-source-dirs: src
28+ Ghc-Options: -Wall
29+
30+ Exposed-modules:
31+ Text.Blaze.Html
32+ Text.Blaze.Html.Renderer.Pretty
33+ Text.Blaze.Html.Renderer.String
34+ Text.Blaze.Html.Renderer.Text
35+ Text.Blaze.Html.Renderer.Utf8
36+ Text.Blaze.Html4.FrameSet
37+ Text.Blaze.Html4.FrameSet.Attributes
38+ Text.Blaze.Html4.Strict
39+ Text.Blaze.Html4.Strict.Attributes
40+ Text.Blaze.Html4.Transitional
41+ Text.Blaze.Html4.Transitional.Attributes
42+ Text.Blaze.Html5
43+ Text.Blaze.Html5.Attributes
44+ Text.Blaze.XHtml1.FrameSet
45+ Text.Blaze.XHtml1.FrameSet.Attributes
46+ Text.Blaze.XHtml1.Strict
47+ Text.Blaze.XHtml1.Strict.Attributes
48+ Text.Blaze.XHtml1.Transitional
49+ Text.Blaze.XHtml1.Transitional.Attributes
50+ Text.Blaze.XHtml5
51+ Text.Blaze.XHtml5.Attributes
52+
53+ Build-depends:
54+ base >= 4 && < 5,
55+ blaze-builder >= 0.3 && < 0.5,
56+ blaze-markup >= 0.8 && < 0.9,
57+ bytestring >= 0.9 && < 0.11,
58+ text >= 0.10 && < 1.3
59+
60+Test-suite blaze-html-tests
61+ Type: exitcode-stdio-1.0
62+ Hs-source-dirs: src tests
63+ Main-is: TestSuite.hs
64+ Ghc-options: -Wall
65+
66+ Other-modules:
67+ Text.Blaze.Html.Tests
68+ Text.Blaze.Html.Tests.Util
69+ Util.Tests
70+
71+ Build-depends:
72+ HUnit >= 1.2 && < 1.6,
73+ QuickCheck >= 2.4 && < 2.10,
74+ containers >= 0.3 && < 0.6,
75+ test-framework >= 0.4 && < 0.9,
76+ test-framework-hunit >= 0.3 && < 0.4,
77+ test-framework-quickcheck2 >= 0.3 && < 0.4,
78+ -- Copied from regular dependencies...
79+ base >= 4 && < 5,
80+ blaze-builder >= 0.3 && < 0.5,
81+ blaze-markup >= 0.8 && < 0.9,
82+ bytestring >= 0.9 && < 0.11,
83+ text >= 0.10 && < 1.3
84+
85+Source-repository head
86+ Type: git
87+ Location: http://github.com/jaspervdj/blaze-html.git
test/golden-test-cases/blaze-html.nix.goldennew file+23
@@ -0,0 +1,23 @@
1+{ mkDerivation, base, blaze-builder, blaze-markup, bytestring
2+, containers, fetchurl, HUnit, QuickCheck, test-framework
3+, test-framework-hunit, test-framework-quickcheck2, text
4+}:
5+mkDerivation {
6+ pname = "blaze-html";
7+ version = "0.9.0.1";
8+ src = fetchurl {
9+ url = "http://example.org/";
10+ sha256 = "abc";
11+ };
12+ libraryHaskellDepends = [
13+ base blaze-builder blaze-markup bytestring text
14+ ];
15+ testHaskellDepends = [
16+ base blaze-builder blaze-markup bytestring containers HUnit
17+ QuickCheck test-framework test-framework-hunit
18+ test-framework-quickcheck2 text
19+ ];
20+ homepage = "http://jaspervdj.be/blaze";
21+ description = "A blazingly fast HTML combinator library for Haskell";
22+ license = stdenv.lib.licenses.bsd3;
23+}
test/golden-test-cases/blaze-markup.cabalnew file+67
@@ -0,0 +1,67 @@
1+Name: blaze-markup
2+Version: 0.8.0.0
3+Homepage: http://jaspervdj.be/blaze
4+Bug-Reports: http://github.com/jaspervdj/blaze-markup/issues
5+License: BSD3
6+License-file: LICENSE
7+Author: Jasper Van der Jeugt, Simon Meier, Deepak Jois
8+Maintainer: Jasper Van der Jeugt <m@jaspervdj.be>
9+Stability: Experimental
10+Category: Text
11+Synopsis: A blazingly fast markup combinator library for Haskell
12+Description:
13+ Core modules of a blazingly fast markup combinator library for the Haskell
14+ programming language. The Text.Blaze module is a good
15+ starting point, as well as this tutorial:
16+ <http://jaspervdj.be/blaze/tutorial.html>.
17+
18+Build-type: Simple
19+Cabal-version: >= 1.8
20+
21+Extra-source-files:
22+ CHANGELOG
23+
24+Library
25+ Hs-source-dirs: src
26+ Ghc-Options: -Wall
27+
28+ Exposed-modules:
29+ Text.Blaze
30+ Text.Blaze.Internal
31+ Text.Blaze.Renderer.Pretty
32+ Text.Blaze.Renderer.String
33+ Text.Blaze.Renderer.Text
34+ Text.Blaze.Renderer.Utf8
35+
36+ Build-depends:
37+ base >= 4 && < 5,
38+ blaze-builder >= 0.3 && < 0.5,
39+ text >= 0.10 && < 1.3,
40+ bytestring >= 0.9 && < 0.11
41+
42+Test-suite blaze-markup-tests
43+ Type: exitcode-stdio-1.0
44+ Hs-source-dirs: src tests
45+ Main-is: TestSuite.hs
46+ Ghc-options: -Wall
47+
48+ Other-modules:
49+ Text.Blaze.Tests
50+ Text.Blaze.Tests.Util
51+
52+ Build-depends:
53+ HUnit >= 1.2 && < 1.6,
54+ QuickCheck >= 2.4 && < 2.10,
55+ containers >= 0.3 && < 0.6,
56+ test-framework >= 0.4 && < 0.9,
57+ test-framework-hunit >= 0.3 && < 0.4,
58+ test-framework-quickcheck2 >= 0.3 && < 0.4,
59+ -- Copied from regular dependencies...
60+ base >= 4 && < 5,
61+ blaze-builder >= 0.3 && < 0.5,
62+ text >= 0.10 && < 1.3,
63+ bytestring >= 0.9 && < 0.11
64+
65+Source-repository head
66+ Type: git
67+ Location: http://github.com/jaspervdj/blaze-markup
test/golden-test-cases/blaze-markup.nix.goldennew file+20
@@ -0,0 +1,20 @@
1+{ mkDerivation, base, blaze-builder, bytestring, containers
2+, fetchurl, HUnit, QuickCheck, test-framework, test-framework-hunit
3+, test-framework-quickcheck2, text
4+}:
5+mkDerivation {
6+ pname = "blaze-markup";
7+ version = "0.8.0.0";
8+ src = fetchurl {
9+ url = "http://example.org/";
10+ sha256 = "abc";
11+ };
12+ libraryHaskellDepends = [ base blaze-builder bytestring text ];
13+ testHaskellDepends = [
14+ base blaze-builder bytestring containers HUnit QuickCheck
15+ test-framework test-framework-hunit test-framework-quickcheck2 text
16+ ];
17+ homepage = "http://jaspervdj.be/blaze";
18+ description = "A blazingly fast markup combinator library for Haskell";
19+ license = stdenv.lib.licenses.bsd3;
20+}
test/golden-test-cases/blaze-svg.cabalnew file+54
@@ -0,0 +1,54 @@
1+name: blaze-svg
2+version: 0.3.6.1
3+synopsis: SVG combinator library
4+homepage: https://github.com/deepakjois/blaze-svg
5+license: BSD3
6+license-file: LICENSE
7+author: Deepak Jois
8+maintainer: deepak.jois@gmail.com
9+category: Graphics
10+build-type: Simple
11+cabal-version: >=1.8
12+description:
13+ A blazingly fast SVG combinator library for the Haskell
14+ programming language. The "Text.Blaze.SVG" module is a good
15+ starting point.
16+ .
17+ Other documentation:
18+ .
19+ * Programs in the /examples/ folder of this project: <https://github.com/deepakjois/blaze-svg/tree/master/examples/>
20+ .
21+ * Jasper Van Der Jeugt has written a tutorial for /blaze-html/,
22+ which is a sister library of /blaze-svg/. It may not be directly relevant,
23+ but still it gives a good overview on how to use the combinators in
24+ "Text.Blaze.Svg11" and "Text.Blaze.Svg11.Attributes":
25+ <http://jaspervdj.be/blaze/tutorial.html>.
26+
27+Extra-source-files:
28+ src/Util/Sanitize.hs
29+ src/Util/GenerateSvgCombinators.hs
30+ examples/*.hs
31+ CHANGES.md
32+
33+Library
34+ Hs-Source-Dirs: src
35+ Ghc-Options: -Wall
36+
37+ Exposed-modules:
38+ Text.Blaze.Svg
39+ Text.Blaze.Svg.Internal
40+ Text.Blaze.Svg11
41+ Text.Blaze.Svg11.Attributes
42+ Text.Blaze.Svg.Renderer.Pretty
43+ Text.Blaze.Svg.Renderer.String
44+ Text.Blaze.Svg.Renderer.Text
45+ Text.Blaze.Svg.Renderer.Utf8
46+
47+ Build-depends:
48+ base >= 4 && < 5,
49+ mtl >= 2 && < 3,
50+ blaze-markup >= 0.5 && < 0.9
51+
52+Source-repository head
53+ Type: git
54+ Location: http://github.com/deepakjois/blaze-svg.git
test/golden-test-cases/blaze-svg.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, blaze-markup, fetchurl, mtl }:
2+mkDerivation {
3+ pname = "blaze-svg";
4+ version = "0.3.6.1";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base blaze-markup mtl ];
10+ homepage = "https://github.com/deepakjois/blaze-svg";
11+ description = "SVG combinator library";
12+ license = stdenv.lib.licenses.bsd3;
13+}
test/golden-test-cases/blosum.cabalnew file+48
@@ -0,0 +1,48 @@
1+name: blosum
2+version: 0.1.1.4
3+synopsis: BLOSUM generator
4+description: Generates BLOSUMs for use with finding the degree of amino acid conservation.
5+homepage: http://github.com/GregorySchwartz/blosum#readme
6+license: GPL-2
7+license-file: LICENSE
8+author: Gregory W. Schwartz
9+maintainer: gregory.schwartz@drexel.edu
10+copyright: Copyright 2016 Gregory W. Schwartz
11+category: Bioinformatics
12+build-type: Simple
13+-- extra-source-files:
14+cabal-version: >=1.10
15+
16+library
17+ hs-source-dirs: src
18+ exposed-modules: Types
19+ , Utility
20+ , Cluster
21+ , Matrix
22+ , Print
23+ build-depends: base >= 4.9 && < 5
24+ , containers
25+ , text
26+ , text-show
27+ , fasta
28+ , lens
29+ default-language: Haskell2010
30+
31+executable blosum
32+ hs-source-dirs: app
33+ main-is: Main.hs
34+ ghc-options: -threaded -rtsopts -with-rtsopts=-N -O2
35+ build-depends: base
36+ , blosum
37+ , containers
38+ , fasta
39+ , text
40+ , split
41+ , pipes
42+ , pipes-text
43+ , optparse-applicative >=0.13
44+ default-language: Haskell2010
45+
46+source-repository head
47+ type: git
48+ location: https://github.com/GregorySchwartz/blosum
test/golden-test-cases/blosum.nix.goldennew file+23
@@ -0,0 +1,23 @@
1+{ mkDerivation, base, containers, fasta, fetchurl, lens
2+, optparse-applicative, pipes, pipes-text, split, text, text-show
3+}:
4+mkDerivation {
5+ pname = "blosum";
6+ version = "0.1.1.4";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ isLibrary = true;
12+ isExecutable = true;
13+ libraryHaskellDepends = [
14+ base containers fasta lens text text-show
15+ ];
16+ executableHaskellDepends = [
17+ base containers fasta optparse-applicative pipes pipes-text split
18+ text
19+ ];
20+ homepage = "http://github.com/GregorySchwartz/blosum#readme";
21+ description = "BLOSUM generator";
22+ license = stdenv.lib.licenses.gpl2;
23+}
test/golden-test-cases/boomerang.cabalnew file+45
@@ -0,0 +1,45 @@
1+Name: boomerang
2+Version: 1.4.5.3
3+License: BSD3
4+License-File: LICENSE
5+Author: jeremy@seereason.com
6+Maintainer: partners@seereason.com
7+Bug-Reports: http://code.google.com/p/happstack/issues/list
8+Category: Parsing, Text
9+Synopsis: Library for invertible parsing and printing
10+Description: Specify a single unified grammar which can be used for parsing and pretty-printing
11+Cabal-Version: >= 1.6
12+Build-type: Simple
13+tested-with: GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.1
14+
15+Library
16+ Build-Depends: base >= 4 && < 5,
17+ mtl >= 2.0 && < 2.3,
18+ template-haskell < 2.13,
19+ text >= 0.11 && < 1.3
20+ Exposed-Modules: Text.Boomerang
21+ Text.Boomerang.Combinators
22+ Text.Boomerang.Error
23+ Text.Boomerang.HStack
24+ Text.Boomerang.Pos
25+ Text.Boomerang.Prim
26+ Text.Boomerang.String
27+ Text.Boomerang.Strings
28+ Text.Boomerang.Texts
29+ Text.Boomerang.TH
30+
31+ Extensions: DeriveDataTypeable,
32+ FlexibleContexts,
33+ FlexibleContexts,
34+ FlexibleInstances,
35+ RankNTypes,
36+ ScopedTypeVariables,
37+ TemplateHaskell,
38+ TypeFamilies,
39+ TypeFamilies,
40+ TypeOperators,
41+ TypeSynonymInstances
42+
43+source-repository head
44+ type: git
45+ location: https://github.com/Happstack/boomerang.git
test/golden-test-cases/boomerang.nix.goldennew file+12
@@ -0,0 +1,12 @@
1+{ mkDerivation, base, fetchurl, mtl, template-haskell, text }:
2+mkDerivation {
3+ pname = "boomerang";
4+ version = "1.4.5.3";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base mtl template-haskell text ];
10+ description = "Library for invertible parsing and printing";
11+ license = stdenv.lib.licenses.bsd3;
12+}
test/golden-test-cases/boxes.cabalnew file+35
@@ -0,0 +1,35 @@
1+name: boxes
2+version: 0.1.4
3+synopsis: 2D text pretty-printing library
4+description: A pretty-printing library for laying out text in
5+ two dimensions, using a simple box model.
6+category: Text
7+license: BSD3
8+license-file: LICENSE
9+extra-source-files: CHANGES, README.md
10+author: Brent Yorgey
11+maintainer: David Feuer <David.Feuer@gmail.com>
12+build-type: Simple
13+cabal-version: >= 1.9.2
14+-- Minimum Cabal version supporting test suites
15+
16+library
17+ build-depends: base >= 3 && < 5, split >=0.2 && <0.3
18+ exposed-modules: Text.PrettyPrint.Boxes
19+ extensions: CPP
20+ if impl(ghc)
21+ extensions: OverloadedStrings
22+
23+Test-Suite test-boxes
24+ type: exitcode-stdio-1.0
25+ main-is: Text/PrettyPrint/Tests.hs
26+ build-depends: base >= 3 && < 5, split >=0.2 && <0.3, QuickCheck
27+ extensions: CPP
28+ if impl(ghc)
29+ extensions: OverloadedStrings
30+ cpp-options: -DTESTING
31+-- Export some internals so the tests can get at them
32+
33+source-repository head
34+ type: git
35+ location: git://github.com/treeowl/boxes.git
test/golden-test-cases/boxes.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, fetchurl, QuickCheck, split }:
2+mkDerivation {
3+ pname = "boxes";
4+ version = "0.1.4";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base split ];
10+ testHaskellDepends = [ base QuickCheck split ];
11+ description = "2D text pretty-printing library";
12+ license = stdenv.lib.licenses.bsd3;
13+}
test/golden-test-cases/brittany.cabalnew file+372
@@ -0,0 +1,372 @@
1+name: brittany
2+version: 0.9.0.0
3+synopsis: Haskell source code formatter
4+description: {
5+ See <https://github.com/lspitzner/brittany/blob/master/README.md the README>.
6+ .
7+ If you are interested in the implementation, have a look at <https://github.com/lspitzner/brittany/blob/master/doc/implementation/theory.md this document>;
8+ .
9+ The implementation is documented in more detail <https://github.com/lspitzner/brittany/blob/master/doc/implementation/index.md here>.
10+}
11+license: AGPL-3
12+license-file: LICENSE
13+author: Lennart Spitzner
14+maintainer: Lennart Spitzner <hexagoxel@hexagoxel.de>
15+copyright: Copyright (C) 2016-2017 Lennart Spitzner
16+category: Language
17+build-type: Simple
18+cabal-version: >=1.18
19+homepage: https://github.com/lspitzner/brittany/
20+bug-reports: https://github.com/lspitzner/brittany/issues
21+extra-doc-files: {
22+ ChangeLog.md
23+ README.md
24+ doc/implementation/*.md
25+}
26+extra-source-files: {
27+ src-literatetests/*.blt
28+}
29+
30+source-repository head {
31+ type: git
32+ location: https://github.com/lspitzner/brittany.git
33+}
34+
35+flag brittany-dev-lib
36+ description: set buildable false for anything but lib
37+ default: False
38+ manual: True
39+
40+library {
41+ default-language:
42+ Haskell2010
43+ hs-source-dirs:
44+ src
45+ install-includes: {
46+ srcinc/prelude.inc
47+ }
48+ exposed-modules: {
49+ Language.Haskell.Brittany
50+ Language.Haskell.Brittany.Internal
51+ Language.Haskell.Brittany.Internal.Prelude
52+ Language.Haskell.Brittany.Internal.PreludeUtils
53+ Language.Haskell.Brittany.Internal.Types
54+ Language.Haskell.Brittany.Internal.Utils
55+ Language.Haskell.Brittany.Internal.Config
56+ Language.Haskell.Brittany.Internal.Config.Types
57+ Language.Haskell.Brittany.Internal.Config.Types.Instances
58+ Paths_brittany
59+ }
60+ other-modules: {
61+ Language.Haskell.Brittany.Internal.LayouterBasics
62+ Language.Haskell.Brittany.Internal.Backend
63+ Language.Haskell.Brittany.Internal.BackendUtils
64+ Language.Haskell.Brittany.Internal.ExactPrintUtils
65+ Language.Haskell.Brittany.Internal.Layouters.Type
66+ Language.Haskell.Brittany.Internal.Layouters.Decl
67+ Language.Haskell.Brittany.Internal.Layouters.Expr
68+ Language.Haskell.Brittany.Internal.Layouters.Stmt
69+ Language.Haskell.Brittany.Internal.Layouters.Pattern
70+ Language.Haskell.Brittany.Internal.Transformations.Alt
71+ Language.Haskell.Brittany.Internal.Transformations.Floating
72+ Language.Haskell.Brittany.Internal.Transformations.Par
73+ Language.Haskell.Brittany.Internal.Transformations.Columns
74+ Language.Haskell.Brittany.Internal.Transformations.Indent
75+ }
76+ ghc-options: {
77+ -Wall
78+ -fno-warn-unused-imports
79+ -fno-warn-redundant-constraints
80+ }
81+ build-depends:
82+ { base >=4.9 && <4.11
83+ , ghc >=8.0.1 && <8.3
84+ , ghc-paths >=0.1.0.9 && <0.2
85+ , ghc-exactprint >=0.5.3.0 && <0.6
86+ , transformers >=0.5.2.0 && <0.6
87+ , containers >=0.5.7.1 && <0.6
88+ , mtl >=2.2.1 && <2.3
89+ , text >=1.2 && <1.3
90+ , multistate >=0.7.1.1 && <0.8
91+ , syb >=0.6 && <0.8
92+ , neat-interpolation >=0.3.2 && <0.4
93+ , data-tree-print
94+ , pretty >=1.1.3.3 && <1.2
95+ , bytestring >=0.10.8.1 && <0.11
96+ , directory >=1.2.6.2 && <1.4
97+ , butcher >=1.2 && <1.3
98+ , yaml >=0.8.18 && <0.9
99+ , aeson >=1.0.1.0 && <1.3
100+ , extra >=1.4.10 && <1.7
101+ , uniplate >=1.6.12 && <1.7
102+ , strict >=0.3.2 && <0.4
103+ , monad-memo >=0.4.1 && <0.5
104+ , unsafe >=0.0 && <0.1
105+ , safe >=0.3.9 && <0.4
106+ , deepseq >=1.4.2.0 && <1.5
107+ , semigroups >=0.18.2 && <0.19
108+ , cmdargs >=0.10.14 && <0.11
109+ , czipwith >=1.0.0.0 && <1.1
110+ , ghc-boot-th >=8.0.1 && <8.3
111+ }
112+ default-extensions: {
113+ CPP
114+
115+ NoImplicitPrelude
116+
117+ GADTs
118+
119+ FlexibleContexts
120+ FlexibleInstances
121+ ScopedTypeVariables
122+ MonadComprehensions
123+ LambdaCase
124+ MultiWayIf
125+ KindSignatures
126+ }
127+ include-dirs:
128+ srcinc
129+}
130+
131+executable brittany
132+ if flag(brittany-dev-lib) {
133+ buildable: False
134+ } else {
135+ buildable: True
136+ }
137+ main-is: Main.hs
138+ other-modules: {
139+ Paths_brittany
140+ }
141+ -- other-extensions:
142+ build-depends:
143+ { brittany
144+ , base
145+ , ghc
146+ , ghc-paths
147+ , ghc-exactprint
148+ , transformers
149+ , containers
150+ , mtl
151+ , text
152+ , multistate
153+ , syb
154+ , neat-interpolation
155+ , data-tree-print
156+ , pretty
157+ , bytestring
158+ , directory
159+ , butcher
160+ , yaml
161+ , aeson
162+ , extra
163+ , uniplate
164+ , strict
165+ , monad-memo
166+ , unsafe
167+ , safe
168+ , deepseq
169+ , semigroups
170+ , cmdargs
171+ , czipwith
172+ , ghc-boot-th
173+ , hspec >=2.4.1 && <2.5
174+ , filepath >=1.4.1.0 && <1.5
175+ }
176+ hs-source-dirs: src-brittany
177+ default-language: Haskell2010
178+ default-extensions: {
179+ CPP
180+
181+ NoImplicitPrelude
182+
183+ GADTs
184+
185+ FlexibleContexts
186+ FlexibleInstances
187+ ScopedTypeVariables
188+ MonadComprehensions
189+ LambdaCase
190+ MultiWayIf
191+ KindSignatures
192+ }
193+ ghc-options: {
194+ -Wall
195+ -fno-spec-constr
196+ -fno-warn-unused-imports
197+ -fno-warn-redundant-constraints
198+ -rtsopts
199+ -with-rtsopts "-M2G"
200+ }
201+
202+test-suite unittests
203+ if flag(brittany-dev-lib) {
204+ buildable: False
205+ } else {
206+ buildable: True
207+ }
208+ type: exitcode-stdio-1.0
209+ default-language: Haskell2010
210+ build-depends:
211+ { brittany
212+ , base
213+ , ghc
214+ , ghc-paths
215+ , ghc-exactprint
216+ , transformers
217+ , containers
218+ , mtl
219+ , text
220+ , multistate
221+ , syb
222+ , neat-interpolation
223+ , data-tree-print
224+ , pretty
225+ , bytestring
226+ , directory
227+ , butcher
228+ , yaml
229+ , aeson
230+ , extra
231+ , uniplate
232+ , strict
233+ , monad-memo
234+ , unsafe
235+ , safe
236+ , deepseq
237+ , semigroups
238+ , cmdargs
239+ , czipwith
240+ , ghc-boot-th
241+ , hspec >=2.4.1 && <2.5
242+ }
243+ ghc-options: -Wall
244+ main-is: TestMain.hs
245+ other-modules: TestUtils
246+ AsymptoticPerfTests
247+ hs-source-dirs: src-unittests
248+ default-extensions: {
249+ CPP
250+
251+ NoImplicitPrelude
252+
253+ GADTs
254+
255+ FlexibleContexts
256+ FlexibleInstances
257+ ScopedTypeVariables
258+ MonadComprehensions
259+ LambdaCase
260+ MultiWayIf
261+ KindSignatures
262+ }
263+ ghc-options: {
264+ -Wall
265+ -fno-warn-unused-imports
266+ -rtsopts
267+ -with-rtsopts "-M2G"
268+ }
269+
270+test-suite littests
271+ if flag(brittany-dev-lib) {
272+ buildable: False
273+ } else {
274+ buildable: True
275+ }
276+ type: exitcode-stdio-1.0
277+ default-language: Haskell2010
278+ build-depends:
279+ { brittany
280+ , base
281+ , ghc
282+ , ghc-paths
283+ , ghc-exactprint
284+ , transformers
285+ , containers
286+ , mtl
287+ , text
288+ , multistate
289+ , syb
290+ , neat-interpolation
291+ , data-tree-print
292+ , pretty
293+ , bytestring
294+ , directory
295+ , butcher
296+ , yaml
297+ , aeson
298+ , extra
299+ , uniplate
300+ , strict
301+ , monad-memo
302+ , unsafe
303+ , safe
304+ , deepseq
305+ , semigroups
306+ , cmdargs
307+ , czipwith
308+ , ghc-boot-th
309+ , hspec >=2.4.1 && <2.5
310+ , filepath
311+ , parsec >=3.1.11 && <3.2
312+ }
313+ ghc-options: -Wall
314+ main-is: Main.hs
315+ other-modules:
316+ hs-source-dirs: src-literatetests
317+ default-extensions: {
318+ CPP
319+
320+ NoImplicitPrelude
321+
322+ GADTs
323+
324+ FlexibleContexts
325+ FlexibleInstances
326+ ScopedTypeVariables
327+ MonadComprehensions
328+ LambdaCase
329+ MultiWayIf
330+ KindSignatures
331+ }
332+ ghc-options: {
333+ -Wall
334+ -fno-warn-unused-imports
335+ -rtsopts
336+ -with-rtsopts "-M2G"
337+ }
338+
339+test-suite libinterfacetests
340+ if flag(brittany-dev-lib) {
341+ buildable: False
342+ } else {
343+ buildable: True
344+ }
345+ type: exitcode-stdio-1.0
346+ default-language: Haskell2010
347+ build-depends:
348+ { brittany
349+ , base
350+ , text
351+ , transformers
352+ , hspec >=2.4.1 && <2.5
353+ }
354+ ghc-options: -Wall
355+ main-is: Main.hs
356+ other-modules:
357+ hs-source-dirs: src-libinterfacetests
358+ default-extensions: {
359+ FlexibleContexts
360+ FlexibleInstances
361+ ScopedTypeVariables
362+ MonadComprehensions
363+ LambdaCase
364+ MultiWayIf
365+ KindSignatures
366+ }
367+ ghc-options: {
368+ -Wall
369+ -fno-warn-unused-imports
370+ -rtsopts
371+ -with-rtsopts "-M2G"
372+ }
test/golden-test-cases/brittany.nix.goldennew file+41
@@ -0,0 +1,41 @@
1+{ mkDerivation, aeson, base, butcher, bytestring, cmdargs
2+, containers, czipwith, data-tree-print, deepseq, directory, extra
3+, fetchurl, filepath, ghc, ghc-boot-th, ghc-exactprint, ghc-paths
4+, hspec, monad-memo, mtl, multistate, neat-interpolation, parsec
5+, pretty, safe, semigroups, strict, syb, text, transformers
6+, uniplate, unsafe, yaml
7+}:
8+mkDerivation {
9+ pname = "brittany";
10+ version = "0.9.0.0";
11+ src = fetchurl {
12+ url = "http://example.org/";
13+ sha256 = "abc";
14+ };
15+ isLibrary = true;
16+ isExecutable = true;
17+ libraryHaskellDepends = [
18+ aeson base butcher bytestring cmdargs containers czipwith
19+ data-tree-print deepseq directory extra ghc ghc-boot-th
20+ ghc-exactprint ghc-paths monad-memo mtl multistate
21+ neat-interpolation pretty safe semigroups strict syb text
22+ transformers uniplate unsafe yaml
23+ ];
24+ executableHaskellDepends = [
25+ aeson base butcher bytestring cmdargs containers czipwith
26+ data-tree-print deepseq directory extra filepath ghc ghc-boot-th
27+ ghc-exactprint ghc-paths hspec monad-memo mtl multistate
28+ neat-interpolation pretty safe semigroups strict syb text
29+ transformers uniplate unsafe yaml
30+ ];
31+ testHaskellDepends = [
32+ aeson base butcher bytestring cmdargs containers czipwith
33+ data-tree-print deepseq directory extra filepath ghc ghc-boot-th
34+ ghc-exactprint ghc-paths hspec monad-memo mtl multistate
35+ neat-interpolation parsec pretty safe semigroups strict syb text
36+ transformers uniplate unsafe yaml
37+ ];
38+ homepage = "https://github.com/lspitzner/brittany/";
39+ description = "Haskell source code formatter";
40+ license = stdenv.lib.licenses.agpl3;
41+}
test/golden-test-cases/broadcast-chan.cabalnew file+53
@@ -0,0 +1,53 @@
1+Name: broadcast-chan
2+Version: 0.1.1
3+
4+Homepage: https://github.com/merijn/broadcast-chan
5+Bug-Reports: https://github.com/merijn/broadcast-chan/issues
6+
7+Author: Merijn Verstraaten
8+Maintainer: Merijn Verstraaten <merijn@inconsistent.nl>
9+Copyright: Copyright © 2014 Merijn Verstraaten
10+
11+License: BSD3
12+License-File: LICENSE
13+
14+Category: System
15+Cabal-Version: >= 1.10
16+Build-Type: Simple
17+Tested-With: GHC == 7.8.3
18+
19+Synopsis: Broadcast channel type that avoids 0 reader space leaks.
20+
21+Description:
22+ A variation of "Control.Concurrent.Chan" from base, which allows to the
23+ easy creation of broadcast channels without the space-leaks that may arise
24+ from using 'Control.Concurrent.Chan.dupChan'.
25+
26+ The 'Control.Concurrent.Chan.Chan' type from "Control.Concurrent.Chan"
27+ consists of both a read and write end. This presents a problem when one
28+ wants to have a broadcast channel that, at times, has zero listeners. To
29+ write to a 'Control.Concurrent.Chan.Chan' there must always be a read end
30+ and this read end will hold ALL messages alive until read.
31+
32+ The simple solution applied in this module is to separate read and write
33+ ends. As a result, any messages written to the write end can be immediately
34+ garbage collected if there are no active read ends, avoding space leaks.
35+
36+Library
37+ Default-Language: Haskell2010
38+ GHC-Options: -Wall -fno-warn-unused-do-bind
39+ Exposed-Modules: Control.Concurrent.BroadcastChan
40+
41+ Build-Depends: base >= 4 && < 5
42+
43+Source-Repository head
44+ Type: git
45+ Location: ssh://github.com:merijn/broadcast-chan.git
46+
47+Source-Repository head
48+ Type: mercurial
49+ Location: git+ssh://github.com:merijn/broadcast-chan.git
50+
51+Source-Repository head
52+ Type: mercurial
53+ Location: https://bitbucket.org/merijnv/broadcast-chan
test/golden-test-cases/broadcast-chan.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, fetchurl }:
2+mkDerivation {
3+ pname = "broadcast-chan";
4+ version = "0.1.1";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base ];
10+ homepage = "https://github.com/merijn/broadcast-chan";
11+ description = "Broadcast channel type that avoids 0 reader space leaks";
12+ license = stdenv.lib.licenses.bsd3;
13+}
test/golden-test-cases/butcher.cabalnew file+157
@@ -0,0 +1,157 @@
1+name: butcher
2+version: 1.2.1.0
3+synopsis: Chops a command or program invocation into digestable pieces.
4+description: See the <https://github.com/lspitzner/butcher/blob/master/README.md README> (it is properly formatted on github).
5+license: BSD3
6+license-file: LICENSE
7+author: Lennart Spitzner
8+maintainer: Lennart Spitzner <hexagoxel@hexagoxel.de>
9+copyright: Copyright (C) 2016-2017 Lennart Spitzner
10+category: UI
11+build-type: Simple
12+Stability: experimental
13+extra-source-files: {
14+ ChangeLog.md
15+ srcinc/prelude.inc
16+ README.md
17+}
18+cabal-version: >=1.10
19+homepage: https://github.com/lspitzner/butcher/
20+bug-reports: https://github.com/lspitzner/butcher/issues
21+
22+source-repository head {
23+ type: git
24+ location: https://github.com/lspitzner/butcher.git
25+}
26+
27+flag butcher-dev
28+ description: dev options
29+ default: False
30+ manual: True
31+
32+library
33+ exposed-modules: UI.Butcher.Monadic.Types
34+ UI.Butcher.Monadic
35+ UI.Butcher.Monadic.Command
36+ UI.Butcher.Monadic.Param
37+ UI.Butcher.Monadic.Flag
38+ UI.Butcher.Monadic.Pretty
39+ UI.Butcher.Monadic.IO
40+ UI.Butcher.Monadic.Interactive
41+ UI.Butcher.Monadic.BuiltinCommands
42+ other-modules: UI.Butcher.Monadic.Internal.Types
43+ UI.Butcher.Monadic.Internal.Core
44+ build-depends:
45+ { base >=4.8 && <4.11
46+ , free
47+ , unsafe
48+ , microlens
49+ , microlens-th
50+ , multistate
51+ , pretty
52+ , containers
53+ , either
54+ , transformers
55+ , mtl
56+ , extra
57+ , void
58+ , bifunctors
59+ , deque
60+ }
61+ if flag(butcher-dev) {
62+ build-depends:
63+ hspec
64+ }
65+ hs-source-dirs: src
66+ default-language: Haskell2010
67+ default-extensions: {
68+ CPP
69+
70+ NoImplicitPrelude
71+
72+ GADTs
73+
74+ FlexibleContexts
75+ FlexibleInstances
76+ ScopedTypeVariables
77+ MonadComprehensions
78+ LambdaCase
79+ MultiWayIf
80+ KindSignatures
81+ }
82+ other-extensions: {
83+ DeriveFunctor
84+ ExistentialQuantification
85+ GeneralizedNewtypeDeriving
86+ StandaloneDeriving
87+ DataKinds
88+ TypeOperators
89+ TemplateHaskell
90+ }
91+ ghc-options: {
92+ -Wall
93+ -fno-spec-constr
94+ -fno-warn-unused-imports
95+ -fno-warn-orphans
96+ }
97+ if flag(butcher-dev) {
98+ ghc-options: -O0 -Werror -fprof-auto -fprof-cafs
99+ }
100+ include-dirs:
101+ srcinc
102+
103+test-suite tests
104+ type: exitcode-stdio-1.0
105+ default-language: Haskell2010
106+ build-depends:
107+ { base >=4.8 && <4.11
108+ , butcher
109+ , free
110+ , unsafe
111+ , microlens
112+ , microlens-th
113+ , multistate
114+ , pretty
115+ , containers
116+ , either
117+ , transformers
118+ , mtl
119+ , extra
120+ , deque
121+ }
122+ if flag(butcher-dev) {
123+ buildable: True
124+ build-depends:
125+ hspec
126+ } else {
127+ buildable: False
128+ }
129+ ghc-options: -Wall
130+ main-is: TestMain.hs
131+ other-modules:
132+ hs-source-dirs: src-tests
133+ default-extensions: {
134+ CPP
135+
136+ NoImplicitPrelude
137+
138+ GADTs
139+
140+ FlexibleContexts
141+ FlexibleInstances
142+ ScopedTypeVariables
143+ MonadComprehensions
144+ LambdaCase
145+ MultiWayIf
146+ KindSignatures
147+ }
148+ ghc-options: {
149+ -Wall
150+ -fno-spec-constr
151+ -fno-warn-unused-imports
152+ -fno-warn-orphans
153+ }
154+ if flag(butcher-dev) {
155+ ghc-options: -Werror -fprof-auto -fprof-cafs -O0
156+ }
157+
test/golden-test-cases/butcher.nix.goldennew file+23
@@ -0,0 +1,23 @@
1+{ mkDerivation, base, bifunctors, containers, deque, either, extra
2+, fetchurl, free, microlens, microlens-th, mtl, multistate, pretty
3+, transformers, unsafe, void
4+}:
5+mkDerivation {
6+ pname = "butcher";
7+ version = "1.2.1.0";
8+ src = fetchurl {
9+ url = "http://example.org/";
10+ sha256 = "abc";
11+ };
12+ libraryHaskellDepends = [
13+ base bifunctors containers deque either extra free microlens
14+ microlens-th mtl multistate pretty transformers unsafe void
15+ ];
16+ testHaskellDepends = [
17+ base containers deque either extra free microlens microlens-th mtl
18+ multistate pretty transformers unsafe
19+ ];
20+ homepage = "https://github.com/lspitzner/butcher/";
21+ description = "Chops a command or program invocation into digestable pieces";
22+ license = stdenv.lib.licenses.bsd3;
23+}
test/golden-test-cases/bzlib.cabalnew file+47
@@ -0,0 +1,47 @@
1+name: bzlib
2+version: 0.5.0.5
3+copyright: (c) 2006-2015 Duncan Coutts
4+license: BSD3
5+license-file: LICENSE
6+author: Duncan Coutts <duncan@community.haskell.org>
7+maintainer: Duncan Coutts <duncan@community.haskell.org>
8+category: Codec
9+synopsis: Compression and decompression in the bzip2 format
10+description: This package provides a pure interface for compressing and
11+ decompressing streams of data represented as lazy
12+ 'ByteString's. It uses the bz2 C library so it has high
13+ performance.
14+ .
15+ It provides a convenient high level API suitable for most
16+ tasks and for the few cases where more control is needed it
17+ provides access to the full bzip2 feature set.
18+build-type: Simple
19+cabal-version: >= 1.6
20+extra-source-files: cbits/bzlib_private.h cbits/LICENSE
21+ -- demo programs:
22+ examples/bzip2.hs examples/bunzip2.hs
23+
24+source-repository head
25+ type: darcs
26+ location: http://code.haskell.org/bzlib/
27+
28+library
29+ exposed-modules: Codec.Compression.BZip,
30+ Codec.Compression.BZip.Internal
31+ other-modules: Codec.Compression.BZip.Stream
32+ extensions: CPP, ForeignFunctionInterface
33+ build-depends: base >= 3 && < 5,
34+ bytestring == 0.9.* || == 0.10.*
35+ includes: bzlib.h
36+ ghc-options: -Wall
37+ if !os(windows)
38+ -- Normally we use the the standard system bz2 lib:
39+ extra-libraries: bz2
40+ else
41+ -- However for the benefit of users of Windows (which does not have zlib
42+ -- by default) we bundle a complete copy of the C sources of bzip2-1.0.6
43+ c-sources: cbits/blocksort.c cbits/bzlib.c cbits/compress.c
44+ cbits/crctable.c cbits/decompress.c cbits/huffman.c
45+ cbits/randtable.c
46+ include-dirs: cbits
47+ install-includes: bzlib.h
test/golden-test-cases/bzlib.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, bytestring, bzip2, fetchurl }:
2+mkDerivation {
3+ pname = "bzlib";
4+ version = "0.5.0.5";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base bytestring ];
10+ librarySystemDepends = [ bzip2 ];
11+ description = "Compression and decompression in the bzip2 format";
12+ license = stdenv.lib.licenses.bsd3;
13+}
test/golden-test-cases/case-insensitive.cabalnew file+73
@@ -0,0 +1,73 @@
1+name: case-insensitive
2+version: 1.2.0.10
3+cabal-version: >=1.8
4+build-type: Simple
5+license: BSD3
6+license-file: LICENSE
7+copyright: 2011 Bas van Dijk
8+author: Bas van Dijk
9+maintainer: Bas van Dijk <v.dijk.bas@gmail.com>
10+homepage: https://github.com/basvandijk/case-insensitive
11+bug-reports: https://github.com/basvandijk/case-insensitive/issues
12+category: Data, Text
13+synopsis: Case insensitive string comparison
14+description: The module @Data.CaseInsensitive@ provides the 'CI' type
15+ constructor which can be parameterised by a string-like
16+ type like: 'String', 'ByteString', 'Text',
17+ etc.. Comparisons of values of the resulting type will be
18+ insensitive to cases.
19+tested-with:
20+ GHC==7.0.4,
21+ GHC==7.2.2
22+ GHC==7.4.2,
23+ GHC==7.6.3,
24+ GHC==7.8.4,
25+ GHC==7.10.3,
26+ GHC==8.0.1
27+
28+extra-source-files: README.markdown CHANGELOG pg2189.txt
29+
30+source-repository head
31+ Type: git
32+ Location: git://github.com/basvandijk/case-insensitive.git
33+
34+Library
35+ ghc-options: -Wall
36+ build-depends: base >= 3 && < 4.11
37+ , bytestring >= 0.9 && < 0.11
38+ , text >= 0.3 && < 1.3
39+ , deepseq >= 1.1 && < 1.5
40+ , hashable >= 1.0 && < 1.3
41+ if !impl(ghc >= 8.0)
42+ build-depends: semigroups >= 0.18 && < 0.19
43+ exposed-modules: Data.CaseInsensitive, Data.CaseInsensitive.Unsafe
44+ other-modules: Data.CaseInsensitive.Internal
45+
46+test-suite test-case-insensitive
47+ type: exitcode-stdio-1.0
48+ main-is: test.hs
49+ hs-source-dirs: test
50+
51+ build-depends: case-insensitive
52+ , base >= 3 && < 4.11
53+ , bytestring >= 0.9 && < 0.11
54+ , text >= 0.3 && < 1.3
55+ , HUnit >= 1.2.2 && < 1.6
56+ , test-framework >= 0.2.4 && < 0.9
57+ , test-framework-hunit >= 0.2.4 && < 0.4
58+
59+ ghc-options: -Wall
60+
61+benchmark bench-case-insensitive
62+ type: exitcode-stdio-1.0
63+ main-is: bench.hs
64+ other-modules: NoClass
65+ hs-source-dirs: bench
66+
67+ ghc-options: -Wall -O2
68+
69+ build-depends: case-insensitive
70+ , base >= 3 && < 4.11
71+ , bytestring >= 0.9 && < 0.11
72+ , criterion >= 0.6.1 && < 1.3
73+ , deepseq >= 1.1 && < 1.5
test/golden-test-cases/case-insensitive.nix.goldennew file+19
@@ -0,0 +1,19 @@
1+{ mkDerivation, base, bytestring, criterion, deepseq, fetchurl
2+, hashable, HUnit, test-framework, test-framework-hunit, text
3+}:
4+mkDerivation {
5+ pname = "case-insensitive";
6+ version = "1.2.0.10";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [ base bytestring deepseq hashable text ];
12+ testHaskellDepends = [
13+ base bytestring HUnit test-framework test-framework-hunit text
14+ ];
15+ benchmarkHaskellDepends = [ base bytestring criterion deepseq ];
16+ homepage = "https://github.com/basvandijk/case-insensitive";
17+ description = "Case insensitive string comparison";
18+ license = stdenv.lib.licenses.bsd3;
19+}
test/golden-test-cases/cassava-conduit.cabalnew file+79
@@ -0,0 +1,79 @@
1+name: cassava-conduit
2+version: 0.4.0.1
3+license: BSD3
4+license-file: etc/LICENCE.md
5+author: Dom De Re
6+maintainer: Dom De Re
7+copyright: Copyright (C) 2014-2017 Dom De Re
8+synopsis: Conduit interface for cassava package
9+category: Data
10+description: Conduit interface for cassava package
11+ .
12+ PRs welcome.
13+homepage: https://github.com/domdere/cassava-conduit
14+bug-reports: https://github.com/domdere/cassava-conduit/issues
15+cabal-version: >= 1.18
16+build-type: Simple
17+tested-with: GHC == 7.10.1
18+ , GHC == 7.10.2
19+extra-source-files: README.md
20+ , CHANGELOG.md
21+
22+source-repository head
23+ type: git
24+ location: https://github.com/domdere/cassava-conduit
25+
26+flag small_base
27+ description: Choose the new, split-up base package.
28+
29+library
30+ default-language: Haskell2010
31+
32+ build-depends: base < 5 && >= 4
33+ , containers
34+ , array
35+ , bifunctors >= 4.2 && < 6
36+ , bytestring == 0.10.*
37+ , cassava == 0.5.*
38+ , conduit == 1.2.*
39+ , conduit-extra == 1.2.*
40+ , mtl == 2.2.*
41+ , text == 1.2.*
42+
43+ ghc-options: -Wall
44+
45+ hs-source-dirs: src
46+
47+ exposed-modules: Data.Csv.Conduit
48+
49+ other-modules: LocalPrelude
50+
51+ default-extensions: NoImplicitPrelude
52+
53+test-suite quickcheck
54+ default-language: Haskell2010
55+ type: exitcode-stdio-1.0
56+ main-is: Main.hs
57+ hs-source-dirs: quickcheck
58+ other-modules: Test.Arbitrary
59+ Test.Data.Csv.Conduit
60+
61+ build-depends: base >= 4 && < 5
62+ , bytestring == 0.10.*
63+ , cassava == 0.5.*
64+ , conduit == 1.2.*
65+ , conduit-extra == 1.2.*
66+ , QuickCheck == 2.10.*
67+ , text == 1.2.*
68+ , cassava-conduit
69+
70+benchmark benchmarks
71+ default-language: Haskell2010
72+ type: exitcode-stdio-1.0
73+ hs-source-dirs: benchmarks
74+ main-is: Main.hs
75+ ghc-options: -O2 -rtsopts
76+
77+ build-depends: base > 4 && <= 5
78+ , cassava-conduit
79+ , criterion >= 0.8
test/golden-test-cases/cassava-conduit.nix.goldennew file+23
@@ -0,0 +1,23 @@
1+{ mkDerivation, array, base, bifunctors, bytestring, cassava
2+, conduit, conduit-extra, containers, criterion, fetchurl, mtl
3+, QuickCheck, text
4+}:
5+mkDerivation {
6+ pname = "cassava-conduit";
7+ version = "0.4.0.1";
8+ src = fetchurl {
9+ url = "http://example.org/";
10+ sha256 = "abc";
11+ };
12+ libraryHaskellDepends = [
13+ array base bifunctors bytestring cassava conduit conduit-extra
14+ containers mtl text
15+ ];
16+ testHaskellDepends = [
17+ base bytestring cassava conduit conduit-extra QuickCheck text
18+ ];
19+ benchmarkHaskellDepends = [ base criterion ];
20+ homepage = "https://github.com/domdere/cassava-conduit";
21+ description = "Conduit interface for cassava package";
22+ license = stdenv.lib.licenses.bsd3;
23+}
test/golden-test-cases/cassette.cabalnew file+28
@@ -0,0 +1,28 @@
1+Name: cassette
2+Version: 0.1.0
3+Author: Mathieu Boespflug
4+Maintainer: Mathieu Boespflug <mboes@cs.mcgill.ca>
5+Synopsis: A combinator library for simultaneously defining parsers and pretty printers.
6+Description:
7+ Combinator library for defining both type safe parsers and pretty printers simultaneously.
8+ This library performs well in practice because parsers and printers are implemented in CPS
9+ and because arguments are always curried, rather than packed into nested tuples.
10+Category: Parsing, Text
11+License: BSD3
12+License-File: LICENSE
13+Cabal-Version: >= 1.10.0
14+Build-Type: Simple
15+Tested-With: GHC == 7.4.1
16+
17+library
18+ Hs-Source-Dirs: src
19+ Build-Depends: base >= 4 && < 5
20+ Default-Language: Haskell2010
21+ default-extensions: RankNTypes
22+ other-extensions: ImpredicativeTypes
23+ Exposed-Modules: Text.Cassette
24+ Text.Cassette.Prim
25+ Text.Cassette.Lead
26+ Text.Cassette.Combinator
27+ Text.Cassette.Char
28+ Text.Cassette.Number
test/golden-test-cases/cassette.nix.goldennew file+12
@@ -0,0 +1,12 @@
1+{ mkDerivation, base, fetchurl }:
2+mkDerivation {
3+ pname = "cassette";
4+ version = "0.1.0";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base ];
10+ description = "A combinator library for simultaneously defining parsers and pretty printers";
11+ license = stdenv.lib.licenses.bsd3;
12+}
test/golden-test-cases/cereal-text.cabalnew file+38
@@ -0,0 +1,38 @@
1+-- Initial cereal-text.cabal generated by cabal init. For further
2+-- documentation, see http://haskell.org/cabal/users-guide/
3+
4+name: cereal-text
5+version: 0.1.0.2
6+synopsis: Data.Text instances for the cereal serialization library
7+description: Data.Text instances for the cereal serialization library.
8+ .
9+ Provides instances for Text and lazy Text.
10+ Uses UTF-8 encoding for serialization.
11+ .
12+ Use
13+ @import Data.Serialize.Text ()@
14+ to import instances.
15+homepage: https://github.com/ulikoehler/cereal-text
16+license: Apache-2.0
17+license-file: LICENSE
18+author: Uli Köhler
19+maintainer: ukoehler@btronik.de
20+-- copyright:
21+category: Data
22+build-type: Simple
23+extra-source-files: README.md
24+cabal-version: >=1.10
25+
26+source-repository head
27+ type: git
28+ location: https://github.com/ulikoehler/cereal-text
29+
30+library
31+ exposed-modules: Data.Serialize.Text
32+ -- other-modules:
33+ -- other-extensions:
34+ build-depends: base >= 4.0 && < 6.0,
35+ cereal >= 0.2,
36+ text >= 0.10
37+ -- hs-source-dirs:
38+ default-language: Haskell2010
test/golden-test-cases/cereal-text.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, cereal, fetchurl, text }:
2+mkDerivation {
3+ pname = "cereal-text";
4+ version = "0.1.0.2";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base cereal text ];
10+ homepage = "https://github.com/ulikoehler/cereal-text";
11+ description = "Data.Text instances for the cereal serialization library";
12+ license = stdenv.lib.licenses.asl20;
13+}
test/golden-test-cases/cheapskate.cabalnew file+81
@@ -0,0 +1,81 @@
1+name: cheapskate
2+version: 0.1.1
3+synopsis: Experimental markdown processor.
4+description: This is an experimental Markdown processor in pure
5+ Haskell. It aims to process Markdown efficiently and in
6+ the most forgiving possible way. It is designed to deal
7+ with any input, including garbage, with linear
8+ performance. Output is sanitized by default for
9+ protection against XSS attacks.
10+ .
11+ Several markdown extensions are implemented, including
12+ fenced code blocks, significant list start numbers, and
13+ autolinked URLs. See README.markdown for details.
14+homepage: http://github.com/jgm/cheapskate
15+license: BSD3
16+license-file: LICENSE
17+author: John MacFarlane
18+maintainer: jgm@berkeley.edu
19+copyright: (C) 2012-2013 John MacFarlane
20+category: Text
21+build-type: Simple
22+extra-source-files: README.markdown
23+ changelog
24+ man/man1/cheapskate.1
25+cabal-version: >=1.10
26+Source-repository head
27+ type: git
28+ location: git://github.com/jgm/cheapskate.git
29+
30+Flag dingus
31+ Description: Build cheapskate-dingus cgi script.
32+ Default: False
33+
34+library
35+ hs-source-dirs: .
36+ exposed-modules: Cheapskate
37+ Cheapskate.Parse
38+ Cheapskate.Types
39+ Cheapskate.Html
40+ other-modules: Cheapskate.Util
41+ Cheapskate.Inlines
42+ Cheapskate.ParserCombinators
43+ Paths_cheapskate
44+ build-depends: base >=4.4 && <5,
45+ containers >=0.4 && <0.6,
46+ mtl >=2.1 && <2.3,
47+ text >= 0.9 && < 1.3,
48+ blaze-html >=0.6 && < 0.10,
49+ xss-sanitize >= 0.3 && < 0.4,
50+ data-default >= 0.5 && < 0.8,
51+ syb,
52+ uniplate >= 1.6 && < 1.7,
53+ deepseq
54+ default-language: Haskell2010
55+ ghc-options: -Wall -fno-warn-unused-do-bind
56+
57+executable cheapskate
58+ main-is: main.hs
59+ hs-source-dirs: bin
60+ build-depends: base >=4.4 && <5,
61+ cheapskate,
62+ bytestring,
63+ blaze-html >=0.6 && < 0.10,
64+ text >= 0.9 && < 1.3
65+ default-language: Haskell2010
66+ ghc-options: -Wall -fno-warn-unused-do-bind
67+ ghc-prof-options: -auto-exported -rtsopts
68+
69+executable cheapskate-dingus
70+ main-is: cheapskate-dingus.hs
71+ hs-source-dirs: bin
72+ if flag(dingus)
73+ build-depends: base, aeson, cheapskate, blaze-html,
74+ text, wai-extra, wai >= 0.3, http-types
75+ default-language: Haskell2010
76+ if flag(dingus)
77+ Buildable: True
78+ else
79+ Buildable: False
80+ ghc-options: -Wall -fno-warn-unused-do-bind
81+ ghc-prof-options: -auto-exported -rtsopts
test/golden-test-cases/cheapskate.nix.goldennew file+22
@@ -0,0 +1,22 @@
1+{ mkDerivation, base, blaze-html, bytestring, containers
2+, data-default, deepseq, fetchurl, mtl, syb, text, uniplate
3+, xss-sanitize
4+}:
5+mkDerivation {
6+ pname = "cheapskate";
7+ version = "0.1.1";
8+ src = fetchurl {
9+ url = "http://example.org/";
10+ sha256 = "abc";
11+ };
12+ isLibrary = true;
13+ isExecutable = true;
14+ libraryHaskellDepends = [
15+ base blaze-html containers data-default deepseq mtl syb text
16+ uniplate xss-sanitize
17+ ];
18+ executableHaskellDepends = [ base blaze-html bytestring text ];
19+ homepage = "http://github.com/jgm/cheapskate";
20+ description = "Experimental markdown processor";
21+ license = stdenv.lib.licenses.bsd3;
22+}
test/golden-test-cases/chell.cabalnew file+88
@@ -0,0 +1,88 @@
1+name: chell
2+version: 0.4.0.2
3+license: MIT
4+license-file: license.txt
5+author: John Millikin <john@john-millikin.com>
6+maintainer: John Millikin <john@john-millikin.com>
7+build-type: Simple
8+cabal-version: >= 1.6
9+category: Testing
10+bug-reports: mailto:jmillikin@gmail.com
11+homepage: https://john-millikin.com/software/chell/
12+
13+synopsis: A simple and intuitive library for automated testing.
14+description:
15+ Chell is a simple and intuitive library for automated testing. It natively
16+ supports assertion-based testing, and can use companion libraries
17+ such as @chell-quickcheck@ to support more complex testing strategies.
18+ .
19+ An example test suite, which verifies the behavior of artithmetic operators.
20+ .
21+ @
22+ &#x7b;-\# LANGUAGE TemplateHaskell \#-&#x7d;
23+ .
24+ import Test.Chell
25+ .
26+ tests_Math :: Suite
27+ tests_Math = suite \"math\"
28+ &#x20; [ test_Addition
29+ &#x20; , test_Subtraction
30+ &#x20; ]
31+ .
32+ test_Addition :: Test
33+ test_Addition = assertions \"addition\" $ do
34+ &#x20; $expect (equal (2 + 1) 3)
35+ &#x20; $expect (equal (1 + 2) 3)
36+ .
37+ test_Subtraction :: Test
38+ test_Subtraction = assertions \"subtraction\" $ do
39+ &#x20; $expect (equal (2 - 1) 1)
40+ &#x20; $expect (equal (1 - 2) (-1))
41+ .
42+ main :: IO ()
43+ main = defaultMain [tests_Math]
44+ @
45+ .
46+ @
47+ $ ghc --make chell-example.hs
48+ $ ./chell-example
49+ PASS: 2 tests run, 2 tests passed
50+ @
51+
52+source-repository head
53+ type: git
54+ location: https://john-millikin.com/code/chell/
55+
56+source-repository this
57+ type: git
58+ location: https://john-millikin.com/code/chell/
59+ tag: chell_0.4.0.2
60+
61+flag color-output
62+ description: Enable colored output in test results
63+ default: True
64+
65+library
66+ ghc-options: -Wall
67+
68+ build-depends:
69+ base >= 4.1 && < 5.0
70+ , bytestring >= 0.9
71+ , options >= 1.0 && < 2.0
72+ , patience >= 0.1 && < 0.2
73+ , random >= 1.0
74+ , template-haskell >= 2.3
75+ , text
76+ , transformers >= 0.2
77+
78+ if flag(color-output)
79+ build-depends:
80+ ansi-terminal >= 0.5 && < 0.8
81+
82+ exposed-modules:
83+ Test.Chell
84+
85+ other-modules:
86+ Test.Chell.Main
87+ Test.Chell.Output
88+ Test.Chell.Types
test/golden-test-cases/chell.nix.goldennew file+18
@@ -0,0 +1,18 @@
1+{ mkDerivation, ansi-terminal, base, bytestring, fetchurl, options
2+, patience, random, template-haskell, text, transformers
3+}:
4+mkDerivation {
5+ pname = "chell";
6+ version = "0.4.0.2";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [
12+ ansi-terminal base bytestring options patience random
13+ template-haskell text transformers
14+ ];
15+ homepage = "https://john-millikin.com/software/chell/";
16+ description = "A simple and intuitive library for automated testing";
17+ license = stdenv.lib.licenses.mit;
18+}
test/golden-test-cases/clumpiness.cabalnew file+72
@@ -0,0 +1,72 @@
1+-- Initial clumpiness.cabal generated by cabal init. For further
2+-- documentation, see http://haskell.org/cabal/users-guide/
3+
4+-- The name of the package.
5+name: clumpiness
6+
7+-- The package version. See the Haskell package versioning policy (PVP)
8+-- for standards guiding when and how versions should be incremented.
9+-- http://www.haskell.org/haskellwiki/Package_versioning_policy
10+-- PVP summary: +-+------- breaking API changes
11+-- | | +----- non-breaking API additions
12+-- | | | +--- code changes with no API change
13+version: 0.17.0.0
14+
15+-- A short (one-line) description of the package.
16+synopsis: Calculate the clumpiness of leaf properties in a tree
17+
18+-- A longer description of the package.
19+-- description:
20+
21+-- The license under which the package is released.
22+license: GPL-3
23+
24+-- The file containing the license text.
25+license-file: LICENSE
26+
27+-- The package author(s).
28+author: Gregory Schwartz
29+
30+-- An email address to which users can send suggestions, bug reports, and
31+-- patches.
32+maintainer: gs394@drexel.edu
33+
34+-- A copyright notice.
35+-- copyright:
36+
37+category: Math
38+
39+build-type: Simple
40+
41+-- Extra files to be distributed with the package, such as examples or a
42+-- README.
43+-- extra-source-files:
44+
45+-- Constraint on the version of Cabal needed to build this package.
46+cabal-version: >=1.10
47+
48+
49+library
50+ -- Modules exported by the library.
51+ exposed-modules: Math.Clumpiness.Algorithms
52+ , Math.Clumpiness.Types
53+ , Math.Clumpiness.Utilities
54+ , Math.Clumpiness.Pinpoint
55+
56+ -- Modules included in this library but not exported.
57+ -- other-modules:
58+
59+ -- LANGUAGE extensions used by modules in this package.
60+ other-extensions: BangPatterns
61+
62+ -- Other library packages from which modules are imported.
63+ build-depends: base >=4.6 && <5
64+ , containers >=0.5
65+ , tree-fun >=0.7
66+
67+ -- Directories containing source files.
68+ hs-source-dirs: src
69+
70+ -- Base language which the package is written in.
71+ default-language: Haskell2010
72+
test/golden-test-cases/clumpiness.nix.goldennew file+12
@@ -0,0 +1,12 @@
1+{ mkDerivation, base, containers, fetchurl, tree-fun }:
2+mkDerivation {
3+ pname = "clumpiness";
4+ version = "0.17.0.0";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base containers tree-fun ];
10+ description = "Calculate the clumpiness of leaf properties in a tree";
11+ license = stdenv.lib.licenses.gpl3;
12+}
test/golden-test-cases/code-page.cabalnew file+60
@@ -0,0 +1,60 @@
1+name: code-page
2+version: 0.1.3
3+synopsis: Windows code page library for Haskell
4+description: This library provides two modules:
5+ .
6+ * "System.IO.CodePage": a cross-platform module that exports
7+ functions which adjust code pages on Windows, and do nothing
8+ on other operating systems.
9+ .
10+ * "System.Win32.CodePage": On Windows, this exports functions
11+ for getting, setting, and analyzing code pages. On other
12+ operating systems, this module exports nothing.
13+homepage: https://github.com/RyanGlScott/code-page
14+bug-reports: https://github.com/RyanGlScott/code-page/issues
15+license: BSD3
16+license-file: LICENSE
17+author: Ryan Scott
18+maintainer: Ryan Scott <ryan.gl.scott@gmail.com>
19+stability: Provisional
20+copyright: (C) 2016-2017 Ryan Scott
21+category: System
22+build-type: Simple
23+extra-source-files: CHANGELOG.md, README.md, include/*.h
24+cabal-version: >=1.10
25+tested-with: GHC == 7.0.4
26+ , GHC == 7.2.2
27+ , GHC == 7.4.2
28+ , GHC == 7.6.3
29+ , GHC == 7.8.4
30+ , GHC == 7.10.3
31+ , GHC == 8.0.2
32+
33+source-repository head
34+ type: git
35+ location: https://github.com/RyanGlScott/code-page
36+
37+library
38+ exposed-modules: System.IO.CodePage
39+ System.Win32.CodePage
40+ build-depends: base >= 4.3 && < 5
41+ build-tools: hsc2hs
42+ if os(windows)
43+ include-dirs: include
44+ includes: windows_cconv.h
45+ cpp-options: "-DWINDOWS"
46+ build-depends: Win32
47+
48+ hs-source-dirs: src
49+ default-language: Haskell2010
50+ ghc-options: -Wall
51+
52+test-suite tests
53+ type: exitcode-stdio-1.0
54+ main-is: Tests.hs
55+
56+ build-depends: base >= 4.3 && < 5
57+ , code-page
58+
59+ hs-source-dirs: tests
60+ default-language: Haskell2010
test/golden-test-cases/code-page.nix.goldennew file+14
@@ -0,0 +1,14 @@
1+{ mkDerivation, base, fetchurl }:
2+mkDerivation {
3+ pname = "code-page";
4+ version = "0.1.3";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base ];
10+ testHaskellDepends = [ base ];
11+ homepage = "https://github.com/RyanGlScott/code-page";
12+ description = "Windows code page library for Haskell";
13+ license = stdenv.lib.licenses.bsd3;
14+}
test/golden-test-cases/colorize-haskell.cabalnew file+33
@@ -0,0 +1,33 @@
1+name: colorize-haskell
2+version: 1.0.1
3+license: BSD3
4+license-file: LICENSE
5+author: Iavor S. Diatchki
6+maintainer: iavor.diatchki@gmail.com
7+homepage: http://github.com/yav/colorize-haskell
8+build-type: Simple
9+cabal-version: >= 1.2
10+synopsis: Highligt Haskell source
11+description: Highligt Haskell source
12+category: Development
13+
14+library
15+ build-depends:
16+ base >= 3 && < 5,
17+ haskell-lexer,
18+ ansi-terminal
19+ exposed-modules:
20+ Language.Haskell.Colorize
21+ ghc-options:
22+ -Wall -O2
23+
24+
25+executable hscolor
26+ main-is: Main.hs
27+ -- because we cannot depend on self:
28+ build-depends:
29+ base >= 3 && < 5,
30+ haskell-lexer,
31+ ansi-terminal
32+ ghc-options: -Wall -O2
33+
test/golden-test-cases/colorize-haskell.nix.goldennew file+16
@@ -0,0 +1,16 @@
1+{ mkDerivation, ansi-terminal, base, fetchurl, haskell-lexer }:
2+mkDerivation {
3+ pname = "colorize-haskell";
4+ version = "1.0.1";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ isLibrary = true;
10+ isExecutable = true;
11+ libraryHaskellDepends = [ ansi-terminal base haskell-lexer ];
12+ executableHaskellDepends = [ ansi-terminal base haskell-lexer ];
13+ homepage = "http://github.com/yav/colorize-haskell";
14+ description = "Highligt Haskell source";
15+ license = stdenv.lib.licenses.bsd3;
16+}
test/golden-test-cases/countable.cabalnew file+78
@@ -0,0 +1,78 @@
1+cabal-version: >=1.14
2+name: countable
3+version: 1.0
4+x-follows-version-policy:
5+license: BSD3
6+license-file: LICENSE
7+copyright: Ashley Yakeley <ashley@semantic.org>
8+author: Ashley Yakeley <ashley@semantic.org>
9+maintainer: Ashley Yakeley <ashley@semantic.org>
10+homepage: https://github.com/AshleyYakeley/countable
11+bug-reports: https://github.com/AshleyYakeley/countable/issues
12+synopsis: Countable, Searchable, Finite, Empty classes
13+description:
14+ * @class Countable@, for countable types
15+ .
16+ * @class AtLeastOneCountable@, for countable types that have at least one value
17+ .
18+ * @class InfiniteCountable@, for infinite countable types
19+ .
20+ * @class Searchable@, for types that can be searched over. This turns out to include some infinite types, see <http://math.andrej.com/2007/09/28/seemingly-impossible-functional-programs/>.
21+ .
22+ * @class Finite@, for finite types
23+ .
24+ * @class Empty@, for empty types
25+ .
26+ * @data Nothing@, an empty type
27+ .
28+ Some orphan instances:
29+ .
30+ * @(Searchable a,Eq b) => Eq (a -> b)@ / /
31+ .
32+ * @(Finite t) => Foldable ((->) t)@ / /
33+ .
34+ * @(Finite a) => Traversable ((->) a)@ / /
35+ .
36+ * @(Show a,Finite a,Show b) => Show (a -> b)@ / /
37+category: Data
38+build-type: Simple
39+
40+library
41+ hs-source-dirs: src
42+ default-language: Haskell2010
43+ default-extensions:
44+ ExistentialQuantification
45+ EmptyCase
46+ build-depends:
47+ base >= 4.8 && < 5
48+ exposed-modules:
49+ Data.Expression
50+ Data.Searchable
51+ Data.Countable
52+ Data.Empty
53+ ghc-options: -Wall
54+
55+test-suite tests
56+ type: exitcode-stdio-1.0
57+ hs-source-dirs: test
58+ default-language: Haskell2010
59+ default-extensions:
60+ ExistentialQuantification
61+ EmptyCase
62+ GeneralizedNewtypeDeriving
63+ ScopedTypeVariables
64+ build-depends:
65+ base >= 4.8 && < 5,
66+ countable,
67+ bytestring,
68+ silently,
69+ tasty,
70+ tasty-hunit,
71+ tasty-golden
72+ main-is: Count.hs
73+ other-modules:
74+ Show
75+ TypeName
76+ Three
77+ Golden
78+ ghc-options: -Wall
test/golden-test-cases/countable.nix.goldennew file+18
@@ -0,0 +1,18 @@
1+{ mkDerivation, base, bytestring, fetchurl, silently, tasty
2+, tasty-golden, tasty-hunit
3+}:
4+mkDerivation {
5+ pname = "countable";
6+ version = "1.0";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [ base ];
12+ testHaskellDepends = [
13+ base bytestring silently tasty tasty-golden tasty-hunit
14+ ];
15+ homepage = "https://github.com/AshleyYakeley/countable";
16+ description = "Countable, Searchable, Finite, Empty classes";
17+ license = stdenv.lib.licenses.bsd3;
18+}
test/golden-test-cases/cpu.cabalnew file+81
@@ -0,0 +1,81 @@
1+Name: cpu
2+Version: 0.1.2
3+Description:
4+ Lowlevel cpu routines to get basic properties of the cpu platform, like endianness and architecture.
5+License: BSD3
6+License-file: LICENSE
7+Copyright: Vincent Hanquez <vincent@snarc.org>
8+Author: Vincent Hanquez <vincent@snarc.org>
9+Maintainer: Vincent Hanquez <vincent@snarc.org>
10+Synopsis: Cpu information and properties helpers.
11+Build-Type: Simple
12+Category: Data
13+stability: experimental
14+Cabal-Version: >=1.8
15+Homepage: http://github.com/vincenthz/hs-cpu
16+data-files: README.md
17+Extra-source-files: cbits/endian.c
18+
19+Flag executable
20+ Description: Build the executable
21+ Default: False
22+
23+Library
24+ Build-Depends: base >= 3 && < 5
25+ Exposed-modules: System.Cpuid
26+ System.Endian
27+ System.Arch
28+ ghc-options: -Wall
29+
30+ if impl(ghc < 7.8)
31+ C-sources: cbits/endian.c
32+
33+ if arch(i386)
34+ Cpp-options: -DARCH_X86
35+ if arch(x86_64)
36+ Cpp-options: -DARCH_X86_64
37+ if arch(ppc)
38+ Cpp-options: -DARCH_PPC
39+ if arch(ppc64)
40+ Cpp-options: -DARCH_PPC64
41+ if arch(sparc)
42+ Cpp-options: -DARCH_SPARC
43+ if arch(arm)
44+ Cpp-options: -DARCH_ARM
45+ if arch(mips)
46+ Cpp-options: -DARCH_MIPS
47+ if arch(sh)
48+ Cpp-options: -DARCH_SH
49+ if arch(ia64)
50+ Cpp-options: -DARCH_IA64
51+ if arch(s390)
52+ Cpp-options: -DARCH_S390
53+ if arch(alpha)
54+ Cpp-options: -DARCH_ALPHA
55+ if arch(hppa)
56+ Cpp-options: -DARCH_HPPA
57+ if arch(rs6000)
58+ Cpp-options: -DARCH_RS6000
59+ if arch(m68k)
60+ Cpp-options: -DARCH_M68K
61+ if arch(vax)
62+ Cpp-options: -DARCH_VAX
63+
64+ if arch(i386) || arch(x86_64)
65+ C-sources: cbits/cpuid.c
66+
67+executable cpuid
68+ hs-source-dirs: cpuid
69+ Main-is: Cpuid.hs
70+ if flag(executable)
71+ Buildable: True
72+ Build-Depends: base >= 3 && < 5
73+ , cpu
74+ , bytestring
75+ else
76+ Buildable: False
77+ ghc-options: -Wall -fno-warn-orphans -fno-warn-missing-signatures
78+
79+source-repository head
80+ type: git
81+ location: git://github.com/vincenthz/hs-cpu
test/golden-test-cases/cpu.nix.goldennew file+16
@@ -0,0 +1,16 @@
1+{ mkDerivation, base, fetchurl }:
2+mkDerivation {
3+ pname = "cpu";
4+ version = "0.1.2";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ isLibrary = true;
10+ isExecutable = true;
11+ enableSeparateDataOutput = true;
12+ libraryHaskellDepends = [ base ];
13+ homepage = "http://github.com/vincenthz/hs-cpu";
14+ description = "Cpu information and properties helpers";
15+ license = stdenv.lib.licenses.bsd3;
16+}
test/golden-test-cases/criterion.cabalnew file+218
@@ -0,0 +1,218 @@
1+name: criterion
2+version: 1.2.6.0
3+synopsis: Robust, reliable performance measurement and analysis
4+license: BSD3
5+license-file: LICENSE
6+author: Bryan O'Sullivan <bos@serpentine.com>
7+maintainer: Bryan O'Sullivan <bos@serpentine.com>
8+copyright: 2009-2016 Bryan O'Sullivan and others
9+category: Development, Performance, Testing, Benchmarking
10+homepage: http://www.serpentine.com/criterion
11+bug-reports: https://github.com/bos/criterion/issues
12+build-type: Simple
13+cabal-version: >= 1.10
14+extra-source-files:
15+ README.markdown
16+ changelog.md
17+ examples/*.cabal
18+ examples/*.hs
19+ examples/*.html
20+tested-with:
21+ GHC==7.4.2,
22+ GHC==7.6.3,
23+ GHC==7.8.4,
24+ GHC==7.10.3,
25+ GHC==8.0.2,
26+ GHC==8.2.2
27+
28+data-files:
29+ templates/*.css
30+ templates/*.tpl
31+ templates/js/jquery.criterion.js
32+
33+description:
34+ This library provides a powerful but simple way to measure software
35+ performance. It provides both a framework for executing and
36+ analysing benchmarks and a set of driver functions that makes it
37+ easy to build and run benchmarks, and to analyse their results.
38+ .
39+ The fastest way to get started is to read the
40+ <http://www.serpentine.com/criterion/tutorial.html online tutorial>,
41+ followed by the documentation and examples in the "Criterion.Main"
42+ module.
43+ .
44+ For examples of the kinds of reports that criterion generates, see
45+ <http://www.serpentine.com/criterion the home page>.
46+
47+flag fast
48+ description: compile without optimizations
49+ default: False
50+ manual: True
51+
52+flag embed-data-files
53+ description: Embed the data files in the binary for a relocatable executable.
54+ (Warning: This will increase the executable size significantly.)
55+ default: False
56+ manual: True
57+
58+library
59+ exposed-modules:
60+ Criterion
61+ Criterion.Analysis
62+ Criterion.IO
63+ Criterion.IO.Printf
64+ Criterion.Internal
65+ Criterion.Main
66+ Criterion.Main.Options
67+ Criterion.Measurement
68+ Criterion.Monad
69+ Criterion.Report
70+ Criterion.Types
71+
72+ other-modules:
73+ Criterion.Monad.Internal
74+ Criterion.Types.Internal
75+
76+ c-sources: cbits/cycles.c
77+ if os(darwin)
78+ c-sources: cbits/time-osx.c
79+ else {
80+ if os(windows)
81+ c-sources: cbits/time-windows.c
82+ else
83+ c-sources: cbits/time-posix.c
84+ }
85+
86+ other-modules:
87+ Paths_criterion
88+
89+ build-depends:
90+ aeson >= 0.8,
91+ ansi-wl-pprint >= 0.6.7.2,
92+ base >= 4.5 && < 5,
93+ base-compat >= 0.9,
94+ binary >= 0.5.1.0,
95+ bytestring >= 0.9 && < 1.0,
96+ cassava >= 0.3.0.0,
97+ code-page,
98+ containers,
99+ deepseq >= 1.1.0.0,
100+ directory,
101+ exceptions >= 0.8.2 && < 0.9,
102+ filepath,
103+ Glob >= 0.7.2,
104+ microstache >= 1.0.1 && < 1.1,
105+ js-flot,
106+ js-jquery,
107+ mtl >= 2,
108+ mwc-random >= 0.8.0.3,
109+ optparse-applicative >= 0.13,
110+ parsec >= 3.1.0,
111+ semigroups,
112+ statistics >= 0.14 && < 0.15,
113+ text >= 0.11,
114+ time,
115+ transformers,
116+ transformers-compat >= 0.4,
117+ vector >= 0.7.1,
118+ vector-algorithms >= 0.4
119+ if impl(ghc < 7.6)
120+ build-depends:
121+ ghc-prim
122+
123+ default-language: Haskell2010
124+ ghc-options: -Wall -funbox-strict-fields
125+ if impl(ghc >= 6.8)
126+ ghc-options: -fwarn-tabs
127+ if flag(fast)
128+ ghc-options: -O0
129+ else
130+ ghc-options: -O2
131+
132+ if flag(embed-data-files)
133+ other-modules: Criterion.EmbeddedData
134+ build-depends: file-embed < 0.1,
135+ template-haskell
136+ cpp-options: "-DEMBED"
137+
138+Executable criterion-report
139+ Default-Language: Haskell2010
140+ GHC-Options: -Wall -rtsopts
141+ Main-Is: Report.hs
142+ Other-Modules: Options
143+ Paths_criterion
144+ Hs-Source-Dirs: app
145+
146+ Build-Depends:
147+ base,
148+ criterion,
149+ optparse-applicative >= 0.13
150+
151+ if impl(ghc < 7.6)
152+ build-depends:
153+ ghc-prim
154+
155+test-suite sanity
156+ type: exitcode-stdio-1.0
157+ hs-source-dirs: tests
158+ main-is: Sanity.hs
159+ default-language: Haskell2010
160+ ghc-options: -Wall -rtsopts
161+ if flag(fast)
162+ ghc-options: -O0
163+ else
164+ ghc-options: -O2
165+
166+ build-depends:
167+ HUnit,
168+ base,
169+ bytestring,
170+ criterion,
171+ deepseq,
172+ tasty,
173+ tasty-hunit
174+
175+test-suite tests
176+ type: exitcode-stdio-1.0
177+ hs-source-dirs: tests
178+ main-is: Tests.hs
179+ default-language: Haskell2010
180+ other-modules: Properties
181+
182+ ghc-options:
183+ -Wall -threaded -O0 -rtsopts
184+
185+ build-depends:
186+ QuickCheck >= 2.4,
187+ base,
188+ criterion,
189+ statistics,
190+ HUnit,
191+ tasty,
192+ tasty-hunit,
193+ tasty-quickcheck,
194+ vector,
195+ aeson >= 0.8
196+
197+test-suite cleanup
198+ type: exitcode-stdio-1.0
199+ hs-source-dirs: tests
200+ default-language: Haskell2010
201+ main-is: Cleanup.hs
202+
203+ ghc-options:
204+ -Wall -threaded -O0 -rtsopts
205+
206+ build-depends:
207+ HUnit,
208+ base,
209+ bytestring,
210+ criterion,
211+ deepseq,
212+ directory,
213+ tasty,
214+ tasty-hunit
215+
216+source-repository head
217+ type: git
218+ location: https://github.com/bos/criterion.git
test/golden-test-cases/criterion.nix.goldennew file+34
@@ -0,0 +1,34 @@
1+{ mkDerivation, aeson, ansi-wl-pprint, base, base-compat, binary
2+, bytestring, cassava, code-page, containers, deepseq, directory
3+, exceptions, fetchurl, filepath, Glob, HUnit, js-flot, js-jquery
4+, microstache, mtl, mwc-random, optparse-applicative, parsec
5+, QuickCheck, semigroups, statistics, tasty, tasty-hunit
6+, tasty-quickcheck, text, time, transformers, transformers-compat
7+, vector, vector-algorithms
8+}:
9+mkDerivation {
10+ pname = "criterion";
11+ version = "1.2.6.0";
12+ src = fetchurl {
13+ url = "http://example.org/";
14+ sha256 = "abc";
15+ };
16+ isLibrary = true;
17+ isExecutable = true;
18+ enableSeparateDataOutput = true;
19+ libraryHaskellDepends = [
20+ aeson ansi-wl-pprint base base-compat binary bytestring cassava
21+ code-page containers deepseq directory exceptions filepath Glob
22+ js-flot js-jquery microstache mtl mwc-random optparse-applicative
23+ parsec semigroups statistics text time transformers
24+ transformers-compat vector vector-algorithms
25+ ];
26+ executableHaskellDepends = [ base optparse-applicative ];
27+ testHaskellDepends = [
28+ aeson base bytestring deepseq directory HUnit QuickCheck statistics
29+ tasty tasty-hunit tasty-quickcheck vector
30+ ];
31+ homepage = "http://www.serpentine.com/criterion";
32+ description = "Robust, reliable performance measurement and analysis";
33+ license = stdenv.lib.licenses.bsd3;
34+}
test/golden-test-cases/crypt-sha512.cabalnew file+60
@@ -0,0 +1,60 @@
1+name: crypt-sha512
2+version: 0
3+synopsis: Pure Haskell implelementation for GNU SHA512 crypt algorithm
4+description:
5+ crypt() is the password encryption function. It is based on the Data
6+ Encryption Standard algorithm with variations intended (among other things) to
7+ discourage use of hardware implementations of a key search.
8+ .
9+ This package provides a pure Haskell implementation of SHA512 crypt scheme.
10+category: Data
11+license: BSD3
12+license-file: LICENSE
13+author: Oleg Grenrus <oleg.grenrus@iki.fi>
14+maintainer: Oleg Grenrus <oleg.grenrus@iki.fi>
15+copyright: 2017 Oleg Grenrus
16+homepage: https://github.com/phadej/crypt-sha512
17+bug-reports: https://github.com/phadej/crypt-sha512
18+extra-source-files: README.md
19+build-type: Simple
20+cabal-version: >= 1.10
21+tested-with:
22+ GHC==7.6.3,
23+ GHC==7.8.4,
24+ GHC==7.10.3,
25+ GHC==8.0.2,
26+ GHC==8.2.1
27+
28+source-repository head
29+ type: git
30+ location: git://github.com/phadej/crypt-sha512.git
31+
32+library
33+ exposed-modules: System.POSIX.Crypt.SHA512
34+ build-depends: base >=4.5 && <4.11,
35+ bytestring,
36+ attoparsec >=0.13.1.0 && <0.14,
37+ cryptohash-sha512 >=0.11.100.1 && <0.12
38+ default-language: Haskell2010
39+ hs-source-dirs: src
40+ ghc-options: -Wall
41+
42+test-suite example
43+ if !os(linux)
44+ buildable: False
45+
46+ build-depends: base,
47+ crypt-sha512,
48+ bytestring,
49+ tasty,
50+ tasty-hunit,
51+ tasty-quickcheck,
52+ quickcheck-instances
53+ default-language: Haskell2010
54+ main-is: Example.hs
55+ other-modules: System.POSIX.Crypt
56+ type: exitcode-stdio-1.0
57+ hs-source-dirs: test
58+ other-extensions: OverloadedStrings CApiFFI
59+ extra-libraries: crypt
60+ ghc-options: -Wall
test/golden-test-cases/crypt-sha512.nix.goldennew file+22
@@ -0,0 +1,22 @@
1+{ mkDerivation, attoparsec, base, bytestring, cryptohash-sha512
2+, fetchurl, quickcheck-instances, tasty, tasty-hunit
3+, tasty-quickcheck
4+}:
5+mkDerivation {
6+ pname = "crypt-sha512";
7+ version = "0";
8+ src = fetchurl {
9+ url = "http://example.org/";
10+ sha256 = "abc";
11+ };
12+ libraryHaskellDepends = [
13+ attoparsec base bytestring cryptohash-sha512
14+ ];
15+ testHaskellDepends = [
16+ base bytestring quickcheck-instances tasty tasty-hunit
17+ tasty-quickcheck
18+ ];
19+ homepage = "https://github.com/phadej/crypt-sha512";
20+ description = "Pure Haskell implelementation for GNU SHA512 crypt algorithm";
21+ license = stdenv.lib.licenses.bsd3;
22+}
test/golden-test-cases/crypto-random-api.cabalnew file+23
@@ -0,0 +1,23 @@
1+Name: crypto-random-api
2+Version: 0.2.0
3+Description: Simple random generators API for cryptography related code
4+License: BSD3
5+License-file: LICENSE
6+Copyright: Vincent Hanquez <vincent@snarc.org>
7+Author: Vincent Hanquez <vincent@snarc.org>
8+Maintainer: Vincent Hanquez <vincent@snarc.org>
9+Synopsis: Simple random generators API for cryptography related code
10+Category: Cryptography
11+Build-Type: Simple
12+Homepage: http://github.com/vincenthz/hs-crypto-random-api
13+Cabal-Version: >=1.6
14+
15+Library
16+ Exposed-modules: Crypto.Random.API
17+ Build-depends: base >= 4 && < 5
18+ , bytestring
19+ , entropy
20+
21+source-repository head
22+ type: git
23+ location: git://github.com/vincenthz/hs-crypto-random-api
test/golden-test-cases/crypto-random-api.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, bytestring, entropy, fetchurl }:
2+mkDerivation {
3+ pname = "crypto-random-api";
4+ version = "0.2.0";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base bytestring entropy ];
10+ homepage = "http://github.com/vincenthz/hs-crypto-random-api";
11+ description = "Simple random generators API for cryptography related code";
12+ license = stdenv.lib.licenses.bsd3;
13+}
test/golden-test-cases/csv.cabalnew file+23
@@ -0,0 +1,23 @@
1+Name: csv
2+Version: 0.1.2
3+Category: Text
4+Synopsis: CSV loader and dumper
5+cabal-version: >= 1.4
6+build-type: Simple
7+Description: CSV loader and dumper
8+ .
9+ This library parses and dumps documents that are formatted
10+ according to RFC 4180, \"The common Format and MIME Type for
11+ Comma-Separated Values (CSV) Files\". This format is used, among
12+ many other things, as a lingua franca for spreadsheets, and for
13+ certain web services.
14+Copyright: Jaap Weel, 2007
15+License: MIT
16+License-file: COPYING
17+Author: Jaap Weel <weel@ugcs.caltech.edu>
18+Maintainer: Jaap Weel <weel@ugcs.caltech.edu>
19+
20+Library
21+ Build-Depends: base, parsec, filepath
22+ build-depends: base >= 2 && < 5
23+ Exposed-modules: Text.CSV
test/golden-test-cases/csv.nix.goldennew file+12
@@ -0,0 +1,12 @@
1+{ mkDerivation, base, fetchurl, filepath, parsec }:
2+mkDerivation {
3+ pname = "csv";
4+ version = "0.1.2";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base filepath parsec ];
10+ description = "CSV loader and dumper";
11+ license = stdenv.lib.licenses.mit;
12+}
test/golden-test-cases/data-accessor.cabalnew file+128
@@ -0,0 +1,128 @@
1+Name: data-accessor
2+Version: 0.2.2.7
3+License: BSD3
4+License-File: LICENSE
5+Author: Henning Thielemann <haskell@henning-thielemann.de>, Luke Palmer <lrpalmer@gmail.com>
6+Maintainer: Henning Thielemann <haskell@henning-thielemann.de>
7+Homepage: http://www.haskell.org/haskellwiki/Record_access
8+Category: Data
9+-- Default-Language: Haskell98
10+Cabal-Version: >=1.6
11+Build-Type: Simple
12+Tested-With: GHC==6.4.1, GHC==6.8.2, GHC==6.10.4, GHC==6.12.3
13+Tested-With: GHC==7.0.1, GHC==7.2.1, GHC==7.4.1, GHC==7.6.3
14+Tested-With: JHC==0.7.3
15+Synopsis: Utilities for accessing and manipulating fields of records
16+Description:
17+ In Haskell 98 the name of a record field
18+ is automatically also the name of a function which gets the value
19+ of the according field.
20+ E.g. if we have
21+ .
22+ data Pair a b = Pair {first :: a, second :: b}
23+ .
24+ then
25+ .
26+ > first :: Pair a b -> a
27+ > second :: Pair a b -> b
28+ .
29+ However for setting or modifying a field value
30+ we need to use some syntactic sugar, which is often clumsy.
31+ .
32+ modifyFirst :: (a -> a) -> (Pair a b -> Pair a b)
33+ modifyFirst f r\@(Pair {first=a}) = r{first = f a}
34+ .
35+ With this package you can define record field accessors
36+ which allow setting, getting and modifying values easily.
37+ The package clearly demonstrates the power of the functional approach:
38+ You can combine accessors of a record and sub-records,
39+ to make the access look like the fields of the sub-record belong to the main record.
40+ .
41+ Example:
42+ .
43+ > *Data.Accessor.Example> (first^:second^=10) (('b',7),"hallo")
44+ > (('b',10),"hallo")
45+ .
46+ You can easily manipulate record fields in a 'Control.Monad.State.State' monad,
47+ you can easily code 'Show' instances that use the Accessor syntax
48+ and you can parse binary streams into records.
49+ See @Data.Accessor.Example@ for demonstration of all features.
50+ .
51+ It would be great if in revised Haskell versions the names of record fields
52+ are automatically 'Data.Accessor.Accessor's
53+ rather than plain @get@ functions.
54+ For now, the package @data-accessor-template@ provides Template Haskell functions
55+ for automated generation of 'Data.Acesssor.Accessor's.
56+ See also the other @data-accessor@ packages
57+ that provide an Accessor interface to other data types.
58+ The package @enumset@ provides accessors to bit-packed records.
59+ .
60+ For similar packages see @lenses@ and @fclabel@.
61+ A related concept are editors
62+ <http://conal.net/blog/posts/semantic-editor-combinators/>.
63+ Editors only consist of a modify method
64+ (and @modify@ applied to a 'const' function is a @set@ function).
65+ This way, they can modify all function values of a function at once,
66+ whereas an accessor can only change a single function value,
67+ say, it can change @f 0 = 1@ to @f 0 = 2@.
68+ This way, editors can even change the type of a record or a function.
69+ An Arrow instance can be defined for editors,
70+ but for accessors only a Category instance is possible ('(.)' method).
71+ The reason is the @arr@ method of the @Arrow@ class,
72+ that conflicts with the two-way nature (set and get) of accessors.
73+
74+Extra-Source-Files:
75+ RegExp
76+ src-3/Data/Accessor/Private.hs
77+ src-4/Data/Accessor/Private.hs
78+
79+Source-Repository this
80+ Tag: 0.2.2.7
81+ Type: darcs
82+ Location: http://code.haskell.org/data-accessor/core/
83+
84+Source-Repository head
85+ Type: darcs
86+ Location: http://code.haskell.org/data-accessor/core/
87+
88+Flag category
89+ description: Check whether Arrow class is split into Arrow and Category.
90+
91+Flag splitBase
92+ description: Choose the smaller, split-up base package from version 2 on.
93+
94+Library
95+ Build-Depends:
96+ transformers >=0.2 && <0.6
97+ If flag(splitBase)
98+ Build-Depends:
99+ array >=0.1 && <0.6,
100+ containers >=0.1 && <0.6
101+ If flag(category)
102+ Hs-Source-Dirs: src-4
103+ Build-Depends: base >= 4 && <5
104+ Else
105+ Hs-Source-Dirs: src-3
106+ Build-Depends: base >= 2 && <4
107+ Else
108+ Hs-Source-Dirs: src-3
109+ Build-Depends:
110+ base >= 1 && <2
111+ If impl(jhc)
112+ Build-Depends:
113+ containers >=0.1 && <0.6
114+
115+ GHC-Options: -Wall
116+ Hs-Source-Dirs: src
117+ Exposed-Modules:
118+ Data.Accessor
119+ Data.Accessor.Basic
120+ Data.Accessor.Container
121+ Data.Accessor.Show
122+ Data.Accessor.Tuple
123+ Data.Accessor.BinaryRead
124+ Data.Accessor.MonadState
125+ Other-Modules:
126+ Data.Accessor.Example
127+ Data.Accessor.Private
128+ Data.Accessor.MonadStatePrivate
test/golden-test-cases/data-accessor.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, array, base, containers, fetchurl, transformers }:
2+mkDerivation {
3+ pname = "data-accessor";
4+ version = "0.2.2.7";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ array base containers transformers ];
10+ homepage = "http://www.haskell.org/haskellwiki/Record_access";
11+ description = "Utilities for accessing and manipulating fields of records";
12+ license = stdenv.lib.licenses.bsd3;
13+}
test/golden-test-cases/data-default-instances-containers.cabalnew file+18
@@ -0,0 +1,18 @@
1+Name: data-default-instances-containers
2+Version: 0.0.1
3+Cabal-Version: >= 1.6
4+Category: Data
5+Synopsis: Default instances for types in containers
6+Build-Type: Simple
7+License: BSD3
8+License-File: LICENSE
9+Author: Lukas Mai
10+Maintainer: <l.mai@web.de>
11+
12+source-repository head
13+ type: git
14+ location: https://github.com/mauke/data-default
15+
16+Library
17+ Build-Depends: base >=2 && <5, data-default-class, containers
18+ Exposed-Modules: Data.Default.Instances.Containers
test/golden-test-cases/data-default-instances-containers.nix.goldennew file+12
@@ -0,0 +1,12 @@
1+{ mkDerivation, base, containers, data-default-class, fetchurl }:
2+mkDerivation {
3+ pname = "data-default-instances-containers";
4+ version = "0.0.1";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base containers data-default-class ];
10+ description = "Default instances for types in containers";
11+ license = stdenv.lib.licenses.bsd3;
12+}
test/golden-test-cases/data-endian.cabalnew file+30
@@ -0,0 +1,30 @@
1+Name: data-endian
2+Version: 0.1.1
3+Category: Data
4+Stability: experimental
5+Synopsis: Endian-sensitive data
6+Description:
7+ This package provides helpers for converting endian-sensitive data.
8+
9+Homepage: https://github.com/mvv/data-endian
10+Bug-Reports: https://github.com/mvv/data-endian/issues
11+
12+Author: Mikhail Vorozhtsov <mikhail.vorozhtsov@gmail.com>
13+Maintainer: Mikhail Vorozhtsov <mikhail.vorozhtsov@gmail.com>
14+Copyright: 2011-2016 Mikhail Vorozhtsov <mikhail.vorozhtsov@gmail.com>
15+License: BSD3
16+License-File: LICENSE
17+
18+Cabal-Version: >= 1.6.0
19+Build-Type: Simple
20+
21+Source-Repository head
22+ Type: git
23+ Location: https://github.com/mvv/data-endian.git
24+
25+Library
26+ Build-Depends: base >= 4 && < 5
27+ Hs-Source-Dirs: src
28+ GHC-Options: -Wall
29+ Exposed-Modules:
30+ Data.Endian
test/golden-test-cases/data-endian.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, fetchurl }:
2+mkDerivation {
3+ pname = "data-endian";
4+ version = "0.1.1";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base ];
10+ homepage = "https://github.com/mvv/data-endian";
11+ description = "Endian-sensitive data";
12+ license = stdenv.lib.licenses.bsd3;
13+}
test/golden-test-cases/data-msgpack.cabalnew file+114
@@ -0,0 +1,114 @@
1+name: data-msgpack
2+version: 0.0.10
3+synopsis: A Haskell implementation of MessagePack
4+homepage: http://msgpack.org/
5+license: BSD3
6+license-file: LICENSE
7+author: Hideyuki Tanaka
8+maintainer: Iphigenia Df <iphydf@gmail.com>
9+copyright: Copyright (c) 2009-2016, Hideyuki Tanaka
10+category: Data
11+stability: Experimental
12+cabal-version: >= 1.10
13+build-type: Simple
14+description:
15+ A Haskell implementation of MessagePack <http://msgpack.org/>
16+ .
17+ This is a fork of msgpack-haskell <https://github.com/msgpack/msgpack-haskell>,
18+ since the original author is unreachable. This fork incorporates a number of
19+ bugfixes and is actively being developed.
20+
21+source-repository head
22+ type: git
23+ location: https://github.com/TokTok/hs-msgpack.git
24+
25+library
26+ default-language: Haskell2010
27+ hs-source-dirs:
28+ src
29+ ghc-options:
30+ -Wall
31+ -fno-warn-unused-imports
32+ exposed-modules:
33+ Data.MessagePack
34+ Data.MessagePack.Option
35+ Data.MessagePack.Result
36+ other-modules:
37+ Data.MessagePack.Assoc
38+ Data.MessagePack.Class
39+ Data.MessagePack.Generic
40+ Data.MessagePack.Get
41+ Data.MessagePack.Instances
42+ Data.MessagePack.Object
43+ Data.MessagePack.Put
44+ build-depends:
45+ base < 5
46+ , QuickCheck
47+ , binary >= 0.7.0.0
48+ , bytestring
49+ , containers
50+ , data-binary-ieee754
51+ , deepseq
52+ , hashable
53+ , text
54+ , unordered-containers
55+ , vector
56+ , void
57+
58+executable msgpack-parser
59+ default-language: Haskell2010
60+ hs-source-dirs:
61+ tools
62+ ghc-options:
63+ -Wall
64+ -fno-warn-unused-imports
65+ build-depends:
66+ base < 5
67+ , bytestring
68+ , groom
69+ , data-msgpack
70+ main-is: msgpack-parser.hs
71+
72+test-suite testsuite
73+ type: exitcode-stdio-1.0
74+ default-language: Haskell2010
75+ hs-source-dirs: test
76+ main-is: testsuite.hs
77+ other-modules:
78+ Data.MessagePack.OptionSpec
79+ Data.MessagePack.ResultSpec
80+ Data.MessagePackSpec
81+ ghc-options:
82+ -Wall
83+ -fno-warn-unused-imports
84+ build-depends:
85+ base < 5
86+ , QuickCheck
87+ , bytestring
88+ , containers
89+ , data-msgpack
90+ , hashable
91+ , hspec
92+ , text
93+ , unordered-containers
94+ , vector
95+ , void
96+
97+benchmark benchmark
98+ type: exitcode-stdio-1.0
99+ default-language: Haskell2010
100+ hs-source-dirs: bench
101+ main-is: benchmark.hs
102+ other-modules:
103+ Data.MessagePack.IntBench
104+ Data.MessagePackBench
105+ ghc-options:
106+ -Wall
107+ -fno-warn-unused-imports
108+ build-depends:
109+ base < 5
110+ , QuickCheck
111+ , bytestring
112+ , criterion
113+ , data-msgpack
114+ , deepseq
test/golden-test-cases/data-msgpack.nix.goldennew file+29
@@ -0,0 +1,29 @@
1+{ mkDerivation, base, binary, bytestring, containers, criterion
2+, data-binary-ieee754, deepseq, fetchurl, groom, hashable, hspec
3+, QuickCheck, text, unordered-containers, vector, void
4+}:
5+mkDerivation {
6+ pname = "data-msgpack";
7+ version = "0.0.10";
8+ src = fetchurl {
9+ url = "http://example.org/";
10+ sha256 = "abc";
11+ };
12+ isLibrary = true;
13+ isExecutable = true;
14+ libraryHaskellDepends = [
15+ base binary bytestring containers data-binary-ieee754 deepseq
16+ hashable QuickCheck text unordered-containers vector void
17+ ];
18+ executableHaskellDepends = [ base bytestring groom ];
19+ testHaskellDepends = [
20+ base bytestring containers hashable hspec QuickCheck text
21+ unordered-containers vector void
22+ ];
23+ benchmarkHaskellDepends = [
24+ base bytestring criterion deepseq QuickCheck
25+ ];
26+ homepage = "http://msgpack.org/";
27+ description = "A Haskell implementation of MessagePack";
28+ license = stdenv.lib.licenses.bsd3;
29+}
test/golden-test-cases/data-serializer.cabalnew file+60
@@ -0,0 +1,60 @@
1+Name: data-serializer
2+Version: 0.3.2
3+Category: Data
4+Stability: experimental
5+Synopsis: Common API for serialization libraries
6+Description:
7+ This package provides a common API for serialization libraries like
8+ <http://hackage.haskell.org/package/binary binary> and
9+ <http://hackage.haskell.org/package/cereal cereal>.
10+
11+Homepage: https://github.com/mvv/data-serializer
12+Bug-Reports: https://github.com/mvv/data-serializer/issues
13+
14+Author: Mikhail Vorozhtsov <mikhail.vorozhtsov@gmail.com>
15+Maintainer: Mikhail Vorozhtsov <mikhail.vorozhtsov@gmail.com>
16+Copyright: 2016 Mikhail Vorozhtsov <mikhail.vorozhtsov@gmail.com>
17+License: BSD3
18+License-File: LICENSE
19+
20+Extra-Source-Files:
21+ README.md
22+
23+Tested-With: GHC==7.10.3, GHC==8.0.2, GHC==8.2.2
24+
25+Cabal-Version: >= 1.10.0
26+Build-Type: Simple
27+
28+Source-Repository head
29+ Type: git
30+ Location: https://github.com/mvv/data-serializer.git
31+
32+Library
33+ Default-Language: Haskell2010
34+ Build-Depends: base >= 4.8 && < 5
35+ , semigroups >= 0.18.2
36+ , bytestring >= 0.10.4
37+ , binary >= 0.7.2
38+ , cereal >= 0.4.1
39+ , data-endian >= 0.1.1
40+ , parsers >= 0.12.3
41+ , split >= 0.2
42+ Hs-Source-Dirs: src
43+ GHC-Options: -Wall
44+ Exposed-Modules:
45+ Data.Serializer
46+ Data.Deserializer
47+
48+Test-Suite tests
49+ Default-Language: Haskell2010
50+ Type: exitcode-stdio-1.0
51+ Build-Depends: base
52+ , bytestring
53+ , binary
54+ , cereal
55+ , tasty >= 0.8
56+ , tasty-quickcheck >= 0.8
57+ , data-serializer
58+ Hs-Source-Dirs: tests
59+ GHC-Options: -Wall
60+ Main-Is: Tests.hs
test/golden-test-cases/data-serializer.nix.goldennew file+20
@@ -0,0 +1,20 @@
1+{ mkDerivation, base, binary, bytestring, cereal, data-endian
2+, fetchurl, parsers, semigroups, split, tasty, tasty-quickcheck
3+}:
4+mkDerivation {
5+ pname = "data-serializer";
6+ version = "0.3.2";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [
12+ base binary bytestring cereal data-endian parsers semigroups split
13+ ];
14+ testHaskellDepends = [
15+ base binary bytestring cereal tasty tasty-quickcheck
16+ ];
17+ homepage = "https://github.com/mvv/data-serializer";
18+ description = "Common API for serialization libraries";
19+ license = stdenv.lib.licenses.bsd3;
20+}
test/golden-test-cases/deque.cabalnew file+45
@@ -0,0 +1,45 @@
1+name:
2+ deque
3+version:
4+ 0.2
5+synopsis:
6+ Double-ended queue
7+description:
8+ An implementation of Double-Ended Queue (aka Dequeue or Deque)
9+ based on the head-tail linked list.
10+homepage:
11+ https://github.com/nikita-volkov/deque
12+bug-reports:
13+ https://github.com/nikita-volkov/deque/issues
14+author:
15+ Nikita Volkov <nikita.y.volkov@mail.ru>
16+maintainer:
17+ Nikita Volkov <nikita.y.volkov@mail.ru>
18+copyright:
19+ (c) 2016, Nikita Volkov
20+license:
21+ MIT
22+license-file:
23+ LICENSE
24+build-type:
25+ Simple
26+cabal-version:
27+ >=1.10
28+
29+source-repository head
30+ type:
31+ git
32+ location:
33+ git://github.com/nikita-volkov/deque.git
34+
35+library
36+ hs-source-dirs:
37+ library
38+ default-extensions:
39+ DeriveFunctor, StandaloneDeriving
40+ default-language:
41+ Haskell2010
42+ exposed-modules:
43+ Deque
44+ build-depends:
45+ base >= 4.6 && < 5
test/golden-test-cases/deque.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, fetchurl }:
2+mkDerivation {
3+ pname = "deque";
4+ version = "0.2";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base ];
10+ homepage = "https://github.com/nikita-volkov/deque";
11+ description = "Double-ended queue";
12+ license = stdenv.lib.licenses.mit;
13+}
test/golden-test-cases/dhall-bash.cabalnew file+54
@@ -0,0 +1,54 @@
1+Name: dhall-bash
2+Version: 1.0.6
3+Cabal-Version: >=1.8.0.2
4+Build-Type: Simple
5+Tested-With: GHC == 7.10.2, GHC == 8.0.1
6+License: BSD3
7+License-File: LICENSE
8+Copyright: 2017 Gabriel Gonzalez
9+Author: Gabriel Gonzalez
10+Maintainer: Gabriel439@gmail.com
11+Bug-Reports: https://github.com/Gabriel439/Haskell-Dhall-Bash-Library/issues
12+Synopsis: Compile Dhall to Bash
13+Description:
14+ Use this package if you want to compile Dhall expressions to Bash.
15+ You can use this package as a library or an executable:
16+ .
17+ * See the "Dhall.Bash" module if you want to use this package as a library
18+ .
19+ * Use the @dhall-to-bash@ if you want an executable
20+ .
21+ The "Dhall.Bash" module also contains instructions for how to use this
22+ package
23+Category: Compiler
24+Source-Repository head
25+ Type: git
26+ Location: https://github.com/Gabriel439/Haskell-Dhall-Bash-Library
27+
28+Library
29+ Hs-Source-Dirs: src
30+ Build-Depends:
31+ base >= 4.8.0.0 && < 5 ,
32+ bytestring < 0.11,
33+ containers < 0.6 ,
34+ dhall >= 1.0.1 && < 1.9 ,
35+ neat-interpolation < 0.4 ,
36+ shell-escape < 0.3 ,
37+ text-format < 0.4 ,
38+ text >= 0.2 && < 1.3 ,
39+ vector >= 0.3 && < 0.13
40+ Exposed-Modules: Dhall.Bash
41+ GHC-Options: -Wall
42+
43+Executable dhall-to-bash
44+ Hs-Source-Dirs: exec
45+ Main-Is: Main.hs
46+ Build-Depends:
47+ base ,
48+ bytestring ,
49+ dhall ,
50+ dhall-bash ,
51+ optparse-generic >= 1.1.1 && < 1.3 ,
52+ trifecta >= 1.6 && < 1.8 ,
53+ text
54+ GHC-Options: -Wall
test/golden-test-cases/dhall-bash.nix.goldennew file+23
@@ -0,0 +1,23 @@
1+{ mkDerivation, base, bytestring, containers, dhall, fetchurl
2+, neat-interpolation, optparse-generic, shell-escape, text
3+, text-format, trifecta, vector
4+}:
5+mkDerivation {
6+ pname = "dhall-bash";
7+ version = "1.0.6";
8+ src = fetchurl {
9+ url = "http://example.org/";
10+ sha256 = "abc";
11+ };
12+ isLibrary = true;
13+ isExecutable = true;
14+ libraryHaskellDepends = [
15+ base bytestring containers dhall neat-interpolation shell-escape
16+ text text-format vector
17+ ];
18+ executableHaskellDepends = [
19+ base bytestring dhall optparse-generic text trifecta
20+ ];
21+ description = "Compile Dhall to Bash";
22+ license = stdenv.lib.licenses.bsd3;
23+}
test/golden-test-cases/diagrams-solve.cabalnew file+42
@@ -0,0 +1,42 @@
1+name: diagrams-solve
2+version: 0.1.1
3+synopsis: Pure Haskell solver routines used by diagrams
4+description: Pure Haskell solver routines used by the diagrams
5+ project. Currently includes finding real roots
6+ of low-degree (n < 5) polynomials, and solving
7+ tridiagonal and cyclic tridiagonal linear
8+ systems.
9+homepage: http://projects.haskell.org/diagrams
10+license: BSD3
11+license-file: LICENSE
12+author: various
13+maintainer: diagrams-discuss@googlegroups.com
14+category: Math
15+build-type: Simple
16+extra-source-files: README.markdown, CHANGES.markdown
17+cabal-version: >=1.10
18+Tested-with: GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.1, GHC == 8.2.1
19+Source-repository head
20+ type: git
21+ location: http://github.com/diagrams/diagrams-solve.git
22+
23+library
24+ exposed-modules: Diagrams.Solve.Polynomial,
25+ Diagrams.Solve.Tridiagonal
26+ build-depends: base >=4.5 && < 4.11
27+ hs-source-dirs: src
28+ default-language: Haskell2010
29+
30+test-suite tests
31+ type: exitcode-stdio-1.0
32+ main-is: Test.hs
33+ -- other-modules: Instances
34+ hs-source-dirs: tests
35+ default-language: Haskell2010
36+ build-depends: base >= 4.2 && < 4.11,
37+ tasty >= 0.10 && < 0.12,
38+ tasty-hunit >= 0.9.2 && < 0.10,
39+ tasty-quickcheck >= 0.8 && < 0.9,
40+ deepseq >= 1.3 && < 1.5,
41+ diagrams-solve
42+
test/golden-test-cases/diagrams-solve.nix.goldennew file+18
@@ -0,0 +1,18 @@
1+{ mkDerivation, base, deepseq, fetchurl, tasty, tasty-hunit
2+, tasty-quickcheck
3+}:
4+mkDerivation {
5+ pname = "diagrams-solve";
6+ version = "0.1.1";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [ base ];
12+ testHaskellDepends = [
13+ base deepseq tasty tasty-hunit tasty-quickcheck
14+ ];
15+ homepage = "http://projects.haskell.org/diagrams";
16+ description = "Pure Haskell solver routines used by diagrams";
17+ license = stdenv.lib.licenses.bsd3;
18+}
test/golden-test-cases/discrimination.cabalnew file+76
@@ -0,0 +1,76 @@
1+name: discrimination
2+category: Data, Sorting
3+version: 0.3
4+license: BSD3
5+cabal-version: >= 1.10
6+license-file: LICENSE
7+author: Edward A. Kmett
8+maintainer: Edward A. Kmett <ekmett@gmail.com>
9+stability: experimental
10+homepage: http://github.com/ekmett/discrimination/
11+bug-reports: http://github.com/ekmett/discrimination/issues
12+copyright: Copyright (C) 2014-2015 Edward A. Kmett
13+build-type: Simple
14+tested-with: GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.1
15+synopsis: Fast generic linear-time sorting, joins and container construction.
16+description:
17+ This package provides fast, generic, linear-time discrimination and sorting.
18+ .
19+ The techniques applied are based on <http://www.diku.dk/hjemmesider/ansatte/henglein/papers/henglein2011a.pdf multiple> <http://www.diku.dk/hjemmesider/ansatte/henglein/papers/henglein2011c.pdf papers> and <https://www.youtube.com/watch?v=sz9ZlZIRDAg talks> by <http://www.diku.dk/hjemmesider/ansatte/henglein/ Fritz Henglein>.
20+
21+extra-source-files:
22+ .gitignore
23+ README.markdown
24+ CHANGELOG.markdown
25+ HLint.hs
26+
27+source-repository head
28+ type: git
29+ location: git://github.com/ekmett/discrimination.git
30+
31+library
32+ default-language: Haskell2010
33+ ghc-options: -Wall -O2
34+ hs-source-dirs: src
35+
36+ exposed-modules:
37+ Data.Discrimination
38+ Data.Discrimination.Class
39+ Data.Discrimination.Grouping
40+ Data.Discrimination.Internal
41+ Data.Discrimination.Internal.SmallArray
42+ Data.Discrimination.Internal.WordMap
43+ Data.Discrimination.Sorting
44+
45+ build-depends:
46+ array >= 0.5 && < 0.6,
47+ base >= 4.8 && < 5,
48+ containers >= 0.4 && < 0.6,
49+ contravariant >= 1.3.1 && < 2,
50+ deepseq >= 1.3 && < 1.5,
51+ ghc-prim,
52+ hashable >= 1.2 && < 1.3,
53+ primitive >= 0.6 && < 0.7,
54+ profunctors >= 5 && < 6,
55+ promises >= 0.2 && < 0.4,
56+ semigroups >= 0.16.2 && < 1,
57+ transformers >= 0.2 && < 0.6,
58+ transformers-compat >= 0.3 && < 1,
59+ vector >= 0.10 && < 0.13,
60+ void >= 0.5 && < 1
61+
62+benchmark wordmap
63+ type: exitcode-stdio-1.0
64+ main-is: wordmap.hs
65+ ghc-options: -Wall -O2 -threaded
66+ hs-source-dirs: benchmarks
67+ default-language: Haskell2010
68+ build-depends:
69+ base >= 4.9,
70+ containers,
71+ criterion,
72+ deepseq,
73+ discrimination,
74+ ghc-prim,
75+ unordered-containers,
76+ primitive
test/golden-test-cases/discrimination.nix.goldennew file+25
@@ -0,0 +1,25 @@
1+{ mkDerivation, array, base, containers, contravariant, criterion
2+, deepseq, fetchurl, ghc-prim, hashable, primitive, profunctors
3+, promises, semigroups, transformers, transformers-compat
4+, unordered-containers, vector, void
5+}:
6+mkDerivation {
7+ pname = "discrimination";
8+ version = "0.3";
9+ src = fetchurl {
10+ url = "http://example.org/";
11+ sha256 = "abc";
12+ };
13+ libraryHaskellDepends = [
14+ array base containers contravariant deepseq ghc-prim hashable
15+ primitive profunctors promises semigroups transformers
16+ transformers-compat vector void
17+ ];
18+ benchmarkHaskellDepends = [
19+ base containers criterion deepseq ghc-prim primitive
20+ unordered-containers
21+ ];
22+ homepage = "http://github.com/ekmett/discrimination/";
23+ description = "Fast generic linear-time sorting, joins and container construction";
24+ license = stdenv.lib.licenses.bsd3;
25+}
test/golden-test-cases/dotenv.cabalnew file+153
@@ -0,0 +1,153 @@
1+name: dotenv
2+version: 0.5.2.1
3+synopsis: Loads environment variables from dotenv files
4+homepage: https://github.com/stackbuilders/dotenv-hs
5+description:
6+ .
7+ In most applications,
8+ <http://12factor.net/config configuration should be separated from code>.
9+ While it usually works well to keep configuration in the
10+ environment, there are cases where you may want to store
11+ configuration in a file outside of version control.
12+ .
13+ "Dotenv" files have become popular for storing configuration,
14+ especially in development and test environments. In
15+ <https://github.com/bkeepers/dotenv Ruby>,
16+ <https://github.com/theskumar/python-dotenv Python> and
17+ <https://www.npmjs.com/package/dotenv Javascript> there are libraries
18+ to facilitate loading of configuration options from configuration
19+ files. This library loads configuration to environment variables for
20+ programs written in Haskell.
21+ .
22+ To use, call `loadFile` from your application:
23+ .
24+ > import Configuration.Dotenv
25+ > loadFile False "/my/dotenvfile"
26+ .
27+ This package also includes an executable that can be used
28+ to inspect the results of applying one or more Dotenv files
29+ to the environment, or for invoking your executables with
30+ an environment after one or more Dotenv files is applied.
31+ .
32+ See the <https://github.com/stackbuilders/dotenv-hs Github>
33+ page for more information on this package.
34+license: MIT
35+license-file: LICENSE
36+author: Justin Leitgeb
37+maintainer: hackage@stackbuilders.com
38+copyright: 2015-2017 Stack Builders Inc.
39+category: Configuration
40+build-type: Simple
41+extra-source-files: spec/fixtures/.dotenv
42+ , CHANGELOG.md
43+ , README.md
44+cabal-version: >=1.10
45+bug-reports: https://github.com/stackbuilders/dotenv-hs/issues
46+
47+data-dir: spec/fixtures/
48+data-files:
49+ .dotenv
50+ .dotenv.example
51+ .scheme.yml
52+
53+flag dev
54+ description: Turn on development settings.
55+ manual: True
56+ default: False
57+
58+executable dotenv
59+ main-is: Main.hs
60+ build-depends: base >=4.7 && <5.0
61+ , base-compat >= 0.4
62+ , dotenv
63+ , optparse-applicative >=0.11 && < 0.15
64+ , megaparsec >= 6.0 && < 7.0
65+ , process >= 1.4.3.0
66+ , text
67+ , transformers >=0.4 && < 0.6
68+ , yaml
69+ other-modules: Paths_dotenv
70+
71+ hs-source-dirs: app
72+ if flag(dev)
73+ ghc-options: -Wall -Werror
74+ else
75+ ghc-options: -O2 -Wall
76+ default-language: Haskell2010
77+
78+library
79+ exposed-modules: Configuration.Dotenv
80+ , Configuration.Dotenv.Parse
81+ , Configuration.Dotenv.ParsedVariable
82+ , Configuration.Dotenv.Text
83+ , Configuration.Dotenv.Types
84+ , Configuration.Dotenv.Scheme
85+ , Configuration.Dotenv.Scheme.Helpers
86+ , Configuration.Dotenv.Scheme.Parser
87+ , Configuration.Dotenv.Scheme.Types
88+
89+ build-depends: base >=4.7 && <5.0
90+ , base-compat >= 0.4
91+ , directory
92+ , megaparsec >= 6.0 && < 7.0
93+ , process >= 1.4.3.0
94+ , text
95+ , transformers >=0.4 && < 0.6
96+ , exceptions >= 0.8 && < 0.9
97+ , yaml
98+
99+ if !impl(ghc >= 7.10)
100+ build-depends: void == 0.7.*
101+
102+ hs-source-dirs: src
103+ ghc-options: -Wall
104+ if flag(dev)
105+ ghc-options: -Wall -Werror
106+ else
107+ ghc-options: -O2 -Wall
108+ default-language: Haskell2010
109+
110+test-suite dotenv-test
111+ type: exitcode-stdio-1.0
112+ hs-source-dirs: spec, src
113+ main-is: Spec.hs
114+ other-modules: Configuration.DotenvSpec
115+ , Configuration.Dotenv.TextSpec
116+ , Configuration.Dotenv.ParseSpec
117+ , Configuration.Dotenv
118+ , Configuration.Dotenv.Text
119+ , Configuration.Dotenv.Types
120+ , Configuration.Dotenv.Parse
121+ , Configuration.Dotenv.ParsedVariable
122+ , Configuration.Dotenv.SchemeSpec
123+ , Configuration.Dotenv.Scheme.ParseSpec
124+ , Configuration.Dotenv.Scheme
125+ , Configuration.Dotenv.Scheme.Helpers
126+ , Configuration.Dotenv.Scheme.Parser
127+ , Configuration.Dotenv.Scheme.Types
128+
129+ build-depends: base >=4.7 && <5.0
130+ , base-compat >= 0.4
131+ , dotenv
132+ , directory
133+ , megaparsec >= 6.0 && < 7.0
134+ , hspec
135+ , process >= 1.4.3.0
136+ , text
137+ , transformers >=0.4 && < 0.6
138+ , exceptions >= 0.8 && < 0.9
139+ , hspec-megaparsec >= 1.0 && < 2.0
140+ , yaml
141+
142+ if !impl(ghc >= 7.10)
143+ build-depends: void == 0.7.*
144+
145+ if flag(dev)
146+ ghc-options: -Wall -Werror
147+ else
148+ ghc-options: -O2 -Wall
149+ default-language: Haskell2010
150+
151+source-repository head
152+ type: git
153+ location: git@github.com:stackbuilders/dotenv-hs.git
test/golden-test-cases/dotenv.nix.goldennew file+30
@@ -0,0 +1,30 @@
1+{ mkDerivation, base, base-compat, directory, exceptions, fetchurl
2+, hspec, hspec-megaparsec, megaparsec, optparse-applicative
3+, process, text, transformers, yaml
4+}:
5+mkDerivation {
6+ pname = "dotenv";
7+ version = "0.5.2.1";
8+ src = fetchurl {
9+ url = "http://example.org/";
10+ sha256 = "abc";
11+ };
12+ isLibrary = true;
13+ isExecutable = true;
14+ enableSeparateDataOutput = true;
15+ libraryHaskellDepends = [
16+ base base-compat directory exceptions megaparsec process text
17+ transformers yaml
18+ ];
19+ executableHaskellDepends = [
20+ base base-compat megaparsec optparse-applicative process text
21+ transformers yaml
22+ ];
23+ testHaskellDepends = [
24+ base base-compat directory exceptions hspec hspec-megaparsec
25+ megaparsec process text transformers yaml
26+ ];
27+ homepage = "https://github.com/stackbuilders/dotenv-hs";
28+ description = "Loads environment variables from dotenv files";
29+ license = stdenv.lib.licenses.mit;
30+}
test/golden-test-cases/dotnet-timespan.cabalnew file+79
@@ -0,0 +1,79 @@
1+-- Initial eventstore.cabal generated by cabal init. For further
2+-- documentation, see http://haskell.org/cabal/users-guide/
3+
4+-- The name of the package.
5+name: dotnet-timespan
6+
7+-- The package version. See the Haskell package versioning policy (PVP)
8+-- for standards guiding when and how versions should be incremented.
9+-- http://www.haskell.org/haskellwiki/Package_versioning_policy
10+-- PVP summary: +-+------- breaking API changes
11+-- | | +----- non-breaking API additions
12+-- | | | +--- code changes with no API change
13+version: 0.0.1.0
14+
15+tested-with: GHC >= 7.8.3 && < 7.11
16+
17+-- A short (one-line) description of the package.
18+synopsis: .NET TimeSpan
19+
20+-- A longer description of the package.
21+description: .NET TimeSpan
22+
23+-- The license under which the package is released.
24+license: BSD3
25+
26+-- The file containing the license text.
27+license-file: LICENSE
28+
29+-- The package author(s).
30+author: Yorick Laupa
31+
32+-- An email address to which users can send suggestions, bug reports, and
33+-- patches.
34+maintainer: yo.eight@gmail.com
35+
36+-- A copyright notice.
37+-- copyright:
38+
39+homepage: http://github.com/YoEight/dotnet-timespan
40+bug-reports: http://github.com/YoEight/dotnet-timespan/issues
41+category: Data
42+
43+build-type: Simple
44+
45+-- Extra files to be distributed with the package, such as examples or a
46+-- README.
47+extra-source-files: README.md
48+ CHANGELOG.markdown
49+ .gitignore
50+ .travis.yml
51+
52+-- Constraint on the version of Cabal needed to build this package.
53+cabal-version: >=1.10
54+
55+source-repository head
56+ type: git
57+ location: git://github.com/YoEight/dotnet-timespan.git
58+
59+library
60+ -- Modules exported by the library.
61+ exposed-modules: Data.DotNet.TimeSpan
62+ Data.DotNet.TimeSpan.Internal
63+ -- Modules included in this library but not exported.
64+ -- other-modules:
65+
66+ -- LANGUAGE extensions used by modules in this package.
67+ -- other-extensions:
68+
69+ -- Other library packages from which modules are imported.
70+ build-depends: base >=4.7 && <5
71+
72+
73+ -- Directories containing source files.
74+ -- hs-source-dirs:
75+
76+ -- Base language which the package is written in.
77+ ghc-options: -Wall
78+
79+ default-language: Haskell2010
test/golden-test-cases/dotnet-timespan.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, fetchurl }:
2+mkDerivation {
3+ pname = "dotnet-timespan";
4+ version = "0.0.1.0";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base ];
10+ homepage = "http://github.com/YoEight/dotnet-timespan";
11+ description = ".NET TimeSpan";
12+ license = stdenv.lib.licenses.bsd3;
13+}
test/golden-test-cases/dpor.cabalnew file+74
@@ -0,0 +1,74 @@
1+-- Initial dpor.cabal generated by cabal init. For further documentation,
2+-- see http://haskell.org/cabal/users-guide/
3+
4+name: dpor
5+version: 0.2.0.0
6+synopsis: A generic implementation of dynamic partial-order reduction (DPOR) for testing arbitrary models of concurrency.
7+
8+description:
9+ We can characterise the state of a concurrent computation by
10+ considering the ordering of dependent events. This is a partial
11+ order: independent events can be performed in any order without
12+ affecting the result. DPOR is a technique for computing these
13+ partial orders at run-time, and only testing one total order for
14+ each partial order. This cuts down the amount of work to be done
15+ significantly. In particular, this package implemented bounded
16+ partial-order reduction, which is a further optimisation. Only
17+ schedules within some *bound* are considered.
18+ .
19+ * DPOR with no schedule bounding is __complete__, it /will/ find all
20+ distinct executions!
21+ .
22+ * DPOR with schedule bounding is __incomplete__, it will only find
23+ all distinct executions /within the bound/!
24+ .
25+ __Caution:__ The fundamental assumption behind DPOR is that the
26+ *only* source of nondeterminism in your program is the
27+ scheduler. Or, to put it another way, if you execute the same
28+ program with the same schedule twice, you get the same result. If
29+ you are using this library in combination with something which
30+ performs I/O, be *very* certain that this is the case!
31+ .
32+ See the <https://github.com/barrucadu/dejafu README> for more
33+ details.
34+ .
35+ For details on the algorithm, albeit presented in a very imperative
36+ way, see /Bounded partial-order reduction/, K. Coons, M. Musuvathi,
37+ and K. McKinley (2013), available at
38+ <http://research.microsoft.com/pubs/202164/bpor-oopsla-2013.pdf>
39+
40+homepage: https://github.com/barrucadu/dejafu
41+license: MIT
42+license-file: LICENSE
43+author: Michael Walker
44+maintainer: mike@barrucadu.co.uk
45+-- copyright:
46+category: Testing
47+build-type: Simple
48+-- extra-source-files:
49+cabal-version: >=1.10
50+
51+source-repository head
52+ type: git
53+ location: https://github.com/barrucadu/dejafu.git
54+
55+source-repository this
56+ type: git
57+ location: https://github.com/barrucadu/dejafu.git
58+ tag: dpor-0.2.0.0
59+
60+library
61+ exposed-modules: Test.DPOR
62+ , Test.DPOR.Internal
63+ , Test.DPOR.Random
64+ , Test.DPOR.Schedule
65+ -- other-modules:
66+ -- other-extensions:
67+ build-depends: base >=4.8 && <5
68+ , containers >=0.5 && <0.6
69+ , deepseq >=1.3 && <1.5
70+ , random >=1.0 && <1.2
71+ , semigroups >=0.16 && <0.19
72+ -- hs-source-dirs:
73+ default-language: Haskell2010
74+ ghc-options: -Wall
test/golden-test-cases/dpor.nix.goldennew file+17
@@ -0,0 +1,17 @@
1+{ mkDerivation, base, containers, deepseq, fetchurl, random
2+, semigroups
3+}:
4+mkDerivation {
5+ pname = "dpor";
6+ version = "0.2.0.0";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [
12+ base containers deepseq random semigroups
13+ ];
14+ homepage = "https://github.com/barrucadu/dejafu";
15+ description = "A generic implementation of dynamic partial-order reduction (DPOR) for testing arbitrary models of concurrency";
16+ license = stdenv.lib.licenses.mit;
17+}
test/golden-test-cases/drawille.cabalnew file+102
@@ -0,0 +1,102 @@
1+-- This file has been generated from package.yaml by hpack version 0.14.0.
2+--
3+-- see: https://github.com/sol/hpack
4+
5+name: drawille
6+version: 0.1.2.0
7+synopsis: A port of asciimoo's drawille to haskell
8+description: A tiny library for drawing with braille.
9+category: System
10+homepage: https://github.com/yamadapc/haskell-drawille#readme
11+bug-reports: https://github.com/yamadapc/haskell-drawille/issues
12+author: Pedro Yamada <tacla.yamada@gmail.com>
13+maintainer: Pedro Yamada <tacla.yamada@gmail.com>
14+copyright: (c) Pedro Yamada
15+license: GPL-3
16+license-file: LICENSE
17+build-type: Simple
18+cabal-version: >= 1.10
19+
20+source-repository head
21+ type: git
22+ location: https://github.com/yamadapc/haskell-drawille
23+
24+flag examples
25+ description: Build examples
26+ manual: False
27+ default: False
28+
29+flag no-tests
30+ description: Don't build test suites
31+ manual: False
32+ default: False
33+
34+library
35+ hs-source-dirs:
36+ src
37+ build-depends:
38+ base >=4 && <5
39+ , containers >=0.5 && <0.6
40+ exposed-modules:
41+ System.Drawille
42+ other-modules:
43+ Paths_drawille
44+ default-language: Haskell2010
45+
46+executable image2term
47+ main-is: Image2Term.hs
48+ hs-source-dirs:
49+ examples
50+ , src
51+ ghc-options: -Wall -threaded -O3
52+ if flag(examples)
53+ build-depends:
54+ base >=4 && <5
55+ , containers >=0.5
56+ , friday >=0.1 && <0.2
57+ , terminal-size >=0.2
58+ , vector
59+ else
60+ buildable: False
61+ other-modules:
62+ Senoid
63+ System.Drawille
64+ default-language: Haskell2010
65+
66+executable senoid
67+ main-is: Senoid.hs
68+ hs-source-dirs:
69+ examples
70+ , src
71+ ghc-options: -threaded -Wall -O3
72+ if flag(examples)
73+ build-depends:
74+ base >=4 && <5
75+ , containers >=0.5 && <0.6
76+ , AC-Angle >=1.0 && <1.1
77+ else
78+ buildable: False
79+ other-modules:
80+ Image2Term
81+ System.Drawille
82+ default-language: Haskell2010
83+
84+test-suite spec
85+ type: exitcode-stdio-1.0
86+ main-is: Spec.hs
87+ hs-source-dirs:
88+ src
89+ , test
90+ ghc-options: -Wall
91+ if !(flag(no-tests))
92+ build-depends:
93+ base >=4 && <5
94+ , hspec >=1.11 && <2.4
95+ , QuickCheck >=2.6
96+ , containers >=0.5 && <0.6
97+ else
98+ buildable: False
99+ other-modules:
100+ System.Drawille
101+ DrawilleSpec
102+ default-language: Haskell2010
test/golden-test-cases/drawille.nix.goldennew file+16
@@ -0,0 +1,16 @@
1+{ mkDerivation, base, containers, fetchurl, hspec, QuickCheck }:
2+mkDerivation {
3+ pname = "drawille";
4+ version = "0.1.2.0";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ isLibrary = true;
10+ isExecutable = true;
11+ libraryHaskellDepends = [ base containers ];
12+ testHaskellDepends = [ base containers hspec QuickCheck ];
13+ homepage = "https://github.com/yamadapc/haskell-drawille#readme";
14+ description = "A port of asciimoo's drawille to haskell";
15+ license = stdenv.lib.licenses.gpl3;
16+}
test/golden-test-cases/drifter-postgresql.cabalnew file+63
@@ -0,0 +1,63 @@
1+name: drifter-postgresql
2+version: 0.2.1
3+synopsis: PostgreSQL support for the drifter schema migration tool
4+description: Support for postgresql-simple Query migrations as well as
5+ arbitrary Haskell IO functions. Be sure to check the
6+ examples dir for a usage example.
7+license: MIT
8+license-file: LICENSE
9+author: Michael Xavier
10+maintainer: michael@michaelxavier.net
11+category: Database
12+build-type: Simple
13+cabal-version: >=1.10
14+tested-with: GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2
15+extra-source-files:
16+ README.md
17+ changelog.md
18+ examples/Example.hs
19+homepage: http://github.com/michaelxavier/drifter-postgresql
20+bug-reports: http://github.com/michaelxavier/drifter-postgresql/issues
21+
22+flag lib-Werror
23+ default: False
24+ manual: True
25+
26+library
27+ exposed-modules: Drifter.PostgreSQL
28+ build-depends: base >=4.8 && <5
29+ , postgresql-simple >= 0.2
30+ , containers
31+ , drifter >= 0.2
32+ , time
33+ , mtl
34+ , transformers
35+ , transformers-compat >=0.2
36+ hs-source-dirs: src
37+ default-language: Haskell2010
38+
39+ if flag(lib-Werror)
40+ ghc-options: -Werror
41+
42+ ghc-options: -Wall
43+
44+
45+test-suite test
46+ type: exitcode-stdio-1.0
47+ main-is: Main.hs
48+ hs-source-dirs: test
49+ default-language: Haskell2010
50+
51+ build-depends: base
52+ , drifter
53+ , postgresql-simple
54+ , drifter-postgresql
55+ , tasty
56+ , tasty-hunit
57+ , either
58+ , text
59+
60+ if flag(lib-Werror)
61+ ghc-options: -Werror
62+
63+ ghc-options: -Wall
test/golden-test-cases/drifter-postgresql.nix.goldennew file+22
@@ -0,0 +1,22 @@
1+{ mkDerivation, base, containers, drifter, either, fetchurl, mtl
2+, postgresql-simple, tasty, tasty-hunit, text, time, transformers
3+, transformers-compat
4+}:
5+mkDerivation {
6+ pname = "drifter-postgresql";
7+ version = "0.2.1";
8+ src = fetchurl {
9+ url = "http://example.org/";
10+ sha256 = "abc";
11+ };
12+ libraryHaskellDepends = [
13+ base containers drifter mtl postgresql-simple time transformers
14+ transformers-compat
15+ ];
16+ testHaskellDepends = [
17+ base drifter either postgresql-simple tasty tasty-hunit text
18+ ];
19+ homepage = "http://github.com/michaelxavier/drifter-postgresql";
20+ description = "PostgreSQL support for the drifter schema migration tool";
21+ license = stdenv.lib.licenses.mit;
22+}
test/golden-test-cases/ede.cabalnew file+110
@@ -0,0 +1,110 @@
1+name: ede
2+version: 0.2.8.7
3+synopsis: Templating language with similar syntax and features to Liquid or Jinja2.
4+homepage: http://github.com/brendanhay/ede
5+license: OtherLicense
6+license-file: LICENSE
7+author: Brendan Hay
8+maintainer: Brendan Hay <brendan.g.hay@gmail.com>
9+copyright: Copyright (c) 2013-2015 Brendan Hay
10+stability: Experimental
11+category: Text, Template, Web
12+build-type: Simple
13+cabal-version: >= 1.10
14+
15+description:
16+ ED-E is a templating language written in Haskell with a specific set of features:
17+ .
18+ * Logicless within reason. A small set of consistent predicates
19+ and expressions for formatting and presentational logic are provided.
20+ .
21+ * Secure. No arbitrary code evaluation, with input data required to be fully specified
22+ at render time.
23+ .
24+ * Stateless. Parsing and rendering are separate steps so that loading, parsing,
25+ include resolution, and embedding of the compiled template can optionally be
26+ done ahead of time, amortising cost.
27+ .
28+ * Markup agnostic. ED-E is used to write out everything from configuration files for
29+ system services, to HTML and formatted emails.
30+ .
31+ * Control over purity. Users can choose pure or IO-based resolution of
32+ @include@ expressions.
33+ .
34+ * No surprises. All parsing, type assurances, and rendering steps report helpful
35+ error messages with line/column metadata. Variable shadowing, unprintable expressions,
36+ implicit type coercion, and unbound variable access are all treated as errors.
37+
38+extra-source-files:
39+ README.md
40+
41+data-files:
42+ test/resources/*.ede
43+ , test/resources/*.golden
44+
45+source-repository head
46+
47+ type: git
48+ location: git://github.com/brendanhay/ede.git
49+
50+library
51+ default-language: Haskell2010
52+ hs-source-dirs: src
53+
54+ exposed-modules:
55+ Text.EDE
56+ , Text.EDE.Filters
57+
58+ other-modules:
59+ Paths_ede
60+ , Text.EDE.Internal.AST
61+ , Text.EDE.Internal.Eval
62+ , Text.EDE.Internal.Filters
63+ , Text.EDE.Internal.Parser
64+ , Text.EDE.Internal.Quoting
65+ , Text.EDE.Internal.Syntax
66+ , Text.EDE.Internal.Types
67+
68+ ghc-options: -Wall
69+
70+ build-depends:
71+ aeson >= 0.7
72+ , ansi-wl-pprint >= 0.6.6
73+ , base >= 4.6 && < 5
74+ , bifunctors >= 4
75+ , bytestring >= 0.9
76+ , comonad >= 4.2
77+ , directory >= 1.2
78+ , double-conversion >= 2.0.2
79+ , filepath >= 1.2
80+ , free >= 4.8
81+ , lens >= 4.0
82+ , mtl >= 2.1.3.1
83+ , parsers >= 0.12.1.1
84+ , scientific >= 0.3.1
85+ , semigroups >= 0.15
86+ , text >= 1.2
87+ , text-format >= 0.3
88+ , text-manipulate >= 0.1.2
89+ , trifecta >= 1.6
90+ , unordered-containers >= 0.2.3
91+ , vector >= 0.7.1
92+
93+test-suite golden
94+ default-language: Haskell2010
95+ type: exitcode-stdio-1.0
96+ hs-source-dirs: test
97+ main-is: Main.hs
98+
99+ ghc-options: -Wall -threaded
100+
101+ build-depends:
102+ aeson
103+ , base >= 4.6 && < 5
104+ , bifunctors
105+ , bytestring
106+ , directory
107+ , ede
108+ , text
109+ , tasty
110+ , tasty-golden
test/golden-test-cases/ede.nix.goldennew file+27
@@ -0,0 +1,27 @@
1+{ mkDerivation, aeson, ansi-wl-pprint, base, bifunctors, bytestring
2+, comonad, directory, double-conversion, fetchurl, filepath, free
3+, lens, mtl, parsers, scientific, semigroups, tasty, tasty-golden
4+, text, text-format, text-manipulate, trifecta
5+, unordered-containers, vector
6+}:
7+mkDerivation {
8+ pname = "ede";
9+ version = "0.2.8.7";
10+ src = fetchurl {
11+ url = "http://example.org/";
12+ sha256 = "abc";
13+ };
14+ enableSeparateDataOutput = true;
15+ libraryHaskellDepends = [
16+ aeson ansi-wl-pprint base bifunctors bytestring comonad directory
17+ double-conversion filepath free lens mtl parsers scientific
18+ semigroups text text-format text-manipulate trifecta
19+ unordered-containers vector
20+ ];
21+ testHaskellDepends = [
22+ aeson base bifunctors bytestring directory tasty tasty-golden text
23+ ];
24+ homepage = "http://github.com/brendanhay/ede";
25+ description = "Templating language with similar syntax and features to Liquid or Jinja2";
26+ license = "unknown";
27+}
test/golden-test-cases/ekg-cloudwatch.cabalnew file+46
@@ -0,0 +1,46 @@
1+-- This file has been generated from package.yaml by hpack version 0.17.1.
2+--
3+-- see: https://github.com/sol/hpack
4+
5+name: ekg-cloudwatch
6+version: 0.0.1.6
7+synopsis: An ekg backend for Amazon Cloudwatch
8+description: Push ekg metrics to Amazon Cloudwatch
9+homepage: https://github.com/sellerlabs/ekg-cloudwatch#readme
10+bug-reports: https://github.com/sellerlabs/ekg-cloudwatch/issues
11+license: BSD3
12+license-file: LICENSE
13+author: Matt Parsons
14+maintainer: matt@sellerlabs.com
15+copyright: 2016 Seller Labs
16+category: Web
17+build-type: Simple
18+cabal-version: >= 1.10
19+
20+extra-source-files:
21+ CHANGELOG.md
22+ README.md
23+
24+source-repository head
25+ type: git
26+ location: https://github.com/sellerlabs/ekg-cloudwatch
27+
28+library
29+ hs-source-dirs:
30+ src
31+ build-depends:
32+ base >=4.7 && <5
33+ , ekg-core >= 0.1 && < 1.0
34+ , amazonka >= 1.0.0
35+ , amazonka-cloudwatch >= 1.0.0
36+ , amazonka-core >= 1.0.0
37+ , bytestring
38+ , lens
39+ , resourcet
40+ , semigroups
41+ , text
42+ , time
43+ , unordered-containers
44+ exposed-modules:
45+ System.Remote.Monitoring.CloudWatch
46+ default-language: Haskell2010
test/golden-test-cases/ekg-cloudwatch.nix.goldennew file+19
@@ -0,0 +1,19 @@
1+{ mkDerivation, amazonka, amazonka-cloudwatch, amazonka-core, base
2+, bytestring, ekg-core, fetchurl, lens, resourcet, semigroups, text
3+, time, unordered-containers
4+}:
5+mkDerivation {
6+ pname = "ekg-cloudwatch";
7+ version = "0.0.1.6";
8+ src = fetchurl {
9+ url = "http://example.org/";
10+ sha256 = "abc";
11+ };
12+ libraryHaskellDepends = [
13+ amazonka amazonka-cloudwatch amazonka-core base bytestring ekg-core
14+ lens resourcet semigroups text time unordered-containers
15+ ];
16+ homepage = "https://github.com/sellerlabs/ekg-cloudwatch#readme";
17+ description = "An ekg backend for Amazon Cloudwatch";
18+ license = stdenv.lib.licenses.bsd3;
19+}
test/golden-test-cases/emailaddress.cabalnew file+49
@@ -0,0 +1,49 @@
1+name: emailaddress
2+version: 0.2.0.0
3+synopsis: Wrapper around email-validate library adding instances for common type classes.
4+description: Please see README.md
5+homepage: https://github.com/cdepillabout/emailaddress#readme
6+license: BSD3
7+license-file: LICENSE
8+author: Dennis Gosnell
9+maintainer: cdep.illabout@gmail.com
10+copyright: 2016 Dennis Gosnell
11+category: Text
12+build-type: Simple
13+extra-source-files: README.md
14+ , CHANGELOG.md
15+cabal-version: >=1.10
16+
17+library
18+ hs-source-dirs: src
19+ exposed-modules: Text.EmailAddress
20+ other-modules: Text.EmailAddress.Internal
21+ build-depends: base >= 4.6 && < 5
22+ , aeson >= 0.9
23+ , bifunctors >= 5
24+ , bytestring >= 0.9
25+ , email-validate >= 2
26+ , http-api-data >= 0.2
27+ , opaleye >= 0.4
28+ , path-pieces >= 0.2
29+ , persistent >= 2
30+ , postgresql-simple >= 0.5
31+ , product-profunctors >= 0.6
32+ , profunctors >= 0.5
33+ , text >= 1.2
34+ default-language: Haskell2010
35+ ghc-options: -Wall
36+
37+test-suite emailaddress-doctest
38+ type: exitcode-stdio-1.0
39+ main-is: DocTest.hs
40+ hs-source-dirs: test
41+ build-depends: base
42+ , doctest
43+ , Glob
44+ default-language: Haskell2010
45+ ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
46+
47+source-repository head
48+ type: git
49+ location: git@github.com:cdepillabout/emailaddress.git
test/golden-test-cases/emailaddress.nix.goldennew file+22
@@ -0,0 +1,22 @@
1+{ mkDerivation, aeson, base, bifunctors, bytestring, doctest
2+, email-validate, fetchurl, Glob, http-api-data, opaleye
3+, path-pieces, persistent, postgresql-simple, product-profunctors
4+, profunctors, text
5+}:
6+mkDerivation {
7+ pname = "emailaddress";
8+ version = "0.2.0.0";
9+ src = fetchurl {
10+ url = "http://example.org/";
11+ sha256 = "abc";
12+ };
13+ libraryHaskellDepends = [
14+ aeson base bifunctors bytestring email-validate http-api-data
15+ opaleye path-pieces persistent postgresql-simple
16+ product-profunctors profunctors text
17+ ];
18+ testHaskellDepends = [ base doctest Glob ];
19+ homepage = "https://github.com/cdepillabout/emailaddress#readme";
20+ description = "Wrapper around email-validate library adding instances for common type classes";
21+ license = stdenv.lib.licenses.bsd3;
22+}
test/golden-test-cases/envelope.cabalnew file+38
@@ -0,0 +1,38 @@
1+name: envelope
2+version: 0.2.2.0
3+synopsis: Defines generic 'Envelope' type to wrap reponses from a JSON API.
4+description: Please see README.md
5+homepage: https://github.com/cdepillabout/envelope#readme
6+license: BSD3
7+license-file: LICENSE
8+author: Dennis Gosnell
9+maintainer: cdep.illabout@gmail.com
10+copyright: 2016-2017 Dennis Gosnell
11+category: Web
12+build-type: Simple
13+extra-source-files: README.md
14+cabal-version: >=1.10
15+
16+library
17+ hs-source-dirs: src
18+ exposed-modules: Web.Envelope
19+ build-depends: base >= 4.8 && < 5
20+ , aeson >= 0.11
21+ , http-api-data >= 0.3
22+ , mtl >= 2.2
23+ , text >= 1.2
24+ default-language: Haskell2010
25+
26+test-suite envelope-doctest
27+ type: exitcode-stdio-1.0
28+ main-is: DocTest.hs
29+ hs-source-dirs: test
30+ build-depends: base
31+ , doctest
32+ , Glob
33+ default-language: Haskell2010
34+ ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
35+
36+source-repository head
37+ type: git
38+ location: git@github.com:cdepillabout/envelope.git
test/golden-test-cases/envelope.nix.goldennew file+16
@@ -0,0 +1,16 @@
1+{ mkDerivation, aeson, base, doctest, fetchurl, Glob, http-api-data
2+, mtl, text
3+}:
4+mkDerivation {
5+ pname = "envelope";
6+ version = "0.2.2.0";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [ aeson base http-api-data mtl text ];
12+ testHaskellDepends = [ base doctest Glob ];
13+ homepage = "https://github.com/cdepillabout/envelope#readme";
14+ description = "Defines generic 'Envelope' type to wrap reponses from a JSON API";
15+ license = stdenv.lib.licenses.bsd3;
16+}
test/golden-test-cases/eventful-sqlite.cabalnew file+69
@@ -0,0 +1,69 @@
1+-- This file has been generated from package.yaml by hpack version 0.17.0.
2+--
3+-- see: https://github.com/sol/hpack
4+
5+name: eventful-sqlite
6+version: 0.2.0
7+synopsis: SQLite implementations for eventful
8+description: SQLite implementations for eventful
9+category: Database,Eventsourcing,SQLite
10+stability: experimental
11+homepage: https://github.com/jdreaver/eventful#readme
12+bug-reports: https://github.com/jdreaver/eventful/issues
13+maintainer: David Reaver
14+license: MIT
15+license-file: LICENSE.md
16+build-type: Simple
17+cabal-version: >= 1.10
18+
19+extra-source-files:
20+ CHANGELOG.md
21+ README.md
22+
23+source-repository head
24+ type: git
25+ location: https://github.com/jdreaver/eventful
26+
27+library
28+ hs-source-dirs:
29+ src
30+ ghc-options: -Wall
31+ build-depends:
32+ base >= 4.9 && < 5
33+ , eventful-core
34+ , eventful-sql-common
35+ , aeson
36+ , bytestring
37+ , mtl
38+ , persistent
39+ , text
40+ , uuid
41+ exposed-modules:
42+ Eventful.Store.Sqlite
43+ default-language: Haskell2010
44+
45+test-suite spec
46+ type: exitcode-stdio-1.0
47+ main-is: Spec.hs
48+ hs-source-dirs:
49+ tests
50+ src
51+ ghc-options: -Wall
52+ build-depends:
53+ base >= 4.9 && < 5
54+ , eventful-core
55+ , eventful-sql-common
56+ , aeson
57+ , bytestring
58+ , mtl
59+ , persistent
60+ , text
61+ , uuid
62+ , hspec
63+ , HUnit
64+ , eventful-test-helpers
65+ , persistent-sqlite
66+ other-modules:
67+ Eventful.Store.SqliteSpec
68+ Eventful.Store.Sqlite
69+ default-language: Haskell2010
test/golden-test-cases/eventful-sqlite.nix.goldennew file+24
@@ -0,0 +1,24 @@
1+{ mkDerivation, aeson, base, bytestring, eventful-core
2+, eventful-sql-common, eventful-test-helpers, fetchurl, hspec
3+, HUnit, mtl, persistent, persistent-sqlite, text, uuid
4+}:
5+mkDerivation {
6+ pname = "eventful-sqlite";
7+ version = "0.2.0";
8+ src = fetchurl {
9+ url = "http://example.org/";
10+ sha256 = "abc";
11+ };
12+ libraryHaskellDepends = [
13+ aeson base bytestring eventful-core eventful-sql-common mtl
14+ persistent text uuid
15+ ];
16+ testHaskellDepends = [
17+ aeson base bytestring eventful-core eventful-sql-common
18+ eventful-test-helpers hspec HUnit mtl persistent persistent-sqlite
19+ text uuid
20+ ];
21+ homepage = "https://github.com/jdreaver/eventful#readme";
22+ description = "SQLite implementations for eventful";
23+ license = stdenv.lib.licenses.mit;
24+}
test/golden-test-cases/exact-pi.cabalnew file+35
@@ -0,0 +1,35 @@
1+-- Initial exact-pi.cabal generated by cabal init. For further
2+-- documentation, see http://haskell.org/cabal/users-guide/
3+
4+name: exact-pi
5+version: 0.4.1.2
6+synopsis: Exact rational multiples of pi (and integer powers of pi)
7+description: Provides an exact representation for rational multiples of pi alongside an approximate representation of all reals.
8+ Useful for storing and computing with conversion factors between physical units.
9+homepage: https://github.com/dmcclean/exact-pi/
10+bug-reports: https://github.com/dmcclean/exact-pi/issues/
11+license: MIT
12+license-file: LICENSE
13+author: Douglas McClean
14+maintainer: douglas.mcclean@gmail.com
15+-- copyright:
16+category: Data
17+build-type: Simple
18+extra-source-files: README.md,
19+ changelog.md
20+cabal-version: >=1.10
21+
22+library
23+ exposed-modules: Data.ExactPi,
24+ Data.ExactPi.TypeLevel
25+ -- other-modules:
26+ -- other-extensions:
27+ build-depends: base >=4.7 && <5,
28+ numtype-dk >= 0.5
29+ ghc-options: -Wall
30+ hs-source-dirs: src
31+ default-language: Haskell2010
32+
33+source-repository head
34+ type: git
35+ location: https://github.com/dmcclean/exact-pi.git
test/golden-test-cases/exact-pi.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, fetchurl, numtype-dk }:
2+mkDerivation {
3+ pname = "exact-pi";
4+ version = "0.4.1.2";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base numtype-dk ];
10+ homepage = "https://github.com/dmcclean/exact-pi/";
11+ description = "Exact rational multiples of pi (and integer powers of pi)";
12+ license = stdenv.lib.licenses.mit;
13+}
test/golden-test-cases/expiring-cache-map.cabalnew file+108
@@ -0,0 +1,108 @@
1+name: expiring-cache-map
2+version: 0.0.6.1
3+synopsis: General purpose simple caching.
4+description:
5+ A simple general purpose shared state cache map with automatic expiration
6+ of values, for caching the results of accessing a resource such as reading
7+ a file. With variations for Ord and Hashable keys using "Data.Map.Strict"
8+ and "Data.HashMap.Strict", respectively.
9+
10+homepage: https://github.com/elblake/expiring-cache-map
11+bug-reports: https://github.com/elblake/expiring-cache-map/issues
12+license: BSD3
13+license-file: LICENSE
14+author: Edward L. Blake
15+maintainer: edwardlblake@gmail.com
16+copyright: (c) 2014 Edward L. Blake
17+category: Caching
18+build-type: Simple
19+cabal-version: >=1.8
20+
21+extra-source-files:
22+ README.md
23+
24+library
25+ exposed-modules:
26+ Caching.ExpiringCacheMap.OrdECM
27+ Caching.ExpiringCacheMap.HashECM
28+ Caching.ExpiringCacheMap.Internal.Internal
29+ Caching.ExpiringCacheMap.Internal.Types
30+ Caching.ExpiringCacheMap.Types
31+ Caching.ExpiringCacheMap.Utils.TestSequence
32+ Caching.ExpiringCacheMap.Utils.Types
33+ -- other-modules:
34+ build-depends:
35+ base == 4.*,
36+ containers >= 0.5.0.0,
37+ hashable >= 1.0.1.1,
38+ unordered-containers >= 0.2.0.0
39+
40+test-suite test-threads
41+ type: exitcode-stdio-1.0
42+ hs-source-dirs: . tests
43+ main-is: TestWithThreads.hs
44+ build-depends:
45+ base,
46+ bytestring >= 0.10.0.0,
47+ time >= 1.0,
48+ containers >= 0.5.0.0,
49+ hashable >= 1.0.1.1,
50+ unordered-containers >= 0.2.0.0
51+ other-modules:
52+ TestHashECMWithThreads
53+ TestHashECMWithThreadsInvalidating
54+ TestOrdECMWithThreads
55+ TestOrdECMWithThreadsInvalidating
56+ Caching.ExpiringCacheMap.Internal.Internal
57+
58+test-suite test-sequence
59+ type: exitcode-stdio-1.0
60+ hs-source-dirs: . tests
61+ main-is: TestWithTestSequence.hs
62+ build-depends:
63+ base,
64+ bytestring >= 0.10.0.0,
65+ containers >= 0.5.0.0,
66+ hashable >= 1.0.1.1,
67+ unordered-containers >= 0.2.0.0
68+ other-modules:
69+ TestECMWithTestSequenceCommon
70+ TestECMWithTestSequenceCommonInvalidating
71+ TestHashECMWithTestSequence
72+ TestHashECMWithTestSequenceInvalidating
73+ TestOrdECMWithTestSequence
74+ TestOrdECMWithTestSequenceInvalidating
75+
76+test-suite invalidate-test
77+ type: exitcode-stdio-1.0
78+ hs-source-dirs: . tests
79+ main-is: InvalidateTest.hs
80+ build-depends:
81+ base,
82+ bytestring >= 0.10.0.0,
83+ time >= 1.0,
84+ containers >= 0.5.0.0,
85+ hashable >= 1.0.1.1,
86+ unordered-containers >= 0.2.0.0
87+ other-modules:
88+ InvalidateTestCommon
89+ InvalidateTestHashECM
90+ InvalidateTestOrdECM
91+ Caching.ExpiringCacheMap.Internal.Internal
92+
93+test-suite invalidate-cache-test
94+ type: exitcode-stdio-1.0
95+ hs-source-dirs: . tests
96+ main-is: InvalidateCacheTest.hs
97+ build-depends:
98+ base,
99+ bytestring >= 0.10.0.0,
100+ time >= 1.0,
101+ containers >= 0.5.0.0,
102+ hashable >= 1.0.1.1,
103+ unordered-containers >= 0.2.0.0
104+ other-modules:
105+ InvalidateCacheTestCommon
106+ InvalidateCacheTestHashECM
107+ InvalidateCacheTestOrdECM
108+ Caching.ExpiringCacheMap.Internal.Internal
test/golden-test-cases/expiring-cache-map.nix.goldennew file+20
@@ -0,0 +1,20 @@
1+{ mkDerivation, base, bytestring, containers, fetchurl, hashable
2+, time, unordered-containers
3+}:
4+mkDerivation {
5+ pname = "expiring-cache-map";
6+ version = "0.0.6.1";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [
12+ base containers hashable unordered-containers
13+ ];
14+ testHaskellDepends = [
15+ base bytestring containers hashable time unordered-containers
16+ ];
17+ homepage = "https://github.com/elblake/expiring-cache-map";
18+ description = "General purpose simple caching";
19+ license = stdenv.lib.licenses.bsd3;
20+}
test/golden-test-cases/explicit-exception.cabalnew file+124
@@ -0,0 +1,124 @@
1+Name: explicit-exception
2+Version: 0.1.9
3+License: BSD3
4+License-File: LICENSE
5+Author: Henning Thielemann <haskell@henning-thielemann.de>
6+Maintainer: Henning Thielemann <haskell@henning-thielemann.de>
7+Homepage: http://www.haskell.org/haskellwiki/Exception
8+Category: Control
9+Stability: Experimental
10+Synopsis: Exceptions which are explicit in the type signature.
11+Description:
12+ Synchronous and Asynchronous exceptions which are explicit in the type signature.
13+ The first ones are very similar to 'Either' and 'Control.Monad.Error.ErrorT'.
14+ The second ones are used for 'System.IO.readFile' and 'System.IO.hGetContents'.
15+ This package is a proposal for improved exception handling in Haskell.
16+ It strictly separates between handling of
17+ exceptional situations (file not found, invalid user input,
18+ see <http://www.haskell.org/haskellwiki/Exception>) and
19+ (programming) errors (division by zero, index out of range,
20+ see <http://www.haskell.org/haskellwiki/Error>).
21+ Handling of the first one is called \"exception handling\",
22+ whereas handling of errors is better known as \"debugging\".
23+ .
24+ For applications see the packages @midi@, @spreadsheet@, @http-monad@.
25+ .
26+ Although I'm not happy with the identifier style of the Monad Transformer Library
27+ (partially intended for unqualified use)
28+ I have tried to adopt it for this library,
29+ in order to let Haskell programmers get accustomed easily to it.
30+ .
31+ See also: @unexceptionalio@
32+Tested-With: GHC==6.8.2
33+Tested-With: GHC==7.4.2, GHC==7.6.1, GHC==7.8.2
34+Tested-With: GHC==8.0.1
35+Cabal-Version: >=1.6
36+Build-Type: Simple
37+
38+Source-Repository head
39+ type: darcs
40+ location: http://code.haskell.org/explicit-exception/
41+
42+Source-Repository this
43+ type: darcs
44+ location: http://code.haskell.org/explicit-exception/
45+ tag: 0.1.9
46+
47+Flag buildTests
48+ description: Build executables that demonstrate some space leaks
49+ default: False
50+
51+Flag splitBase
52+ description: Choose the smaller, split-up base package from version 2 on.
53+
54+
55+Library
56+ Build-Depends:
57+ transformers >=0.2 && <0.6,
58+ deepseq >=1.1 && <1.5
59+ If impl(jhc)
60+ Build-Depends:
61+ applicative >=1.0 && <1.1,
62+ base >= 1 && <2
63+ Else
64+ If flag(splitBase)
65+ Build-Depends: base >= 2 && <5
66+ Else
67+ Build-Depends:
68+ special-functors >=1.0 && <1.1,
69+ base >= 1 && <2
70+
71+ GHC-Options: -Wall
72+ Hs-Source-Dirs: src
73+ Exposed-Modules:
74+ Control.Monad.Exception.Asynchronous
75+ Control.Monad.Exception.Asynchronous.Lazy
76+ Control.Monad.Exception.Asynchronous.Strict
77+ Control.Monad.Exception.Synchronous
78+ If !impl(jhc)
79+ Other-Modules:
80+ Control.Monad.Exception.Warning
81+ Control.Monad.Exception.Label
82+ Control.Monad.Label
83+ System.IO.Straight
84+ System.IO.Exception.File
85+ System.IO.Exception.BinaryFile
86+ System.IO.Exception.TextFile
87+-- System.IO.Exception.Std
88+-- Debug.Error
89+
90+Executable ee-tar
91+ If flag(buildTests)
92+ Build-Depends:
93+ bytestring >=0.9.0.1 && <0.11,
94+ tar >=0.3 && <0.4
95+ Else
96+ Buildable: False
97+ GHC-Options: -Wall
98+ Hs-Source-Dirs: src, spaceleak
99+ Main-Is: Tar.hs
100+
101+Executable ee-test
102+ If flag(buildTests)
103+ Build-Depends:
104+ bytestring >=0.9.0.1 && <0.11
105+ Else
106+ Buildable: False
107+ GHC-Options: -Wall
108+ Hs-Source-Dirs: src, spaceleak
109+ Main-Is: Example.hs
110+
111+Executable ee-unzip
112+ If !flag(buildTests)
113+ Buildable: False
114+ GHC-Options: -Wall
115+ Hs-Source-Dirs: spaceleak
116+ Main-Is: Unzip.hs
117+
118+Executable ee-writer
119+ If !flag(buildTests)
120+ Buildable: False
121+ Buildable: False
122+ GHC-Options: -Wall
123+ Hs-Source-Dirs: spaceleak
124+ Main-Is: Writer.hs
test/golden-test-cases/explicit-exception.nix.goldennew file+15
@@ -0,0 +1,15 @@
1+{ mkDerivation, base, deepseq, fetchurl, transformers }:
2+mkDerivation {
3+ pname = "explicit-exception";
4+ version = "0.1.9";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ isLibrary = true;
10+ isExecutable = true;
11+ libraryHaskellDepends = [ base deepseq transformers ];
12+ homepage = "http://www.haskell.org/haskellwiki/Exception";
13+ description = "Exceptions which are explicit in the type signature";
14+ license = stdenv.lib.licenses.bsd3;
15+}
test/golden-test-cases/fdo-notify.cabalnew file+26
@@ -0,0 +1,26 @@
1+name: fdo-notify
2+version: 0.3.1
3+synopsis: Desktop Notifications client
4+description:
5+ A library for issuing notifications using FreeDesktop.org's Desktop
6+ Notifications protcol. This protocol is supported by services such
7+ as Ubuntu's NotifyOSD.
8+category: Desktop
9+license: BSD3
10+license-file: LICENSE
11+author: Max Rabkin
12+maintainer: max.rabkin@gmail.com
13+homepage: http://bitbucket.org/taejo/fdo-notify/
14+cabal-version: >= 1.2.1
15+build-type: Simple
16+
17+extra-source-files:
18+ examples/fib.hs
19+
20+library
21+ build-depends:
22+ base >= 3 && < 5
23+ , containers >= 0.1
24+ , dbus >= 0.10.7
25+
26+ exposed-modules: DBus.Notify
test/golden-test-cases/fdo-notify.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, containers, dbus, fetchurl }:
2+mkDerivation {
3+ pname = "fdo-notify";
4+ version = "0.3.1";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base containers dbus ];
10+ homepage = "http://bitbucket.org/taejo/fdo-notify/";
11+ description = "Desktop Notifications client";
12+ license = stdenv.lib.licenses.bsd3;
13+}
test/golden-test-cases/fgl.cabalnew file+134
@@ -0,0 +1,134 @@
1+name: fgl
2+version: 5.5.4.0
3+license: BSD3
4+license-file: LICENSE
5+author: Martin Erwig, Ivan Lazar Miljenovic
6+maintainer: Ivan.Miljenovic@gmail.com
7+category: Data Structures, Graphs
8+synopsis: Martin Erwig's Functional Graph Library
9+
10+description: {
11+An inductive representation of manipulating graph data structures.
12+.
13+Original website can be found at <http://web.engr.oregonstate.edu/~erwig/fgl/haskell>.
14+}
15+cabal-version: >= 1.10
16+build-type: Simple
17+extra-source-files:
18+ ChangeLog
19+
20+tested-with: GHC == 7.0.4, GHC == 7.2.2, GHC == 7.4.2, GHC == 7.6.3,
21+ GHC == 7.8.4, GHC == 7.10.2, GHC == 8.0.1, GHC == 8.1.*
22+
23+source-repository head
24+ type: git
25+ location: https://github.com/haskell/fgl.git
26+
27+flag containers042 {
28+ manual: False
29+ default: True
30+}
31+
32+library {
33+ default-language: Haskell98
34+
35+ exposed-modules:
36+ Data.Graph.Inductive.Internal.Heap,
37+ Data.Graph.Inductive.Internal.Queue,
38+ Data.Graph.Inductive.Internal.RootPath,
39+ Data.Graph.Inductive.Internal.Thread,
40+ Data.Graph.Inductive.Basic,
41+ Data.Graph.Inductive.Example,
42+ Data.Graph.Inductive.Graph,
43+ Data.Graph.Inductive.Monad,
44+ Data.Graph.Inductive.NodeMap,
45+ Data.Graph.Inductive.PatriciaTree,
46+ Data.Graph.Inductive.Query,
47+ Data.Graph.Inductive.Tree,
48+ Data.Graph.Inductive.Monad.IOArray,
49+ Data.Graph.Inductive.Monad.STArray,
50+ Data.Graph.Inductive.Query.ArtPoint,
51+ Data.Graph.Inductive.Query.BCC,
52+ Data.Graph.Inductive.Query.BFS,
53+ Data.Graph.Inductive.Query.DFS,
54+ Data.Graph.Inductive.Query.Dominators,
55+ Data.Graph.Inductive.Query.GVD,
56+ Data.Graph.Inductive.Query.Indep,
57+ Data.Graph.Inductive.Query.MST,
58+ Data.Graph.Inductive.Query.MaxFlow,
59+ Data.Graph.Inductive.Query.MaxFlow2,
60+ Data.Graph.Inductive.Query.Monad,
61+ Data.Graph.Inductive.Query.SP,
62+ Data.Graph.Inductive.Query.TransClos,
63+ Data.Graph.Inductive
64+
65+ other-modules:
66+ Paths_fgl
67+
68+ build-depends: base < 5
69+ , transformers
70+ , array
71+
72+ if flag(containers042)
73+ build-depends: containers >= 0.4.2
74+ , deepseq >= 1.1.0.0 && < 1.5
75+ else
76+ build-depends: containers < 0.4.2
77+
78+ if impl(ghc >= 7.2) && impl(ghc < 7.6)
79+ build-depends:
80+ ghc-prim
81+
82+ ghc-options: -Wall
83+
84+}
85+
86+test-suite fgl-tests {
87+ default-language: Haskell98
88+
89+ type: exitcode-stdio-1.0
90+
91+ build-depends: fgl
92+ , base
93+ , QuickCheck >= 2.8 && < 2.10
94+ , hspec >= 2.1 && < 2.5
95+ , containers
96+
97+ hs-source-dirs: test
98+ fgl-arbitrary
99+
100+ main-is: TestSuite.hs
101+
102+ other-modules: Data.Graph.Inductive.Arbitrary
103+ , Data.Graph.Inductive.Graph.Properties
104+ , Data.Graph.Inductive.Proxy
105+ , Data.Graph.Inductive.Query.Properties
106+
107+ ghc-options: -Wall
108+
109+}
110+
111+benchmark fgl-benchmark {
112+ if flag(containers042)
113+ buildable: True
114+ else
115+ buildable: False
116+
117+ default-language: Haskell98
118+
119+ type: exitcode-stdio-1.0
120+
121+ hs-source-dirs: test
122+
123+ main-is: benchmark.hs
124+
125+ other-modules: Data.Graph.Inductive.Proxy
126+
127+ build-depends: fgl
128+ , base
129+ , microbench
130+ , deepseq
131+
132+ ghc-options: -Wall
133+
134+}
test/golden-test-cases/fgl.nix.goldennew file+18
@@ -0,0 +1,18 @@
1+{ mkDerivation, array, base, containers, deepseq, fetchurl, hspec
2+, microbench, QuickCheck, transformers
3+}:
4+mkDerivation {
5+ pname = "fgl";
6+ version = "5.5.4.0";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [
12+ array base containers deepseq transformers
13+ ];
14+ testHaskellDepends = [ base containers hspec QuickCheck ];
15+ benchmarkHaskellDepends = [ base deepseq microbench ];
16+ description = "Martin Erwig's Functional Graph Library";
17+ license = stdenv.lib.licenses.bsd3;
18+}
test/golden-test-cases/file-modules.cabalnew file+46
@@ -0,0 +1,46 @@
1+name: file-modules
2+version: 0.1.2.4
3+cabal-version: >=1.10
4+build-type: Simple
5+license: MIT
6+license-file: LICENSE
7+copyright: Copyright (c) Pedro Tacla Yamada 2015
8+maintainer: tacla.yamada@gmail.com
9+homepage: https://github.com/yamadapc/stack-run-auto
10+synopsis: Takes a Haskell source-code file and outputs its modules.
11+description:
12+ Uses @haskell-src-exts@ to parse module imports and follows links
13+ . to local modules in order to build a list of module dependencies.
14+category: Development
15+author: Pedro Tacla Yamada
16+
17+library
18+ exposed-modules:
19+ Development.FileModules
20+ build-depends:
21+ MissingH,
22+ async,
23+ base >=4.5 && <5,
24+ directory,
25+ filepath,
26+ haskell-src-exts >=1.17 && <2,
27+ regex-compat >= 0.95.1,
28+ regex-pcre
29+ default-language: Haskell2010
30+ hs-source-dirs: src
31+
32+executable file-modules
33+ main-is: Main.hs
34+ build-depends:
35+ MissingH,
36+ async,
37+ base >=4.5 && <5,
38+ directory,
39+ filepath,
40+ haskell-src-exts >=1.17 && <2,
41+ regex-compat >= 0.95.1,
42+ regex-pcre
43+ default-language: Haskell2010
44+ hs-source-dirs: src
45+ ghc-options: -O2 -threaded
46+
test/golden-test-cases/file-modules.nix.goldennew file+24
@@ -0,0 +1,24 @@
1+{ mkDerivation, async, base, directory, fetchurl, filepath
2+, haskell-src-exts, MissingH, regex-compat, regex-pcre
3+}:
4+mkDerivation {
5+ pname = "file-modules";
6+ version = "0.1.2.4";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ isLibrary = true;
12+ isExecutable = true;
13+ libraryHaskellDepends = [
14+ async base directory filepath haskell-src-exts MissingH
15+ regex-compat regex-pcre
16+ ];
17+ executableHaskellDepends = [
18+ async base directory filepath haskell-src-exts MissingH
19+ regex-compat regex-pcre
20+ ];
21+ homepage = "https://github.com/yamadapc/stack-run-auto";
22+ description = "Takes a Haskell source-code file and outputs its modules";
23+ license = stdenv.lib.licenses.mit;
24+}
test/golden-test-cases/fingertree.cabalnew file+59
@@ -0,0 +1,59 @@
1+Name: fingertree
2+Version: 0.1.3.1
3+Cabal-Version: >= 1.18
4+Copyright: (c) 2006 Ross Paterson, Ralf Hinze
5+License: BSD3
6+License-File: LICENSE
7+Maintainer: Ross Paterson <R.Paterson@city.ac.uk>
8+bug-reports: http://hub.darcs.net/ross/fingertree/issues
9+Category: Data Structures
10+Synopsis: Generic finger-tree structure, with example instances
11+Description:
12+ A general sequence representation with arbitrary
13+ annotations, for use as a base for implementations of
14+ various collection types, with examples, as described
15+ in section 4 of
16+ .
17+ * Ralf Hinze and Ross Paterson,
18+ \"Finger trees: a simple general-purpose data structure\",
19+ /Journal of Functional Programming/ 16:2 (2006) pp 197-217.
20+ <http://staff.city.ac.uk/~ross/papers/FingerTree.html>
21+ .
22+ For a tuned sequence type, see @Data.Sequence@ in the
23+ @containers@ package, which is a specialization of
24+ this structure.
25+Build-Type: Simple
26+Extra-Source-Files:
27+ changelog
28+Extra-Doc-Files:
29+ images/search.svg
30+
31+Source-Repository head
32+ Type: darcs
33+ Location: http://hub.darcs.net/ross/fingertree
34+
35+Library
36+ Build-Depends: base < 6
37+ Default-Language: Haskell2010
38+ Other-Extensions:
39+ MultiParamTypeClasses
40+ FunctionalDependencies
41+ FlexibleInstances
42+ UndecidableInstances
43+ Exposed-Modules:
44+ Data.FingerTree
45+ Data.IntervalMap.FingerTree
46+ Data.PriorityQueue.FingerTree
47+
48+Test-suite ft-properties
49+ type: exitcode-stdio-1.0
50+ main-is: tests/ft-properties.hs
51+ cpp-options: -DTESTING
52+ default-language: Haskell2010
53+ build-depends:
54+ base >= 4.2 && < 6,
55+ HUnit,
56+ QuickCheck,
57+ test-framework,
58+ test-framework-hunit,
59+ test-framework-quickcheck2
test/golden-test-cases/fingertree.nix.goldennew file+18
@@ -0,0 +1,18 @@
1+{ mkDerivation, base, fetchurl, HUnit, QuickCheck, test-framework
2+, test-framework-hunit, test-framework-quickcheck2
3+}:
4+mkDerivation {
5+ pname = "fingertree";
6+ version = "0.1.3.1";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [ base ];
12+ testHaskellDepends = [
13+ base HUnit QuickCheck test-framework test-framework-hunit
14+ test-framework-quickcheck2
15+ ];
16+ description = "Generic finger-tree structure, with example instances";
17+ license = stdenv.lib.licenses.bsd3;
18+}
test/golden-test-cases/fixed-vector.cabalnew file+87
@@ -0,0 +1,87 @@
1+Name: fixed-vector
2+Version: 1.0.0.0
3+Synopsis: Generic vectors with statically known size.
4+Description:
5+ Generic library for vectors with statically known
6+ size. Implementation is based on
7+ <http://unlines.wordpress.com/2010/11/15/generics-for-small-fixed-size-vectors/>
8+ Same functions could be used to work with both ADT based vector like
9+ .
10+ > data Vec3 a = a a a
11+ .
12+ Tuples are vectors too:
13+ .
14+ >>> sum (1,2,3)
15+ 6
16+ .
17+ Vectors which are represented internally by arrays are provided by
18+ library. Both boxed and unboxed arrays are supported.
19+ .
20+ Library is structured as follows:
21+ .
22+ * Data.Vector.Fixed
23+ Generic API. It's suitable for both ADT-based vector like Complex
24+ and array-based ones.
25+ .
26+ * Data.Vector.Fixed.Cont
27+ Continuation based vectors. Internally all functions use them.
28+ .
29+ * Data.Vector.Fixed.Mutable
30+ Type classes for array-based implementation and API for working with
31+ mutable state.
32+ .
33+ * Data.Vector.Fixed.Unboxed
34+ Unboxed vectors.
35+ .
36+ * Data.Vector.Fixed.Boxed
37+ Boxed vector which can hold elements of any type.
38+ .
39+ * Data.Vector.Fixed.Storable
40+ Unboxed vectors of Storable types.
41+ .
42+ * Data.Vector.Fixed.Primitive
43+ Unboxed vectors based on pritimive package.
44+
45+Cabal-Version: >= 1.8
46+License: BSD3
47+License-File: LICENSE
48+Author: Aleksey Khudyakov <alexey.skladnoy@gmail.com>
49+Maintainer: Aleksey Khudyakov <alexey.skladnoy@gmail.com>
50+Bug-reports: https://github.com/Shimuuar/fixed-vector/issues
51+Category: Data
52+Build-Type: Simple
53+extra-source-files:
54+ ChangeLog.md
55+
56+source-repository head
57+ type: git
58+ location: http://github.com/Shimuuar/fixed-vector
59+
60+Library
61+ Ghc-options: -Wall
62+ Build-Depends: base >=4.8 && <5
63+ , primitive >=0.6.2
64+ , deepseq
65+ Exposed-modules:
66+ -- API
67+ Data.Vector.Fixed.Cont
68+ Data.Vector.Fixed
69+ Data.Vector.Fixed.Generic
70+ -- Arrays
71+ Data.Vector.Fixed.Mutable
72+ Data.Vector.Fixed.Boxed
73+ Data.Vector.Fixed.Primitive
74+ Data.Vector.Fixed.Unboxed
75+ Data.Vector.Fixed.Storable
76+ Other-modules:
77+ Data.Vector.Fixed.Internal
78+
79+Test-Suite doctests
80+ Type: exitcode-stdio-1.0
81+ Hs-source-dirs: test
82+ Main-is: Doctests.hs
83+ Build-Depends: base >=4.8 && <5
84+ , primitive >=0.6.2
85+ -- Additional test dependencies.
86+ , doctest >= 0.9
87+ , filemanip == 0.3.6.*
test/golden-test-cases/fixed-vector.nix.goldennew file+15
@@ -0,0 +1,15 @@
1+{ mkDerivation, base, deepseq, doctest, fetchurl, filemanip
2+, primitive
3+}:
4+mkDerivation {
5+ pname = "fixed-vector";
6+ version = "1.0.0.0";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [ base deepseq primitive ];
12+ testHaskellDepends = [ base doctest filemanip primitive ];
13+ description = "Generic vectors with statically known size";
14+ license = stdenv.lib.licenses.bsd3;
15+}
test/golden-test-cases/fixed.cabalnew file+32
@@ -0,0 +1,32 @@
1+name: fixed
2+category: Numeric
3+version: 0.2.1.1
4+license: BSD3
5+cabal-version: >= 1.8
6+license-file: LICENSE
7+author: Edward A. Kmett
8+maintainer: Edward A. Kmett <ekmett@gmail.com>
9+stability: provisional
10+homepage: http://github.com/ekmett/fixed
11+bug-reports: http://github.com/ekmett/fixed/issues
12+copyright: Copyright (C) 2014 Edward A. Kmett
13+build-type: Simple
14+tested-with: GHC == 7.8.3
15+synopsis: Signed 15.16 precision fixed point arithmetic
16+description: Signed 15.16 precision fixed point arithmetic
17+
18+extra-source-files:
19+ .travis.yml
20+ .gitignore
21+ README.markdown
22+ CHANGELOG.markdown
23+
24+source-repository head
25+ type: git
26+ location: git://github.com/ekmett/fixed.git
27+
28+library
29+ hs-source-dirs: src
30+ build-depends: base >= 4.7 && < 5
31+ ghc-options: -Wall -fwarn-tabs -O2
32+ exposed-modules: Numeric.Fixed
test/golden-test-cases/fixed.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, fetchurl }:
2+mkDerivation {
3+ pname = "fixed";
4+ version = "0.2.1.1";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base ];
10+ homepage = "http://github.com/ekmett/fixed";
11+ description = "Signed 15.16 precision fixed point arithmetic";
12+ license = stdenv.lib.licenses.bsd3;
13+}
test/golden-test-cases/foundation.cabalnew file+280
@@ -0,0 +1,280 @@
1+name: foundation
2+version: 0.0.17
3+synopsis: Alternative prelude with batteries and no dependencies
4+description:
5+ A custom prelude with no dependencies apart from base.
6+ .
7+ This package has the following goals:
8+ .
9+ * provide a base like sets of modules that provide a consistent set of features and bugfixes across multiple versions of GHC (unlike base).
10+ .
11+ * provide a better and more efficient prelude than base's prelude.
12+ .
13+ * be self-sufficient: no external dependencies apart from base.
14+ .
15+ * provide better data-types: packed unicode string by default, arrays.
16+ .
17+ * Better numerical classes that better represent mathematical thing (No more all-in-one Num).
18+ .
19+ * Better I/O system with less Lazy IO
20+ .
21+ * Usual partial functions distinguished through type system
22+license: BSD3
23+license-file: LICENSE
24+copyright: 2015-2017 Vincent Hanquez <vincent@snarc.org>
25+ 2017 Foundation Maintainers
26+author: Vincent Hanquez <vincent@snarc.org>
27+maintainer: vincent@snarc.org
28+category: foundation
29+build-type: Simple
30+homepage: https://github.com/haskell-foundation/foundation
31+bug-reports: https://github.com/haskell-foundation/foundation/issues
32+cabal-version: >=1.18
33+tested-with: GHC==8.2.1, GHC==8.0.2, GHC==7.10.3
34+extra-source-files: cbits/*.h
35+extra-doc-files: README.md
36+ CHANGELOG.md
37+
38+source-repository head
39+ type: git
40+ location: https://github.com/haskell-foundation/foundation.git
41+
42+flag experimental
43+ description: Enable building experimental features, known as highly unstable or without good support cross-platform
44+ default: False
45+ manual: True
46+
47+flag bench-all
48+ description: Add some comparaison benchmarks against other haskell libraries
49+ default: False
50+ manual: True
51+
52+flag minimal-deps
53+ description: Build fully with minimal deps (no criterion, no quickcheck, no doctest)
54+ default: False
55+ manual: True
56+
57+flag bounds-check
58+ description: Add extra friendly boundary check for unsafe array operations
59+ default: False
60+ manual: True
61+
62+flag doctest
63+ description: Add extra friendly boundary check for unsafe array operations
64+ default: False
65+ manual: True
66+
67+library
68+ exposed-modules: Foundation
69+ Foundation.Numerical
70+ Foundation.Array
71+ Foundation.Array.Internal
72+ Foundation.Bits
73+ Foundation.Class.Bifunctor
74+ Foundation.Class.Storable
75+ Foundation.Conduit
76+ Foundation.Conduit.Textual
77+ Foundation.Exception
78+ Foundation.String
79+ Foundation.String.Read
80+ Foundation.String.Builder
81+ Foundation.IO
82+ Foundation.IO.FileMap
83+ Foundation.IO.Terminal
84+ Foundation.VFS
85+ Foundation.VFS.Path
86+ Foundation.VFS.FilePath
87+ Foundation.VFS.URI
88+ Foundation.Math.Trigonometry
89+ Foundation.Hashing
90+ Foundation.Foreign
91+ Foundation.Collection
92+ Foundation.Primitive
93+ Foundation.List.DList
94+ Foundation.Monad
95+ Foundation.Monad.Except
96+ Foundation.Monad.Reader
97+ Foundation.Monad.State
98+ Foundation.Network.IPv4
99+ Foundation.Network.IPv6
100+ Foundation.System.Info
101+ Foundation.Strict
102+ Foundation.Parser
103+ Foundation.Random
104+ Foundation.Check
105+ Foundation.Check.Main
106+ Foundation.Timing
107+ Foundation.Timing.Main
108+ Foundation.Time.Types
109+ Foundation.Time.Bindings
110+ Foundation.Time.StopWatch
111+ Foundation.UUID
112+ Foundation.System.Entropy
113+ Foundation.System.Bindings
114+ other-modules:
115+ Foundation.Tuple
116+ Foundation.Hashing.FNV
117+ Foundation.Hashing.SipHash
118+ Foundation.Hashing.Hasher
119+ Foundation.Hashing.Hashable
120+ Foundation.Check.Gen
121+ Foundation.Check.Print
122+ Foundation.Check.Arbitrary
123+ Foundation.Check.Property
124+ Foundation.Check.Config
125+ Foundation.Check.Types
126+ Foundation.Collection.Buildable
127+ Foundation.Collection.List
128+ Foundation.Collection.Element
129+ Foundation.Collection.InnerFunctor
130+ Foundation.Collection.Collection
131+ Foundation.Collection.Copy
132+ Foundation.Collection.Sequential
133+ Foundation.Collection.Keyed
134+ Foundation.Collection.Indexed
135+ Foundation.Collection.Foldable
136+ Foundation.Collection.Mutable
137+ Foundation.Collection.Zippable
138+ Foundation.Collection.Mappable
139+ Foundation.Conduit.Internal
140+ Foundation.Numerical.Floating
141+ Foundation.IO.File
142+ Foundation.Monad.MonadIO
143+ Foundation.Monad.Exception
144+ Foundation.Monad.Transformer
145+ Foundation.Monad.Identity
146+ Foundation.Monad.Base
147+ Foundation.Random.Class
148+ Foundation.Random.DRG
149+ Foundation.Random.ChaChaDRG
150+ Foundation.Random.XorShift
151+ Foundation.Array.Chunked.Unboxed
152+ Foundation.Array.Bitmap
153+ Foundation.Foreign.Alloc
154+ Foundation.Foreign.MemoryMap
155+ Foundation.Foreign.MemoryMap.Types
156+ Foundation.Partial
157+ -- Foundation.Time.Bindings
158+ Foundation.System.Entropy.Common
159+ Foundation.System.Bindings.Network
160+ Foundation.System.Bindings.Time
161+ Foundation.System.Bindings.Hs
162+
163+ include-dirs: cbits
164+ c-sources: cbits/foundation_random.c
165+ cbits/foundation_network.c
166+ cbits/foundation_time.c
167+ cbits/foundation_utf8.c
168+
169+ if flag(experimental)
170+ exposed-modules: Foundation.Network.HostName
171+ if os(windows)
172+ exposed-modules: Foundation.System.Bindings.Windows
173+ other-modules: Foundation.Foreign.MemoryMap.Windows
174+ Foundation.System.Entropy.Windows
175+ else
176+ exposed-modules: Foundation.System.Bindings.Posix
177+ Foundation.System.Bindings.PosixDef
178+ other-modules: Foundation.Foreign.MemoryMap.Posix
179+ Foundation.System.Entropy.Unix
180+ if os(linux)
181+ exposed-modules: Foundation.System.Bindings.Linux
182+ if os(osx)
183+ exposed-modules: Foundation.System.Bindings.Macos
184+
185+ if impl(ghc >= 7.10)
186+ exposed-modules: Foundation.Tuple.Nth
187+ Foundation.List.ListN
188+
189+ default-extensions: NoImplicitPrelude
190+ RebindableSyntax
191+ TypeFamilies
192+ BangPatterns
193+ DeriveDataTypeable
194+ build-depends: base >= 4.7 && < 5
195+ , basement == 0.0.4
196+ , ghc-prim
197+ -- FIXME add suport for armel mipsel
198+ -- CPP-options: -DARCH_IS_LITTLE_ENDIAN
199+ -- FIXME add support for powerpc powerpc64 armeb mipseb
200+ -- CPP-options: -DARCH_IS_BIG_ENDIAN
201+ if (arch(i386) || arch(x86_64))
202+ cpp-options: -DARCH_IS_LITTLE_ENDIAN
203+ else
204+ cpp-options: -DARCH_IS_UNKNOWN_ENDIAN
205+ if os(windows)
206+ build-depends: Win32
207+ ghc-options: -Wall -fwarn-tabs
208+ default-language: Haskell2010
209+ if impl(ghc >= 8.0)
210+ ghc-options: -Wno-redundant-constraints
211+ if flag(bounds-check)
212+ cpp-options: -DFOUNDATION_BOUNDS_CHECK
213+
214+test-suite check-foundation
215+ type: exitcode-stdio-1.0
216+ hs-source-dirs: tests
217+ main-is: Checks.hs
218+ other-modules: Test.Checks.Property.Collection
219+ Test.Foundation.Random
220+ Test.Foundation.Misc
221+ Test.Foundation.Conduit
222+ Test.Foundation.Primitive.BlockN
223+ Test.Foundation.Storable
224+ Test.Foundation.Number
225+ Test.Foundation.String.Base64
226+ Test.Foundation.String
227+ Test.Foundation.Bits
228+ Test.Data.Network
229+ Test.Data.List
230+ Test.Foundation.Network.IPv4
231+ Test.Foundation.Network.IPv6
232+ default-extensions: NoImplicitPrelude
233+ RebindableSyntax
234+ OverloadedStrings
235+ build-depends: base >= 3 && < 5
236+ , basement
237+ , foundation
238+ ghc-options: -Wall -fno-warn-orphans -fno-warn-missing-signatures
239+ default-language: Haskell2010
240+ if impl(ghc >= 8.0)
241+ ghc-options: -Wno-redundant-constraints
242+
243+test-suite doctest
244+ type: exitcode-stdio-1.0
245+ hs-source-dirs: tests
246+ default-language: Haskell2010
247+ main-is: DocTest.hs
248+ default-extensions: NoImplicitPrelude
249+ RebindableSyntax
250+ if flag(minimal-deps)
251+ -- TODO: for no, force unbuildable anyway
252+ buildable: False
253+ else
254+ if flag(doctest)
255+ build-depends: base >= 3 && < 5
256+ , doctest >= 0.9
257+ buildable: True
258+ else
259+ buildable: False
260+
261+Benchmark bench
262+ main-is: Main.hs
263+ other-modules: BenchUtil.Common
264+ BenchUtil.RefData
265+ Sys
266+ Fake.ByteString
267+ Fake.Text
268+ Fake.Vector
269+ hs-source-dirs: benchs
270+ default-language: Haskell2010
271+ type: exitcode-stdio-1.0
272+ default-extensions: NoImplicitPrelude
273+ BangPatterns
274+ if flag(minimal-deps) || impl(ghc < 7.10)
275+ buildable: False
276+ else
277+ build-depends: base >= 4, gauge, basement, foundation
278+ if flag(bench-all)
279+ cpp-options: -DBENCH_ALL
280+ build-depends: text, attoparsec, vector, bytestring
test/golden-test-cases/foundation.nix.goldennew file+15
@@ -0,0 +1,15 @@
1+{ mkDerivation, base, basement, fetchurl, gauge, ghc-prim }:
2+mkDerivation {
3+ pname = "foundation";
4+ version = "0.0.17";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base basement ghc-prim ];
10+ testHaskellDepends = [ base basement ];
11+ benchmarkHaskellDepends = [ base basement gauge ];
12+ homepage = "https://github.com/haskell-foundation/foundation";
13+ description = "Alternative prelude with batteries and no dependencies";
14+ license = stdenv.lib.licenses.bsd3;
15+}
test/golden-test-cases/frisby.cabalnew file+37
@@ -0,0 +1,37 @@
1+name: frisby
2+version: 0.2.2
3+cabal-version: >=1.6
4+license: BSD3
5+copyright: John Meacham (2006)
6+author: John Meacham <john@repetae.net>
7+maintainer: Ben Gamari <ben@smart-cactus.org>
8+stability: experimental
9+homepage: http://repetae.net/computer/frisby/
10+homepage: http://repetae.net/computer/frisby/
11+package-url: http://repetae.net/repos/frisby
12+synopsis: Linear time composable parser for PEG grammars
13+description: frisby is a parser library that can parse arbitrary PEG
14+ grammars in linear time. Unlike other parsers of PEG grammars,
15+ frisby need not be supplied with all possible rules up front,
16+ allowing composition of smaller parsers.
17+ .
18+ PEG parsers are never ambiguous and allow infinite lookahead
19+ with no backtracking penalty. Since PEG parsers can look ahead
20+ arbitrarily, they can easily express rules such as the maximal
21+ munch rule used in lexers, meaning no separate lexer is needed.
22+ .
23+ In addition to many standard combinators, frisby provides
24+ routines to translate standard regex syntax into frisby parsers.
25+extra-source-files: Changelog.md
26+category: Text
27+tested-with: GHC == 7.6.*, GHC == 7.8.*, GHC == 7.10.*, GHC == 8.0.*, GHC == 8.2.*
28+license-file: LICENSE
29+build-type: Simple
30+
31+library
32+ exposed-modules: Text.Parsers.Frisby, Text.Parsers.Frisby.Char
33+ build-depends: base>=4 && <5, containers, mtl, array, semigroups
34+
35+source-repository head
36+ type: git
37+ location: https://github.com/bgamari/frisby
test/golden-test-cases/frisby.nix.goldennew file+14
@@ -0,0 +1,14 @@
1+{ mkDerivation, array, base, containers, fetchurl, mtl, semigroups
2+}:
3+mkDerivation {
4+ pname = "frisby";
5+ version = "0.2.2";
6+ src = fetchurl {
7+ url = "http://example.org/";
8+ sha256 = "abc";
9+ };
10+ libraryHaskellDepends = [ array base containers mtl semigroups ];
11+ homepage = "http://repetae.net/computer/frisby/";
12+ description = "Linear time composable parser for PEG grammars";
13+ license = stdenv.lib.licenses.bsd3;
14+}
test/golden-test-cases/funcmp.cabalnew file+92
@@ -0,0 +1,92 @@
1+-- Copyright (c) 2005-2010 Peter Simons
2+--
3+-- This program is free software: you can redistribute it and/or modify
4+-- it under the terms of the GNU General Public License as published by
5+-- the Free Software Foundation, either version 3 of the License, or
6+-- (at your option) any later version.
7+--
8+-- This program is distributed in the hope that it will be useful,
9+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
10+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+-- GNU General Public License for more details.
12+--
13+-- You should have received a copy of the GNU General Public License
14+-- along with this program. If not, see <http://www.gnu.org/licenses/>.
15+
16+Name: funcmp
17+Version: 1.8
18+License: GPL-3
19+License-File: COPYING
20+Author: Meik Hellmund, Ralf Hinze, Joachim Korittky,
21+ Marco Kuhlmann, Ferenc Wágner, Peter Simons,
22+ Robin Green
23+Maintainer: Peter Simons <simons@cryp.to>
24+Homepage: http://savannah.nongnu.org/projects/funcmp/
25+Bug-Reports: http://savannah.nongnu.org/bugs/?func=additem&group=funcmp
26+Category: Graphics
27+Synopsis: Functional MetaPost
28+Description: Functional MetaPost is a Haskell frontend to the
29+ MetaPost language by John Hobby. Users write their
30+ graphics as Haskell programs, which then emit MetaPost
31+ code that can be compiled into encapsulated PostScript
32+ files and smoothly included into e.g. LaTeX.
33+ .
34+ A collection of useful examples how to use Functional
35+ MetaPost can be found in the user's manual at
36+ <http://download.savannah.nongnu.org/releases/funcmp/Manual_eng.ps>. The
37+ document doesn't offer very much detail in terms of
38+ explanations, but the code samples are quite helpful.
39+ .
40+ Further documentation can be found in the original
41+ thesis that describes the implementation. The text is
42+ available in German at
43+ <http://download.savannah.nongnu.org/releases/funcmp/Thesis.ps> and in
44+ English at
45+ <http://download.savannah.nongnu.org/releases/funcmp/Thesis_eng.ps>.
46+ .
47+ Last but not least, there is a tutorial that offers many
48+ helpful examples available in German at
49+ <http://download.savannah.nongnu.org/releases/funcmp/Tutorial.ps> and in
50+ English at
51+ <http://download.savannah.nongnu.org/releases/funcmp/Tutorial_eng.ps>.
52+Cabal-Version: >= 1.6
53+Build-Type: Simple
54+Tested-With: GHC >= 6.10.4 && <= 7.10.1
55+
56+Data-files: doc/FMPMain.hs
57+ doc/Manual.lhs
58+ doc/Manual_eng.lhs
59+ doc/README.doc
60+ doc/Tutorial.lhs
61+ doc/Tutorial_eng.lhs
62+ doc/fmp.ini
63+ doc/lhs2TeX.fmt
64+ texmf/FuncMP.mp
65+ texmf/fmp1.mf
66+ texmf/fmp24.mf
67+ texmf/fmp8.mf
68+
69+Source-Repository head
70+ Type: git
71+ Location: git://git.savannah.nongnu.org/funcmp.git
72+
73+Library
74+ Build-Depends: base >= 3 && <= 5, process >= 1.0.1.1, filepath
75+ Exposed-Modules: FMP
76+ FMP.Canvas
77+ FMP.Color
78+ FMP.Core
79+ FMP.File
80+ FMP.Frames
81+ FMP.Matrix
82+ FMP.PP
83+ FMP.Picture
84+ FMP.RedBlack
85+ FMP.Resolve
86+ FMP.Symbols
87+ FMP.Syntax
88+ FMP.Term
89+ FMP.Tree
90+ FMP.Turtle
91+ FMP.Types
92+ Other-Modules: Paths_funcmp
test/golden-test-cases/funcmp.nix.goldennew file+14
@@ -0,0 +1,14 @@
1+{ mkDerivation, base, fetchurl, filepath, process }:
2+mkDerivation {
3+ pname = "funcmp";
4+ version = "1.8";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ enableSeparateDataOutput = true;
10+ libraryHaskellDepends = [ base filepath process ];
11+ homepage = "http://savannah.nongnu.org/projects/funcmp/";
12+ description = "Functional MetaPost";
13+ license = stdenv.lib.licenses.gpl3;
14+}
test/golden-test-cases/functor-classes-compat.cabalnew file+147
@@ -0,0 +1,147 @@
1+name: functor-classes-compat
2+version: 1
3+synopsis: Data.Functor.Classes instances for core packages
4+description:
5+ "Data.Functor.Classes" instances for core packages:
6+ .
7+ * containers
8+ .
9+ * vector
10+ .
11+ * unordered-containers
12+homepage: https://github.com/phadej/functor-classes-compat#readme
13+bug-reports: https://github.com/phadej/functor-classes-compat/issues
14+license: BSD3
15+license-file: LICENSE
16+author: Oleg Grenrus <oleg.grenrus@iki.fi>
17+maintainer: Oleg Grenrus <oleg.grenrus@iki.fi>
18+copyright: 2016 Oleg Grenrus
19+category: Data
20+build-type: Simple
21+extra-source-files: README.md
22+cabal-version: >=1.10
23+tested-with:
24+ GHC==7.4.2,
25+ GHC==7.6.3,
26+ GHC==7.8.4,
27+ GHC==7.10.3,
28+ GHC==8.0.1,
29+ GHC==8.0.2
30+
31+flag base-transformers-1
32+ description: Together with base-transformers-1 pick: base >= 4.9, transformers < 0.4, 0.4.*, or >= 0.5. See cabal file for precise assignments.
33+ manual: False
34+ default: True
35+
36+flag base-transformers-2
37+ description: See base-transformers-1 flag
38+ manual: False
39+ default: True
40+
41+flag vector
42+ description: 'vector >= 0.12'
43+ manual: False
44+ default: True
45+
46+flag containers
47+ description: 'containers >= 0.5.9.1'
48+ manual: False
49+ default: True
50+
51+flag unordered-containers
52+ description: 'unordered-containers >= 0.2.8.0'
53+ manual: False
54+ default: True
55+
56+source-repository head
57+ type: git
58+ location: https://github.com/phadej/functor-classes-compat
59+
60+library
61+ exposed-modules:
62+ Data.Map.Functor.Classes
63+ Data.Set.Functor.Classes
64+ Data.IntMap.Functor.Classes
65+ Data.Vector.Functor.Classes
66+ Data.HashSet.Functor.Classes
67+ Data.HashMap.Functor.Classes
68+ default-language: Haskell2010
69+ ghc-options: -Wall
70+
71+ build-depends: hashable >=1.0.1.1 && <1.3
72+
73+ -- base and transformer dependencies:
74+ -- t t: base >= 4.9
75+ -- t f: transformers >= 0.5
76+ -- f t: transformers < 0.4
77+ -- f f: transformers == 0.4.*
78+ --
79+ -- The order is chosen so 'f f' combination is only requiring src-old
80+ if flag(base-transformers-1)
81+ if flag(base-transformers-2)
82+ build-depends: base >=4.9 && <4.10
83+ else
84+ build-depends: base >= 4.5 && <4.9,
85+ transformers >= 0.5 && <0.6
86+ else
87+ if flag(base-transformers-2)
88+ -- we don't really care about transformers version, as long as it <0.4
89+ -- to make flag selection deterministic
90+ build-depends: base >= 4.5 && <4.9,
91+ transformers < 0.4,
92+ transformers-compat >= 0.5 && <0.6
93+ else
94+ build-depends: base >= 4.5 && <4.9,
95+ transformers >= 0.4 && <0.5
96+
97+
98+ -- containers
99+ if flag(containers)
100+ build-depends: containers >= 0.5.9.1 && <0.6
101+ if flag(base-transformers-1) && flag(base-transformers-2)
102+ hs-source-dirs: src-none/containers
103+ else
104+ if !flag(base-transformers-1) && !flag(base-transformers-2)
105+ hs-source-dirs: src-implicit/containers
106+ else
107+ hs-source-dirs: src-explicit/containers
108+ else
109+ build-depends: containers >= 0.4 && <0.5.9.1
110+ if !flag(base-transformers-1) && !flag(base-transformers-2)
111+ hs-source-dirs: src-implicit/containers
112+ else
113+ hs-source-dirs: src-explicit/containers
114+
115+ -- unordered-containers
116+ if flag(unordered-containers)
117+ build-depends: unordered-containers >= 0.2.8.0 && <0.3
118+ if flag(base-transformers-1) && flag(base-transformers-2)
119+ hs-source-dirs: src-none/unordered-containers
120+ else
121+ if !flag(base-transformers-1) && !flag(base-transformers-2)
122+ hs-source-dirs: src-implicit/unordered-containers
123+ else
124+ hs-source-dirs: src-explicit/unordered-containers
125+ else
126+ build-depends: unordered-containers >= 0.2.7.1 && <0.2.8.0
127+ if !flag(base-transformers-1) && !flag(base-transformers-2)
128+ hs-source-dirs: src-implicit/unordered-containers
129+ else
130+ hs-source-dirs: src-explicit/unordered-containers
131+
132+ -- vector
133+ if flag(vector)
134+ build-depends: vector >= 0.12 && <0.13
135+ if flag(base-transformers-1) && flag(base-transformers-2)
136+ hs-source-dirs: src-none/vector
137+ else
138+ if !flag(base-transformers-1) && !flag(base-transformers-2)
139+ hs-source-dirs: src-implicit/vector
140+ else
141+ hs-source-dirs: src-explicit/vector
142+ else
143+ build-depends: vector >= 0.11.0.0 && <0.12
144+ if !flag(base-transformers-1) && !flag(base-transformers-2)
145+ hs-source-dirs: src-implicit/vector
146+ else
147+ hs-source-dirs: src-explicit/vector
test/golden-test-cases/functor-classes-compat.nix.goldennew file+17
@@ -0,0 +1,17 @@
1+{ mkDerivation, base, containers, fetchurl, hashable
2+, unordered-containers, vector
3+}:
4+mkDerivation {
5+ pname = "functor-classes-compat";
6+ version = "1";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [
12+ base containers hashable unordered-containers vector
13+ ];
14+ homepage = "https://github.com/phadej/functor-classes-compat#readme";
15+ description = "Data.Functor.Classes instances for core packages";
16+ license = stdenv.lib.licenses.bsd3;
17+}
test/golden-test-cases/general-games.cabalnew file+53
@@ -0,0 +1,53 @@
1+name: general-games
2+version: 1.0.5
3+synopsis: Library supporting simulation of a number of games
4+homepage: https://github.com/cgorski/general-games
5+bug-reports: https://github.com/cgorski/general-games/issues
6+license: MIT
7+license-file: LICENSE
8+author: Christopher A. Gorski
9+maintainer: cgorski@cgorski.org
10+copyright: 2017 Christopher A. Gorski
11+category: Game, Poker
12+build-type: Simple
13+extra-source-files: README.md
14+cabal-version: >=1.10
15+
16+description:
17+ Library providing framework for simulating outcomes of a variety
18+ of games, including Poker.
19+
20+source-repository head
21+ type: git
22+ location: git://github.com/cgorski/general-games.git
23+
24+library
25+ hs-source-dirs: src
26+ exposed-modules: Game.Implement.Card
27+ , Game.Implement.Card.Standard
28+ , Game.Implement.Card.Standard.Poker
29+ , Game.Game.Poker
30+
31+ build-depends: base >= 4.7 && < 5
32+ , random-shuffle
33+ , MonadRandom
34+ , random
35+ , monad-loops
36+ default-language: Haskell2010
37+ ghc-options: -Wall
38+
39+test-suite general-games-test
40+ type: exitcode-stdio-1.0
41+ hs-source-dirs: test
42+ main-is: Spec.hs
43+ build-depends: base
44+ , general-games
45+ , HUnit
46+ , hspec
47+ , MonadRandom
48+ ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N1 -O
49+ default-language: Haskell2010
50+
51+source-repository head
52+ type: git
53+ location: https://github.com/cgorski/general-games
test/golden-test-cases/general-games.nix.goldennew file+18
@@ -0,0 +1,18 @@
1+{ mkDerivation, base, fetchurl, hspec, HUnit, monad-loops
2+, MonadRandom, random, random-shuffle
3+}:
4+mkDerivation {
5+ pname = "general-games";
6+ version = "1.0.5";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [
12+ base monad-loops MonadRandom random random-shuffle
13+ ];
14+ testHaskellDepends = [ base hspec HUnit MonadRandom ];
15+ homepage = "https://github.com/cgorski/general-games";
16+ description = "Library supporting simulation of a number of games";
17+ license = stdenv.lib.licenses.mit;
18+}
test/golden-test-cases/generic-lens.cabalnew file+123
@@ -0,0 +1,123 @@
1+name: generic-lens
2+version: 0.5.1.0
3+synopsis: Generic data-structure operations exposed as lenses.
4+description: This package uses the GHC 8 Generic representation to derive various operations on data structures with a lens interface, including structural subtype relationship between records and positional indexing into arbitrary product types.
5+
6+homepage: https://github.com/kcsongor/generic-lens
7+license: BSD3
8+license-file: LICENSE
9+author: Csongor Kiss
10+maintainer: kiss.csongor.kiss@gmail.com
11+category: Generics, Records, Lens
12+build-type: Simple
13+cabal-version: >= 1.10
14+Tested-With: GHC == 8.0.2, GHC == 8.2.1
15+
16+extra-source-files: ChangeLog.md
17+ , examples/StarWars.hs
18+ , examples/Examples.hs
19+ , README.md
20+
21+library
22+ exposed-modules: Data.Generics.Product
23+ , Data.Generics.Product.Any
24+ , Data.Generics.Product.Fields
25+ , Data.Generics.Product.Positions
26+ , Data.Generics.Product.Subtype
27+ , Data.Generics.Product.Typed
28+ --, Data.Generics.Labels
29+
30+ , Data.Generics.Sum
31+ , Data.Generics.Sum.Any
32+ , Data.Generics.Sum.Constructors
33+ , Data.Generics.Sum.Typed
34+ , Data.Generics.Sum.Subtype
35+ , Data.Generics.Internal.Lens
36+
37+ other-modules: Data.Generics.Internal.Families
38+ , Data.Generics.Internal.Families.Changing
39+ , Data.Generics.Internal.Families.Collect
40+ , Data.Generics.Internal.Families.Has
41+ , Data.Generics.Internal.HList
42+ , Data.Generics.Internal.Void
43+
44+ , Data.Generics.Sum.Internal.Constructors
45+ , Data.Generics.Sum.Internal.Typed
46+ , Data.Generics.Sum.Internal.Subtype
47+
48+ , Data.Generics.Product.Internal.Fields
49+ , Data.Generics.Product.Internal.Positions
50+ , Data.Generics.Product.Internal.Subtype
51+ , Data.Generics.Product.Internal.Typed
52+
53+ build-depends: base >= 4.9 && <= 5.0
54+ , profunctors >= 5.0 && <= 6.0
55+ , tagged >= 0.8 && <= 0.9
56+
57+ hs-source-dirs: src
58+ default-language: Haskell2010
59+ ghc-options: -Wall
60+
61+source-repository head
62+ type: git
63+ location: https://github.com/kcsongor/generic-lens
64+
65+test-suite generic-lens-test
66+ type: exitcode-stdio-1.0
67+ hs-source-dirs: test
68+ main-is: Spec.hs
69+
70+ build-depends: base >= 4.9 && <= 5.0
71+ , generic-lens
72+ , inspection-testing >= 0.1
73+
74+ default-language: Haskell2010
75+ ghc-options: -Wall
76+
77+test-suite generic-lens-test-25
78+ type: exitcode-stdio-1.0
79+ hs-source-dirs: test
80+ main-is: 25.hs
81+
82+ build-depends: base >= 4.9 && <= 5.0
83+ , generic-lens
84+ , lens
85+
86+ default-language: Haskell2010
87+ ghc-options: -Wall
88+
89+test-suite generic-lens-test-24
90+ type: exitcode-stdio-1.0
91+ hs-source-dirs: test
92+ main-is: 24.hs
93+
94+ build-depends: base >= 4.9 && <= 5.0
95+ , generic-lens
96+ , lens
97+
98+ default-language: Haskell2010
99+ ghc-options: -Wall
100+
101+test-suite doctests
102+ default-language: Haskell2010
103+ type: exitcode-stdio-1.0
104+ ghc-options: -threaded
105+ main-is: doctest.hs
106+ build-depends: base >4 && <5, doctest
107+ hs-source-dirs: test
108+
109+benchmark generic-lens-bench
110+ type: exitcode-stdio-1.0
111+ hs-source-dirs: benchmarks
112+ main-is: Bench.hs
113+
114+ build-depends: generic-lens
115+
116+ , base >= 4.9 && <= 5.0
117+ , QuickCheck
118+ , criterion
119+ , deepseq
120+ , lens
121+
122+ default-language: Haskell2010
123+ ghc-options: -Wall
test/golden-test-cases/generic-lens.nix.goldennew file+19
@@ -0,0 +1,19 @@
1+{ mkDerivation, base, criterion, deepseq, doctest, fetchurl
2+, inspection-testing, lens, profunctors, QuickCheck, tagged
3+}:
4+mkDerivation {
5+ pname = "generic-lens";
6+ version = "0.5.1.0";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [ base profunctors tagged ];
12+ testHaskellDepends = [ base doctest inspection-testing lens ];
13+ benchmarkHaskellDepends = [
14+ base criterion deepseq lens QuickCheck
15+ ];
16+ homepage = "https://github.com/kcsongor/generic-lens";
17+ description = "Generic data-structure operations exposed as lenses";
18+ license = stdenv.lib.licenses.bsd3;
19+}
test/golden-test-cases/genvalidity-aeson.cabalnew file+51
@@ -0,0 +1,51 @@
1+name: genvalidity-aeson
2+version: 0.1.0.0
3+cabal-version: >=1.10
4+build-type: Simple
5+license: MIT
6+license-file: LICENSE
7+copyright: Copyright: (c) 2017 Tom Sydney Kerckhove
8+maintainer: syd.kerckhove@gmail.com
9+homepage: https://github.com/NorfairKing/validity#readme
10+synopsis: GenValidity support for aeson
11+description:
12+ Please see README.md
13+category: Testing
14+author: Tom Sydney Kerckhove
15+
16+source-repository head
17+ type: git
18+ location: https://github.com/NorfairKing/validity
19+
20+library
21+ exposed-modules:
22+ Data.GenValidity.Aeson
23+ build-depends:
24+ base <5,
25+ QuickCheck -any,
26+ genvalidity >=0.4 && <0.5,
27+ validity >=0.4 && <0.5,
28+ validity-aeson >=0.1 && <0.2,
29+ genvalidity-text >=0.4 && <0.5,
30+ genvalidity-vector >=0.1 && <0.2,
31+ genvalidity-unordered-containers >=0.1 && <0.2,
32+ genvalidity-scientific >=0.1 && <0.2,
33+ aeson -any
34+ default-language: Haskell2010
35+ hs-source-dirs: src
36+
37+test-suite genvalidity-aeson-test
38+ type: exitcode-stdio-1.0
39+ main-is: Spec.hs
40+ build-depends:
41+ base >=4.9 && <=5,
42+ genvalidity -any,
43+ genvalidity-hspec -any,
44+ genvalidity-aeson -any,
45+ hspec >=2.2 && <2.5,
46+ aeson -any
47+ default-language: Haskell2010
48+ hs-source-dirs: test/
49+ other-modules:
50+ Test.Validity.AesonSpec
51+ ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
test/golden-test-cases/genvalidity-aeson.nix.goldennew file+24
@@ -0,0 +1,24 @@
1+{ mkDerivation, aeson, base, fetchurl, genvalidity
2+, genvalidity-hspec, genvalidity-scientific, genvalidity-text
3+, genvalidity-unordered-containers, genvalidity-vector, hspec
4+, QuickCheck, validity, validity-aeson
5+}:
6+mkDerivation {
7+ pname = "genvalidity-aeson";
8+ version = "0.1.0.0";
9+ src = fetchurl {
10+ url = "http://example.org/";
11+ sha256 = "abc";
12+ };
13+ libraryHaskellDepends = [
14+ aeson base genvalidity genvalidity-scientific genvalidity-text
15+ genvalidity-unordered-containers genvalidity-vector QuickCheck
16+ validity validity-aeson
17+ ];
18+ testHaskellDepends = [
19+ aeson base genvalidity genvalidity-hspec hspec
20+ ];
21+ homepage = "https://github.com/NorfairKing/validity#readme";
22+ description = "GenValidity support for aeson";
23+ license = stdenv.lib.licenses.mit;
24+}
test/golden-test-cases/genvalidity-hspec-aeson.cabalnew file+63
@@ -0,0 +1,63 @@
1+name: genvalidity-hspec-aeson
2+version: 0.1.0.1
3+cabal-version: >=1.10
4+build-type: Simple
5+license: MIT
6+license-file: LICENSE
7+copyright: Copyright: (c) 2016 Tom Sydney Kerckhove
8+maintainer: syd.kerckhove@gmail.com
9+homepage: http://cs-syd.eu
10+synopsis: Standard spec's for aeson-related instances
11+description:
12+ Standard spec's for aeson-related Instances
13+category: Testing
14+author: Tom Sydney Kerckhove
15+
16+source-repository head
17+ type: git
18+ location: https://github.com/NorfairKing/validity
19+
20+library
21+ exposed-modules:
22+ Test.Validity.Aeson
23+ build-depends:
24+ base >=4.9 && <=5,
25+ genvalidity-hspec >=0.5 && <0.6,
26+ genvalidity >=0.4 && <0.5,
27+ hspec -any,
28+ aeson >=0.11 && <1.3,
29+ QuickCheck -any,
30+ deepseq >=1.4 && <1.5,
31+ bytestring -any
32+ default-language: Haskell2010
33+ hs-source-dirs: src/
34+ ghc-options: -Wall
35+
36+test-suite genvalidity-hspec-aeson-doctests
37+ type: exitcode-stdio-1.0
38+ main-is: DocTest.hs
39+ build-depends:
40+ base -any,
41+ doctest >=0.11 && <0.12,
42+ genvalidity-hspec-aeson -any
43+ default-language: Haskell2010
44+ hs-source-dirs: test
45+ ghc-options: -threaded
46+test-suite genvalidity-hspec-aeson-test
47+ type: exitcode-stdio-1.0
48+ main-is: Spec.hs
49+ build-depends:
50+ aeson -any,
51+ base -any,
52+ genvalidity -any,
53+ genvalidity-aeson -any,
54+ genvalidity-hspec -any,
55+ genvalidity-hspec-aeson -any,
56+ genvalidity-text -any,
57+ hspec -any,
58+ text -any
59+ default-language: Haskell2010
60+ hs-source-dirs: test/
61+ other-modules:
62+ Test.Validity.AesonSpec
63+ ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
test/golden-test-cases/genvalidity-hspec-aeson.nix.goldennew file+23
@@ -0,0 +1,23 @@
1+{ mkDerivation, aeson, base, bytestring, deepseq, doctest, fetchurl
2+, genvalidity, genvalidity-aeson, genvalidity-hspec
3+, genvalidity-text, hspec, QuickCheck, text
4+}:
5+mkDerivation {
6+ pname = "genvalidity-hspec-aeson";
7+ version = "0.1.0.1";
8+ src = fetchurl {
9+ url = "http://example.org/";
10+ sha256 = "abc";
11+ };
12+ libraryHaskellDepends = [
13+ aeson base bytestring deepseq genvalidity genvalidity-hspec hspec
14+ QuickCheck
15+ ];
16+ testHaskellDepends = [
17+ aeson base doctest genvalidity genvalidity-aeson genvalidity-hspec
18+ genvalidity-text hspec text
19+ ];
20+ homepage = "http://cs-syd.eu";
21+ description = "Standard spec's for aeson-related instances";
22+ license = stdenv.lib.licenses.mit;
23+}
test/golden-test-cases/genvalidity-hspec-binary.cabalnew file+59
@@ -0,0 +1,59 @@
1+name: genvalidity-hspec-binary
2+version: 0.1.0.0
3+cabal-version: >=1.10
4+build-type: Simple
5+license: MIT
6+license-file: LICENSE
7+copyright: 2017 Tom Sydney Kerckhove
8+maintainer: syd.kerckhove@gmail.com
9+homepage: https://github.com/NorfairKing/validity#readme
10+synopsis: Standard spec's for binary-related Instances
11+description:
12+ Standard spec's for cereal-related Instances, see https://hackage.haskell.org/package/binary.
13+category: Testing
14+author: Nick Van den Broeck
15+extra-source-files:
16+ README.md
17+
18+source-repository head
19+ type: git
20+ location: https://github.com/NorfairKing/validity
21+
22+library
23+ exposed-modules:
24+ Test.Validity.Binary
25+ build-depends:
26+ base >=4.9 && <=5,
27+ QuickCheck -any,
28+ binary >=0.5 && <0.9,
29+ deepseq >=1.4 && <1.5,
30+ genvalidity >=0.4 && <0.5,
31+ genvalidity-hspec >=0.5 && <0.6,
32+ hspec -any
33+ default-language: Haskell2010
34+ hs-source-dirs: src/
35+ ghc-options: -Wall
36+
37+test-suite genvalidity-hspec-binary-doctests
38+ type: exitcode-stdio-1.0
39+ main-is: DocTest.hs
40+ build-depends:
41+ base -any,
42+ doctest >=0.11 && <0.12,
43+ genvalidity-hspec-binary -any
44+ default-language: Haskell2010
45+ hs-source-dirs: test
46+ ghc-options: -threaded
47+test-suite genvalidity-hspec-binary-test
48+ type: exitcode-stdio-1.0
49+ main-is: Spec.hs
50+ build-depends:
51+ base -any,
52+ genvalidity -any,
53+ genvalidity-hspec-binary -any,
54+ hspec -any
55+ default-language: Haskell2010
56+ hs-source-dirs: test/
57+ other-modules:
58+ Test.Validity.BinarySpec
59+ ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
test/golden-test-cases/genvalidity-hspec-binary.nix.goldennew file+18
@@ -0,0 +1,18 @@
1+{ mkDerivation, base, binary, deepseq, doctest, fetchurl
2+, genvalidity, genvalidity-hspec, hspec, QuickCheck
3+}:
4+mkDerivation {
5+ pname = "genvalidity-hspec-binary";
6+ version = "0.1.0.0";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [
12+ base binary deepseq genvalidity genvalidity-hspec hspec QuickCheck
13+ ];
14+ testHaskellDepends = [ base doctest genvalidity hspec ];
15+ homepage = "https://github.com/NorfairKing/validity#readme";
16+ description = "Standard spec's for binary-related Instances";
17+ license = stdenv.lib.licenses.mit;
18+}
test/golden-test-cases/genvalidity-scientific.cabalnew file+48
@@ -0,0 +1,48 @@
1+name: genvalidity-scientific
2+version: 0.1.0.0
3+cabal-version: >=1.10
4+build-type: Simple
5+license: MIT
6+license-file: LICENSE
7+copyright: Copyright: (c) 2017 Tom Sydney Kerckhove
8+maintainer: syd.kerckhove@gmail.com
9+homepage: https://github.com/NorfairKing/validity#readme
10+synopsis: GenValidity support for Scientific
11+description:
12+ Please see README.md
13+category: Testing
14+author: Tom Sydney Kerckhove
15+
16+source-repository head
17+ type: git
18+ location: https://github.com/NorfairKing/validity
19+
20+library
21+ exposed-modules:
22+ Data.GenValidity.Scientific
23+ build-depends:
24+ base >=4.7 && <5,
25+ QuickCheck -any,
26+ genvalidity >=0.4 && <0.5,
27+ scientific -any,
28+ validity >=0.4 && <0.5,
29+ validity-scientific >=0.1 && <0.2
30+ default-language: Haskell2010
31+ hs-source-dirs: src
32+
33+test-suite genvalidity-scientific-test
34+ type: exitcode-stdio-1.0
35+ main-is: Spec.hs
36+ build-depends:
37+ base -any,
38+ QuickCheck -any,
39+ genvalidity -any,
40+ genvalidity-hspec -any,
41+ genvalidity-scientific -any,
42+ hspec -any,
43+ scientific -any
44+ default-language: Haskell2010
45+ hs-source-dirs: test
46+ other-modules:
47+ Data.GenValidity.ScientificSpec
48+ ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -fno-warn-name-shadowing
test/golden-test-cases/genvalidity-scientific.nix.goldennew file+20
@@ -0,0 +1,20 @@
1+{ mkDerivation, base, fetchurl, genvalidity, genvalidity-hspec
2+, hspec, QuickCheck, scientific, validity, validity-scientific
3+}:
4+mkDerivation {
5+ pname = "genvalidity-scientific";
6+ version = "0.1.0.0";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [
12+ base genvalidity QuickCheck scientific validity validity-scientific
13+ ];
14+ testHaskellDepends = [
15+ base genvalidity genvalidity-hspec hspec QuickCheck scientific
16+ ];
17+ homepage = "https://github.com/NorfairKing/validity#readme";
18+ description = "GenValidity support for Scientific";
19+ license = stdenv.lib.licenses.mit;
20+}
test/golden-test-cases/genvalidity-uuid.cabalnew file+48
@@ -0,0 +1,48 @@
1+name: genvalidity-uuid
2+version: 0.0.0.0
3+cabal-version: >=1.10
4+build-type: Simple
5+license: MIT
6+license-file: LICENSE
7+copyright: Copyright: (c) 2017 Tom Sydney Kerckhove
8+maintainer: syd.kerckhove@gmail.com
9+homepage: https://github.com/NorfairKing/validity#readme
10+synopsis: GenValidity support for UUID
11+description:
12+ Please see README.md
13+category: Testing
14+author: Tom Sydney Kerckhove
15+
16+source-repository head
17+ type: git
18+ location: https://github.com/NorfairKing/validity
19+
20+library
21+ exposed-modules:
22+ Data.GenValidity.UUID
23+ build-depends:
24+ base >=4.7 && <5,
25+ QuickCheck -any,
26+ genvalidity >=0.4 && <0.5,
27+ uuid -any,
28+ validity >= 0.4 && <0.5,
29+ validity-uuid >= 0.0 && <0.1
30+ default-language: Haskell2010
31+ hs-source-dirs: src
32+
33+test-suite genvalidity-uuid-test
34+ type: exitcode-stdio-1.0
35+ main-is: Spec.hs
36+ build-depends:
37+ base -any,
38+ QuickCheck -any,
39+ genvalidity -any,
40+ genvalidity-hspec -any,
41+ genvalidity-uuid -any,
42+ hspec -any,
43+ uuid -any
44+ default-language: Haskell2010
45+ hs-source-dirs: test
46+ other-modules:
47+ Data.GenValidity.UUIDSpec
48+ ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -fno-warn-name-shadowing
test/golden-test-cases/genvalidity-uuid.nix.goldennew file+20
@@ -0,0 +1,20 @@
1+{ mkDerivation, base, fetchurl, genvalidity, genvalidity-hspec
2+, hspec, QuickCheck, uuid, validity, validity-uuid
3+}:
4+mkDerivation {
5+ pname = "genvalidity-uuid";
6+ version = "0.0.0.0";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [
12+ base genvalidity QuickCheck uuid validity validity-uuid
13+ ];
14+ testHaskellDepends = [
15+ base genvalidity genvalidity-hspec hspec QuickCheck uuid
16+ ];
17+ homepage = "https://github.com/NorfairKing/validity#readme";
18+ description = "GenValidity support for UUID";
19+ license = stdenv.lib.licenses.mit;
20+}
test/golden-test-cases/ghc-syb-utils.cabalnew file+51
@@ -0,0 +1,51 @@
1+name: ghc-syb-utils
2+version: 0.2.3.3
3+license: BSD3
4+license-file: LICENSE
5+author: Claus Reinke
6+copyright: (c) Claus Reinke 2008
7+maintainer: Thomas Schilling <nominolo@googlemail.com>
8+homepage: http://github.com/nominolo/ghc-syb
9+description: Scrap Your Boilerplate utilities for the GHC API.
10+synopsis: Scrap Your Boilerplate utilities for the GHC API.
11+category: Development
12+stability: provisional
13+build-type: Simple
14+cabal-version: >= 1.10
15+tested-with: GHC ==7.8.3, GHC ==7.10.0
16+
17+extra-source-files: test/test-cases/*.hs
18+
19+library
20+ build-depends: base >= 4 && < 5
21+ , syb >= 0.1.0
22+
23+ if impl(ghc >= 7.0)
24+ build-depends:
25+ ghc
26+ else
27+ build-depends:
28+ ghc >= 6.10,
29+ ghc-syb == 0.2.*
30+
31+ hs-source-dirs: .
32+ default-language: Haskell2010
33+ default-extensions: Rank2Types, CPP
34+ ghc-options: -Wall
35+
36+ exposed-modules: GHC.SYB.Utils
37+
38+
39+
40+test-suite regression-tests
41+ type: exitcode-stdio-1.0
42+ hs-source-dirs: test
43+ main-is: Regression.hs
44+ default-language: Haskell2010
45+ build-depends:
46+ base,
47+ directory,
48+ filepath,
49+ ghc,
50+ ghc-paths,
51+ ghc-syb-utils
test/golden-test-cases/ghc-syb-utils.nix.goldennew file+16
@@ -0,0 +1,16 @@
1+{ mkDerivation, base, directory, fetchurl, filepath, ghc, ghc-paths
2+, syb
3+}:
4+mkDerivation {
5+ pname = "ghc-syb-utils";
6+ version = "0.2.3.3";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [ base ghc syb ];
12+ testHaskellDepends = [ base directory filepath ghc ghc-paths ];
13+ homepage = "http://github.com/nominolo/ghc-syb";
14+ description = "Scrap Your Boilerplate utilities for the GHC API";
15+ license = stdenv.lib.licenses.bsd3;
16+}
test/golden-test-cases/ghcid.cabalnew file+117
@@ -0,0 +1,117 @@
1+cabal-version: >= 1.18
2+build-type: Simple
3+name: ghcid
4+version: 0.6.8
5+license: BSD3
6+license-file: LICENSE
7+category: Development
8+author: Neil Mitchell <ndmitchell@gmail.com>, jpmoresmau
9+maintainer: Neil Mitchell <ndmitchell@gmail.com>
10+copyright: Neil Mitchell 2014-2017
11+synopsis: GHCi based bare bones IDE
12+description:
13+ Either \"GHCi as a daemon\" or \"GHC + a bit of an IDE\". A very simple Haskell development tool which shows you the errors in your project and updates them whenever you save. Run @ghcid --topmost --command=ghci@, where @--topmost@ makes the window on top of all others (Windows only) and @--command@ is the command to start GHCi on your project (defaults to @ghci@ if you have a @.ghci@ file, or else to @cabal repl@).
14+homepage: https://github.com/ndmitchell/ghcid#readme
15+bug-reports: https://github.com/ndmitchell/ghcid/issues
16+tested-with: GHC==8.2.1, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3
17+extra-doc-files:
18+ CHANGES.txt
19+ README.md
20+
21+source-repository head
22+ type: git
23+ location: https://github.com/ndmitchell/ghcid.git
24+
25+library
26+ hs-source-dirs: src
27+ default-language: Haskell2010
28+ build-depends:
29+ base >= 4,
30+ filepath,
31+ time,
32+ directory,
33+ extra >= 1.2,
34+ process >= 1.1,
35+ cmdargs >= 0.10
36+ if os(windows)
37+ build-depends: Win32
38+ else
39+ build-depends: unix
40+
41+ exposed-modules:
42+ Language.Haskell.Ghcid
43+ other-modules:
44+ Paths_ghcid
45+ Language.Haskell.Ghcid.Types
46+ Language.Haskell.Ghcid.Parser
47+ Language.Haskell.Ghcid.Util
48+
49+executable ghcid
50+ hs-source-dirs: src
51+ default-language: Haskell2010
52+ ghc-options: -main-is Ghcid.main -threaded
53+ main-is: Ghcid.hs
54+ build-depends:
55+ base == 4.*,
56+ filepath,
57+ time,
58+ directory,
59+ containers,
60+ fsnotify,
61+ extra >= 1.2,
62+ process >= 1.1,
63+ cmdargs >= 0.10,
64+ ansi-terminal,
65+ terminal-size >= 0.3
66+ if os(windows)
67+ build-depends: Win32
68+ else
69+ build-depends: unix
70+ other-modules:
71+ Language.Haskell.Ghcid.Types
72+ Language.Haskell.Ghcid.Parser
73+ Language.Haskell.Ghcid.Terminal
74+ Language.Haskell.Ghcid.Util
75+ Language.Haskell.Ghcid
76+ Paths_ghcid
77+ Session
78+ Wait
79+
80+test-suite ghcid_test
81+ type: exitcode-stdio-1.0
82+ hs-source-dirs: src
83+ main-is: Test.hs
84+ ghc-options: -rtsopts -main-is Test.main -threaded -with-rtsopts=-K1K
85+ default-language: Haskell2010
86+ build-depends:
87+ base >= 4,
88+ filepath,
89+ time,
90+ directory,
91+ process,
92+ containers,
93+ fsnotify,
94+ extra >= 1.2,
95+ ansi-terminal,
96+ terminal-size >= 0.3,
97+ cmdargs,
98+ tasty,
99+ tasty-hunit
100+ if os(windows)
101+ build-depends: Win32
102+ else
103+ build-depends: unix
104+ other-modules:
105+ Ghcid
106+ Language.Haskell.Ghcid
107+ Language.Haskell.Ghcid.Parser
108+ Language.Haskell.Ghcid.Terminal
109+ Language.Haskell.Ghcid.Types
110+ Language.Haskell.Ghcid.Util
111+ Paths_ghcid
112+ Session
113+ Test.API
114+ Test.Ghcid
115+ Test.Parser
116+ Test.Util
117+ Wait
test/golden-test-cases/ghcid.nix.goldennew file+28
@@ -0,0 +1,28 @@
1+{ mkDerivation, ansi-terminal, base, cmdargs, containers, directory
2+, extra, fetchurl, filepath, fsnotify, process, tasty, tasty-hunit
3+, terminal-size, time, unix
4+}:
5+mkDerivation {
6+ pname = "ghcid";
7+ version = "0.6.8";
8+ src = fetchurl {
9+ url = "http://example.org/";
10+ sha256 = "abc";
11+ };
12+ isLibrary = true;
13+ isExecutable = true;
14+ libraryHaskellDepends = [
15+ base cmdargs directory extra filepath process time unix
16+ ];
17+ executableHaskellDepends = [
18+ ansi-terminal base cmdargs containers directory extra filepath
19+ fsnotify process terminal-size time unix
20+ ];
21+ testHaskellDepends = [
22+ ansi-terminal base cmdargs containers directory extra filepath
23+ fsnotify process tasty tasty-hunit terminal-size time unix
24+ ];
25+ homepage = "https://github.com/ndmitchell/ghcid#readme";
26+ description = "GHCi based bare bones IDE";
27+ license = stdenv.lib.licenses.bsd3;
28+}
test/golden-test-cases/giphy-api.cabalnew file+94
@@ -0,0 +1,94 @@
1+-- This file has been generated from package.yaml by hpack version 0.15.0.
2+--
3+-- see: https://github.com/sol/hpack
4+
5+name: giphy-api
6+version: 0.5.2.0
7+synopsis: Giphy HTTP API wrapper and CLI search tool.
8+description: Please see README.md
9+category: Web
10+homepage: http://github.com/passy/giphy-api#readme
11+author: Pascal Hartig
12+maintainer: Pascal Hartig <phartig@rdrei.net>
13+license: BSD3
14+license-file: LICENSE
15+build-type: Simple
16+cabal-version: >= 1.10
17+
18+extra-source-files:
19+ changelog.md
20+ README.md
21+ stack.yaml
22+ test/fixtures/random_response.json
23+ test/fixtures/search_response.json
24+ test/fixtures/translate_response.json
25+
26+flag buildSample
27+ description: Build the sample application.
28+ manual: True
29+ default: False
30+
31+library
32+ hs-source-dirs:
33+ src
34+ ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-record-updates -fwarn-monomorphism-restriction -fwarn-unused-do-bind
35+ build-depends:
36+ base >= 4.7 && < 5
37+ , text
38+ , network-uri
39+ , aeson
40+ , containers
41+ , microlens
42+ , microlens-th
43+ , mtl
44+ , servant >= 0.9
45+ , servant-client >= 0.9
46+ , transformers
47+ , http-api-data
48+ , http-client
49+ , http-client-tls
50+ exposed-modules:
51+ Web.Giphy
52+ other-modules:
53+ Paths_giphy_api
54+ default-language: Haskell2010
55+
56+executable giphy-search
57+ main-is: Main.hs
58+ hs-source-dirs:
59+ app
60+ ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-record-updates -fwarn-monomorphism-restriction -fwarn-unused-do-bind -threaded -rtsopts -with-rtsopts=-N
61+ build-depends:
62+ base >= 4.7 && < 5
63+ , text
64+ , network-uri
65+ if flag(buildSample)
66+ build-depends:
67+ giphy-api
68+ , lens
69+ , optparse-applicative
70+ else
71+ buildable: False
72+ other-modules:
73+ Sample
74+ default-language: Haskell2010
75+
76+test-suite spec
77+ type: exitcode-stdio-1.0
78+ main-is: Spec.hs
79+ hs-source-dirs:
80+ test
81+ ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-record-updates -fwarn-monomorphism-restriction -fwarn-unused-do-bind -threaded -rtsopts -with-rtsopts=-N
82+ build-depends:
83+ base >= 4.7 && < 5
84+ , text
85+ , network-uri
86+ , giphy-api
87+ , aeson
88+ , basic-prelude
89+ , bytestring
90+ , containers
91+ , directory
92+ , hspec
93+ , lens
94+ default-language: Haskell2010
test/golden-test-cases/giphy-api.nix.goldennew file+28
@@ -0,0 +1,28 @@
1+{ mkDerivation, aeson, base, basic-prelude, bytestring, containers
2+, directory, fetchurl, hspec, http-api-data, http-client
3+, http-client-tls, lens, microlens, microlens-th, mtl, network-uri
4+, servant, servant-client, text, transformers
5+}:
6+mkDerivation {
7+ pname = "giphy-api";
8+ version = "0.5.2.0";
9+ src = fetchurl {
10+ url = "http://example.org/";
11+ sha256 = "abc";
12+ };
13+ isLibrary = true;
14+ isExecutable = true;
15+ libraryHaskellDepends = [
16+ aeson base containers http-api-data http-client http-client-tls
17+ microlens microlens-th mtl network-uri servant servant-client text
18+ transformers
19+ ];
20+ executableHaskellDepends = [ base network-uri text ];
21+ testHaskellDepends = [
22+ aeson base basic-prelude bytestring containers directory hspec lens
23+ network-uri text
24+ ];
25+ homepage = "http://github.com/passy/giphy-api#readme";
26+ description = "Giphy HTTP API wrapper and CLI search tool";
27+ license = stdenv.lib.licenses.bsd3;
28+}
test/golden-test-cases/github.cabalnew file+202
@@ -0,0 +1,202 @@
1+name: github
2+version: 0.18
3+synopsis: Access to the GitHub API, v3.
4+description:
5+ The GitHub API provides programmatic access to the full
6+ GitHub Web site, from Issues to Gists to repos down to the underlying git data
7+ like references and trees. This library wraps all of that, exposing a basic but
8+ Haskell-friendly set of functions and data structures.
9+ .
10+ For supported endpoints see "GitHub" module.
11+ .
12+ > import qualified GitHub as GH
13+ >
14+ > main :: IO ()
15+ > main = do
16+ > possibleUser <- GH.executeRequest' $ GH.userInfoR "phadej"
17+ > print possibleUser
18+ .
19+ For more of an overview please see the README: <https://github.com/phadej/github/blob/master/README.md>
20+license: BSD3
21+license-file: LICENSE
22+author: Mike Burns, John Wiegley, Oleg Grenrus
23+maintainer: Oleg Grenrus <oleg.grenrus@iki.fi>
24+homepage: https://github.com/phadej/github
25+copyright: Copyright 2012-2013 Mike Burns, Copyright 2013-2015 John Wiegley, Copyright 2016 Oleg Grenrus
26+category: Network
27+build-type: Simple
28+tested-with: GHC==7.8.4, GHC==7.10.3, GHC==8.0.2, GHC==8.2.1
29+cabal-version: >=1.10
30+extra-source-files:
31+ README.md,
32+ CHANGELOG.md,
33+ fixtures/issue-search.json,
34+ fixtures/list-teams.json,
35+ fixtures/members-list.json,
36+ fixtures/pull-request-opened.json,
37+ fixtures/pull-request-review-requested.json,
38+ fixtures/user-organizations.json,
39+ fixtures/user.json
40+
41+flag aeson-compat
42+ description: Whether to use aeson-compat or aeson-extra
43+ default: True
44+ manual: False
45+
46+source-repository head
47+ type: git
48+ location: git://github.com/phadej/github.git
49+
50+Library
51+ default-language: Haskell2010
52+ ghc-options: -Wall
53+ hs-source-dirs: src
54+ default-extensions:
55+ DataKinds
56+ DeriveDataTypeable
57+ DeriveGeneric
58+ OverloadedStrings
59+ ScopedTypeVariables
60+ other-extensions:
61+ CPP
62+ FlexibleContexts
63+ FlexibleInstances
64+ GADTs
65+ KindSignatures
66+ StandaloneDeriving
67+ exposed-modules:
68+ GitHub
69+ GitHub.Internal.Prelude
70+ GitHub.Auth
71+ GitHub.Data
72+ GitHub.Data.Activities
73+ GitHub.Data.Comments
74+ GitHub.Data.Content
75+ GitHub.Data.Definitions
76+ GitHub.Data.DeployKeys
77+ GitHub.Data.Events
78+ GitHub.Data.Gists
79+ GitHub.Data.GitData
80+ GitHub.Data.Id
81+ GitHub.Data.Issues
82+ GitHub.Data.Milestone
83+ GitHub.Data.Name
84+ GitHub.Data.Options
85+ GitHub.Data.PullRequests
86+ GitHub.Data.Releases
87+ GitHub.Data.Repos
88+ GitHub.Data.Request
89+ GitHub.Data.Reviews
90+ GitHub.Data.Search
91+ GitHub.Data.Statuses
92+ GitHub.Data.Teams
93+ GitHub.Data.URL
94+ GitHub.Data.Webhooks
95+ GitHub.Data.Webhooks.Validate
96+ GitHub.Endpoints.Activity.Events
97+ GitHub.Endpoints.Activity.Starring
98+ GitHub.Endpoints.Activity.Watching
99+ GitHub.Endpoints.Gists
100+ GitHub.Endpoints.Gists.Comments
101+ GitHub.Endpoints.GitData.Blobs
102+ GitHub.Endpoints.GitData.Commits
103+ GitHub.Endpoints.GitData.References
104+ GitHub.Endpoints.GitData.Trees
105+ GitHub.Endpoints.Issues
106+ GitHub.Endpoints.Issues.Comments
107+ GitHub.Endpoints.Issues.Events
108+ GitHub.Endpoints.Issues.Labels
109+ GitHub.Endpoints.Issues.Milestones
110+ GitHub.Endpoints.Organizations
111+ GitHub.Endpoints.Organizations.Members
112+ GitHub.Endpoints.Organizations.Teams
113+ GitHub.Endpoints.PullRequests
114+ GitHub.Endpoints.PullRequests.Reviews
115+ GitHub.Endpoints.PullRequests.Comments
116+ GitHub.Endpoints.Repos
117+ GitHub.Endpoints.Repos.Collaborators
118+ GitHub.Endpoints.Repos.Comments
119+ GitHub.Endpoints.Repos.Commits
120+ GitHub.Endpoints.Repos.Contents
121+ GitHub.Endpoints.Repos.DeployKeys
122+ GitHub.Endpoints.Repos.Forks
123+ GitHub.Endpoints.Repos.Releases
124+ GitHub.Endpoints.Repos.Statuses
125+ GitHub.Endpoints.Repos.Webhooks
126+ GitHub.Endpoints.Search
127+ GitHub.Endpoints.Users
128+ GitHub.Endpoints.Users.Followers
129+ GitHub.Request
130+
131+ -- Packages needed in order to build this package.
132+ build-depends: base >=4.7 && <4.11,
133+ aeson >=0.7.0.6 && <1.3,
134+ base-compat >=0.9.1 && <0.10,
135+ base16-bytestring >=0.1.1.6 && <0.2,
136+ binary >=0.7.1.0 && <0.10,
137+ binary-orphans >=0.1.0.0 && <0.2,
138+ byteable >=0.1.1 && <0.2,
139+ bytestring >=0.10.4.0 && <0.11,
140+ containers >=0.5.5.1 && <0.6,
141+ cryptohash >=0.11 && <0.12,
142+ deepseq >=1.3.0.2 && <1.5,
143+ deepseq-generics >=0.1.1.2 && <0.3,
144+ exceptions >=0.8.0.2 && <0.9,
145+ hashable >=1.2.3.3 && <1.3,
146+ http-client >=0.4.8.1 && <0.6,
147+ http-client-tls >=0.2.2 && <0.4,
148+ http-link-header >=1.0.1 && <1.1,
149+ http-types >=0.8.6 && <0.11,
150+ iso8601-time >=0.1.4 && <0.2,
151+ mtl >=2.1.3.1 && <2.3,
152+ network-uri >=2.6.0.3 && <2.7,
153+ semigroups >=0.16.2.2 && <0.19,
154+ text >=1.2.0.6 && <1.3,
155+ time >=1.4 && <1.9,
156+ transformers >=0.3.0.0 && <0.6,
157+ transformers-compat >=0.4.0.3 && <0.6,
158+ unordered-containers >=0.2 && <0.3,
159+ vector >=0.10.12.3 && <0.13,
160+ vector-instances >=3.3.0.1 && <3.5,
161+
162+ tls >=1.3.5
163+
164+ if flag(aeson-compat)
165+ build-depends: aeson-compat >=0.3.0.0 && <0.4
166+ else
167+ build-depends: aeson-extra >=0.2.0.0 && <0.3
168+
169+test-suite github-test
170+ default-language: Haskell2010
171+ type: exitcode-stdio-1.0
172+ hs-source-dirs: spec
173+ other-extensions:
174+ TemplateHaskell
175+ other-modules:
176+ GitHub.ActivitySpec
177+ GitHub.CommitsSpec
178+ GitHub.OrganizationsSpec
179+ GitHub.IssuesSpec
180+ GitHub.PullRequestsSpec
181+ GitHub.PullRequestReviewsSpec
182+ GitHub.ReleasesSpec
183+ GitHub.ReposSpec
184+ GitHub.SearchSpec
185+ GitHub.UsersSpec
186+ GitHub.EventsSpec
187+ main-is: Spec.hs
188+ ghc-options: -Wall
189+ build-tool-depends: hspec-discover:hspec-discover
190+ build-depends: base,
191+ base-compat,
192+ bytestring,
193+ github,
194+ vector,
195+ unordered-containers,
196+ file-embed,
197+ hspec
198+ if flag(aeson-compat)
199+ build-depends: aeson-compat
200+ else
201+ build-depends: aeson-extra
202+
test/golden-test-cases/github.nix.goldennew file+33
@@ -0,0 +1,33 @@
1+{ mkDerivation, aeson, aeson-compat, base, base-compat
2+, base16-bytestring, binary, binary-orphans, byteable, bytestring
3+, containers, cryptohash, deepseq, deepseq-generics, exceptions
4+, fetchurl, file-embed, hashable, hspec, hspec-discover
5+, http-client, http-client-tls, http-link-header, http-types
6+, iso8601-time, mtl, network-uri, semigroups, text, time, tls
7+, transformers, transformers-compat, unordered-containers, vector
8+, vector-instances
9+}:
10+mkDerivation {
11+ pname = "github";
12+ version = "0.18";
13+ src = fetchurl {
14+ url = "http://example.org/";
15+ sha256 = "abc";
16+ };
17+ libraryHaskellDepends = [
18+ aeson aeson-compat base base-compat base16-bytestring binary
19+ binary-orphans byteable bytestring containers cryptohash deepseq
20+ deepseq-generics exceptions hashable http-client http-client-tls
21+ http-link-header http-types iso8601-time mtl network-uri semigroups
22+ text time tls transformers transformers-compat unordered-containers
23+ vector vector-instances
24+ ];
25+ testHaskellDepends = [
26+ aeson-compat base base-compat bytestring file-embed hspec
27+ unordered-containers vector
28+ ];
29+ testToolDepends = [ hspec-discover ];
30+ homepage = "https://github.com/phadej/github";
31+ description = "Access to the GitHub API, v3";
32+ license = stdenv.lib.licenses.bsd3;
33+}
test/golden-test-cases/gl.cabalnew file+917
@@ -0,0 +1,917 @@
1+name: gl
2+version: 0.8.0
3+synopsis: Complete OpenGL raw bindings
4+description: Complete OpenGL raw bindings
5+license: BSD3
6+license-file: LICENSE
7+author: Edward A. Kmett, Gabríel Arthúr Pétursson, Sven Panne
8+maintainer: ekmett@gmail.com
9+copyright: Copyright © 2014-2017 Edward A. Kmett,
10+ Copyright © 2014-2017 Gabríel Arthúr Pétursson,
11+ Copyright © 2013 Sven Panne
12+category: Graphics
13+build-type: Custom
14+cabal-version: >=1.24
15+extra-source-files:
16+ gl.xml man.txt extensions.txt
17+ CHANGELOG.markdown README.markdown TODO.markdown
18+ Generator.hs Module.hs Parser.hs Registry.hs Utils.hs
19+
20+source-repository head
21+ type: git
22+ location: https://github.com/ekmett/gl
23+
24+custom-setup
25+ setup-depends:
26+ base == 4.*
27+ , Cabal >= 1.24
28+ , directory >= 1.2 && <= 1.4
29+ , filepath >= 1.3 && < 1.5
30+ , hxt == 9.3.*
31+ , transformers >= 0.2 && < 0.6
32+ , containers == 0.5.*
33+
34+flag UseNativeWindowsLibraries
35+ description:
36+ When compiling under Windows, use the native libraries instead of e.g. the
37+ ones coming with Cygwin.
38+
39+flag UseGlXGetProcAddress
40+ description:
41+ Use glXGetProcAddress instead of dlsym on non-Windows/-Darwin platforms.
42+
43+library
44+ hs-source-dirs: src
45+ c-sources: cbits/gl.c
46+ ghc-options: -Wall -O2
47+
48+ build-depends:
49+ base == 4.*
50+ , containers == 0.5.*
51+ , fixed >= 0.2.1 && < 0.3
52+ , half >= 0.2 && < 0.3
53+ , transformers >= 0.2 && < 0.6
54+
55+ -- for Setup.hs
56+ build-depends:
57+
58+ default-language: Haskell2010
59+
60+ if impl(ghc >= 8)
61+ ghc-options: -Wno-missing-pattern-synonym-signatures
62+
63+ if os(windows) && flag(UseNativeWindowsLibraries)
64+ if arch(i386)
65+ cpp-options: "-DCALLCONV=stdcall"
66+ else
67+ cpp-options: "-DCALLCONV=ccall"
68+ cc-options: "-DUSE_WGLGETPROCADDRESS"
69+ extra-libraries: opengl32
70+ else
71+ cpp-options: "-DCALLCONV=ccall"
72+ if !os(darwin) && !os(ios) && flag(UseGlXGetProcAddress)
73+ cc-options: "-DUSE_GLXGETPROCADDRESS"
74+ else
75+ cc-options: "-DUSE_DLSYM"
76+ if os(darwin)
77+ frameworks: OpenGL
78+ else
79+ if os(ios)
80+ frameworks: OpenGLES
81+ else
82+ extra-libraries: GL
83+
84+ exposed-modules:
85+ Graphics.GL
86+ Graphics.GL.Compatibility32
87+ Graphics.GL.Compatibility33
88+ Graphics.GL.Compatibility40
89+ Graphics.GL.Compatibility41
90+ Graphics.GL.Compatibility42
91+ Graphics.GL.Compatibility43
92+ Graphics.GL.Compatibility44
93+ Graphics.GL.Compatibility45
94+ Graphics.GL.Core32
95+ Graphics.GL.Core33
96+ Graphics.GL.Core40
97+ Graphics.GL.Core41
98+ Graphics.GL.Core42
99+ Graphics.GL.Core43
100+ Graphics.GL.Core44
101+ Graphics.GL.Core45
102+ Graphics.GL.Embedded20
103+ Graphics.GL.Embedded30
104+ Graphics.GL.Embedded31
105+ Graphics.GL.Embedded32
106+ Graphics.GL.EmbeddedCommon11
107+ Graphics.GL.EmbeddedLite11
108+ Graphics.GL.Ext
109+ Graphics.GL.Ext.AMD
110+ Graphics.GL.Ext.AMD.BlendMinmaxFactor
111+ Graphics.GL.Ext.AMD.Compressed3DCTexture
112+ Graphics.GL.Ext.AMD.CompressedATCTexture
113+ Graphics.GL.Ext.AMD.ConservativeDepth
114+ Graphics.GL.Ext.AMD.DebugOutput
115+ Graphics.GL.Ext.AMD.DepthClampSeparate
116+ Graphics.GL.Ext.AMD.DrawBuffersBlend
117+ Graphics.GL.Ext.AMD.FramebufferSamplePositions
118+ Graphics.GL.Ext.AMD.GcnShader
119+ Graphics.GL.Ext.AMD.GpuShaderHalfFloat
120+ Graphics.GL.Ext.AMD.GpuShaderInt64
121+ Graphics.GL.Ext.AMD.InterleavedElements
122+ Graphics.GL.Ext.AMD.MultiDrawIndirect
123+ Graphics.GL.Ext.AMD.NameGenDelete
124+ Graphics.GL.Ext.AMD.OcclusionQueryEvent
125+ Graphics.GL.Ext.AMD.PerformanceMonitor
126+ Graphics.GL.Ext.AMD.PinnedMemory
127+ Graphics.GL.Ext.AMD.ProgramBinaryZ400
128+ Graphics.GL.Ext.AMD.QueryBufferObject
129+ Graphics.GL.Ext.AMD.SamplePositions
130+ Graphics.GL.Ext.AMD.SeamlessCubemapPerTexture
131+ Graphics.GL.Ext.AMD.ShaderAtomicCounterOps
132+ Graphics.GL.Ext.AMD.ShaderBallot
133+ Graphics.GL.Ext.AMD.ShaderExplicitVertexParameter
134+ Graphics.GL.Ext.AMD.ShaderStencilExport
135+ Graphics.GL.Ext.AMD.ShaderTrinaryMinmax
136+ Graphics.GL.Ext.AMD.SparseTexture
137+ Graphics.GL.Ext.AMD.StencilOperationExtended
138+ Graphics.GL.Ext.AMD.TextureTexture4
139+ Graphics.GL.Ext.AMD.TransformFeedback3LinesTriangles
140+ Graphics.GL.Ext.AMD.TransformFeedback4
141+ Graphics.GL.Ext.AMD.VertexShaderLayer
142+ Graphics.GL.Ext.AMD.VertexShaderTessellator
143+ Graphics.GL.Ext.AMD.VertexShaderViewportIndex
144+ Graphics.GL.Ext.ANDROID
145+ Graphics.GL.Ext.ANDROID.ExtensionPackEs31a
146+ Graphics.GL.Ext.ANGLE
147+ Graphics.GL.Ext.ANGLE.DepthTexture
148+ Graphics.GL.Ext.ANGLE.FramebufferBlit
149+ Graphics.GL.Ext.ANGLE.FramebufferMultisample
150+ Graphics.GL.Ext.ANGLE.InstancedArrays
151+ Graphics.GL.Ext.ANGLE.PackReverseRowOrder
152+ Graphics.GL.Ext.ANGLE.ProgramBinary
153+ Graphics.GL.Ext.ANGLE.TextureCompressionDxt3
154+ Graphics.GL.Ext.ANGLE.TextureCompressionDxt5
155+ Graphics.GL.Ext.ANGLE.TextureUsage
156+ Graphics.GL.Ext.ANGLE.TranslatedShaderSource
157+ Graphics.GL.Ext.APPLE
158+ Graphics.GL.Ext.APPLE.AuxDepthStencil
159+ Graphics.GL.Ext.APPLE.ClientStorage
160+ Graphics.GL.Ext.APPLE.ClipDistance
161+ Graphics.GL.Ext.APPLE.ColorBufferPackedFloat
162+ Graphics.GL.Ext.APPLE.CopyTextureLevels
163+ Graphics.GL.Ext.APPLE.ElementArray
164+ Graphics.GL.Ext.APPLE.Fence
165+ Graphics.GL.Ext.APPLE.FloatPixels
166+ Graphics.GL.Ext.APPLE.FlushBufferRange
167+ Graphics.GL.Ext.APPLE.FramebufferMultisample
168+ Graphics.GL.Ext.APPLE.ObjectPurgeable
169+ Graphics.GL.Ext.APPLE.Rgb422
170+ Graphics.GL.Ext.APPLE.RowBytes
171+ Graphics.GL.Ext.APPLE.SpecularVector
172+ Graphics.GL.Ext.APPLE.Sync
173+ Graphics.GL.Ext.APPLE.Texture2DLimitedNpot
174+ Graphics.GL.Ext.APPLE.TextureFormatBGRA8888
175+ Graphics.GL.Ext.APPLE.TextureMaxLevel
176+ Graphics.GL.Ext.APPLE.TexturePackedFloat
177+ Graphics.GL.Ext.APPLE.TextureRange
178+ Graphics.GL.Ext.APPLE.TransformHint
179+ Graphics.GL.Ext.APPLE.VertexArrayObject
180+ Graphics.GL.Ext.APPLE.VertexArrayRange
181+ Graphics.GL.Ext.APPLE.VertexProgramEvaluators
182+ Graphics.GL.Ext.APPLE.Ycbcr422
183+ Graphics.GL.Ext.ARB
184+ Graphics.GL.Ext.ARB.ArraysOfArrays
185+ Graphics.GL.Ext.ARB.BaseInstance
186+ Graphics.GL.Ext.ARB.BindlessTexture
187+ Graphics.GL.Ext.ARB.BlendFuncExtended
188+ Graphics.GL.Ext.ARB.BufferStorage
189+ Graphics.GL.Ext.ARB.ClEvent
190+ Graphics.GL.Ext.ARB.ClearBufferObject
191+ Graphics.GL.Ext.ARB.ClearTexture
192+ Graphics.GL.Ext.ARB.ClipControl
193+ Graphics.GL.Ext.ARB.ColorBufferFloat
194+ Graphics.GL.Ext.ARB.Compatibility
195+ Graphics.GL.Ext.ARB.CompressedTexturePixelStorage
196+ Graphics.GL.Ext.ARB.ComputeShader
197+ Graphics.GL.Ext.ARB.ComputeVariableGroupSize
198+ Graphics.GL.Ext.ARB.ConditionalRenderInverted
199+ Graphics.GL.Ext.ARB.ConservativeDepth
200+ Graphics.GL.Ext.ARB.CopyBuffer
201+ Graphics.GL.Ext.ARB.CopyImage
202+ Graphics.GL.Ext.ARB.CullDistance
203+ Graphics.GL.Ext.ARB.DebugOutput
204+ Graphics.GL.Ext.ARB.DepthBufferFloat
205+ Graphics.GL.Ext.ARB.DepthClamp
206+ Graphics.GL.Ext.ARB.DepthTexture
207+ Graphics.GL.Ext.ARB.DerivativeControl
208+ Graphics.GL.Ext.ARB.DirectStateAccess
209+ Graphics.GL.Ext.ARB.DrawBuffers
210+ Graphics.GL.Ext.ARB.DrawBuffersBlend
211+ Graphics.GL.Ext.ARB.DrawElementsBaseVertex
212+ Graphics.GL.Ext.ARB.DrawIndirect
213+ Graphics.GL.Ext.ARB.DrawInstanced
214+ Graphics.GL.Ext.ARB.ES2Compatibility
215+ Graphics.GL.Ext.ARB.ES31Compatibility
216+ Graphics.GL.Ext.ARB.ES32Compatibility
217+ Graphics.GL.Ext.ARB.ES3Compatibility
218+ Graphics.GL.Ext.ARB.EnhancedLayouts
219+ Graphics.GL.Ext.ARB.ExplicitAttribLocation
220+ Graphics.GL.Ext.ARB.ExplicitUniformLocation
221+ Graphics.GL.Ext.ARB.FragmentCoordConventions
222+ Graphics.GL.Ext.ARB.FragmentLayerViewport
223+ Graphics.GL.Ext.ARB.FragmentProgram
224+ Graphics.GL.Ext.ARB.FragmentProgramShadow
225+ Graphics.GL.Ext.ARB.FragmentShader
226+ Graphics.GL.Ext.ARB.FragmentShaderInterlock
227+ Graphics.GL.Ext.ARB.FramebufferNoAttachments
228+ Graphics.GL.Ext.ARB.FramebufferObject
229+ Graphics.GL.Ext.ARB.FramebufferSRGB
230+ Graphics.GL.Ext.ARB.GeometryShader4
231+ Graphics.GL.Ext.ARB.GetProgramBinary
232+ Graphics.GL.Ext.ARB.GetTextureSubImage
233+ Graphics.GL.Ext.ARB.GpuShader5
234+ Graphics.GL.Ext.ARB.GpuShaderFp64
235+ Graphics.GL.Ext.ARB.GpuShaderInt64
236+ Graphics.GL.Ext.ARB.HalfFloatPixel
237+ Graphics.GL.Ext.ARB.HalfFloatVertex
238+ Graphics.GL.Ext.ARB.Imaging
239+ Graphics.GL.Ext.ARB.IndirectParameters
240+ Graphics.GL.Ext.ARB.InstancedArrays
241+ Graphics.GL.Ext.ARB.InternalformatQuery
242+ Graphics.GL.Ext.ARB.InternalformatQuery2
243+ Graphics.GL.Ext.ARB.InvalidateSubdata
244+ Graphics.GL.Ext.ARB.MapBufferAlignment
245+ Graphics.GL.Ext.ARB.MapBufferRange
246+ Graphics.GL.Ext.ARB.MatrixPalette
247+ Graphics.GL.Ext.ARB.MultiBind
248+ Graphics.GL.Ext.ARB.MultiDrawIndirect
249+ Graphics.GL.Ext.ARB.Multisample
250+ Graphics.GL.Ext.ARB.Multitexture
251+ Graphics.GL.Ext.ARB.OcclusionQuery
252+ Graphics.GL.Ext.ARB.OcclusionQuery2
253+ Graphics.GL.Ext.ARB.ParallelShaderCompile
254+ Graphics.GL.Ext.ARB.PipelineStatisticsQuery
255+ Graphics.GL.Ext.ARB.PixelBufferObject
256+ Graphics.GL.Ext.ARB.PointParameters
257+ Graphics.GL.Ext.ARB.PointSprite
258+ Graphics.GL.Ext.ARB.PostDepthCoverage
259+ Graphics.GL.Ext.ARB.ProgramInterfaceQuery
260+ Graphics.GL.Ext.ARB.ProvokingVertex
261+ Graphics.GL.Ext.ARB.QueryBufferObject
262+ Graphics.GL.Ext.ARB.RobustBufferAccessBehavior
263+ Graphics.GL.Ext.ARB.Robustness
264+ Graphics.GL.Ext.ARB.RobustnessIsolation
265+ Graphics.GL.Ext.ARB.SampleLocations
266+ Graphics.GL.Ext.ARB.SampleShading
267+ Graphics.GL.Ext.ARB.SamplerObjects
268+ Graphics.GL.Ext.ARB.SeamlessCubeMap
269+ Graphics.GL.Ext.ARB.SeamlessCubemapPerTexture
270+ Graphics.GL.Ext.ARB.SeparateShaderObjects
271+ Graphics.GL.Ext.ARB.ShaderAtomicCounters
272+ Graphics.GL.Ext.ARB.ShaderAtomicCounterOps
273+ Graphics.GL.Ext.ARB.ShaderBallot
274+ Graphics.GL.Ext.ARB.ShaderBitEncoding
275+ Graphics.GL.Ext.ARB.ShaderClock
276+ Graphics.GL.Ext.ARB.ShaderDrawParameters
277+ Graphics.GL.Ext.ARB.ShaderGroupVote
278+ Graphics.GL.Ext.ARB.ShaderImageLoadStore
279+ Graphics.GL.Ext.ARB.ShaderImageSize
280+ Graphics.GL.Ext.ARB.ShaderObjects
281+ Graphics.GL.Ext.ARB.ShaderPrecision
282+ Graphics.GL.Ext.ARB.ShaderStencilExport
283+ Graphics.GL.Ext.ARB.ShaderStorageBufferObject
284+ Graphics.GL.Ext.ARB.ShaderSubroutine
285+ Graphics.GL.Ext.ARB.ShaderTextureImageSamples
286+ Graphics.GL.Ext.ARB.ShaderTextureLod
287+ Graphics.GL.Ext.ARB.ShaderViewportLayerArray
288+ Graphics.GL.Ext.ARB.ShadingLanguage100
289+ Graphics.GL.Ext.ARB.ShadingLanguage420pack
290+ Graphics.GL.Ext.ARB.ShadingLanguageInclude
291+ Graphics.GL.Ext.ARB.ShadingLanguagePacking
292+ Graphics.GL.Ext.ARB.Shadow
293+ Graphics.GL.Ext.ARB.ShadowAmbient
294+ Graphics.GL.Ext.ARB.SparseBuffer
295+ Graphics.GL.Ext.ARB.SparseTexture
296+ Graphics.GL.Ext.ARB.SparseTexture2
297+ Graphics.GL.Ext.ARB.SparseTextureClamp
298+ Graphics.GL.Ext.ARB.StencilTexturing
299+ Graphics.GL.Ext.ARB.Sync
300+ Graphics.GL.Ext.ARB.TessellationShader
301+ Graphics.GL.Ext.ARB.TextureBarrier
302+ Graphics.GL.Ext.ARB.TextureBorderClamp
303+ Graphics.GL.Ext.ARB.TextureBufferObject
304+ Graphics.GL.Ext.ARB.TextureBufferObjectRgb32
305+ Graphics.GL.Ext.ARB.TextureBufferRange
306+ Graphics.GL.Ext.ARB.TextureCompression
307+ Graphics.GL.Ext.ARB.TextureCompressionBptc
308+ Graphics.GL.Ext.ARB.TextureCompressionRgtc
309+ Graphics.GL.Ext.ARB.TextureCubeMap
310+ Graphics.GL.Ext.ARB.TextureCubeMapArray
311+ Graphics.GL.Ext.ARB.TextureEnvAdd
312+ Graphics.GL.Ext.ARB.TextureEnvCombine
313+ Graphics.GL.Ext.ARB.TextureEnvCrossbar
314+ Graphics.GL.Ext.ARB.TextureEnvDot3
315+ Graphics.GL.Ext.ARB.TextureFilterMinmax
316+ Graphics.GL.Ext.ARB.TextureFloat
317+ Graphics.GL.Ext.ARB.TextureGather
318+ Graphics.GL.Ext.ARB.TextureMirrorClampToEdge
319+ Graphics.GL.Ext.ARB.TextureMirroredRepeat
320+ Graphics.GL.Ext.ARB.TextureMultisample
321+ Graphics.GL.Ext.ARB.TextureNonPowerOfTwo
322+ Graphics.GL.Ext.ARB.TextureQueryLevels
323+ Graphics.GL.Ext.ARB.TextureQueryLod
324+ Graphics.GL.Ext.ARB.TextureRectangle
325+ Graphics.GL.Ext.ARB.TextureRg
326+ Graphics.GL.Ext.ARB.TextureRgb10A2ui
327+ Graphics.GL.Ext.ARB.TextureStencil8
328+ Graphics.GL.Ext.ARB.TextureStorage
329+ Graphics.GL.Ext.ARB.TextureStorageMultisample
330+ Graphics.GL.Ext.ARB.TextureSwizzle
331+ Graphics.GL.Ext.ARB.TextureView
332+ Graphics.GL.Ext.ARB.TimerQuery
333+ Graphics.GL.Ext.ARB.TransformFeedback2
334+ Graphics.GL.Ext.ARB.TransformFeedback3
335+ Graphics.GL.Ext.ARB.TransformFeedbackInstanced
336+ Graphics.GL.Ext.ARB.TransformFeedbackOverflowQuery
337+ Graphics.GL.Ext.ARB.TransposeMatrix
338+ Graphics.GL.Ext.ARB.UniformBufferObject
339+ Graphics.GL.Ext.ARB.VertexArrayBgra
340+ Graphics.GL.Ext.ARB.VertexArrayObject
341+ Graphics.GL.Ext.ARB.VertexAttrib64bit
342+ Graphics.GL.Ext.ARB.VertexAttribBinding
343+ Graphics.GL.Ext.ARB.VertexBlend
344+ Graphics.GL.Ext.ARB.VertexBufferObject
345+ Graphics.GL.Ext.ARB.VertexProgram
346+ Graphics.GL.Ext.ARB.VertexShader
347+ Graphics.GL.Ext.ARB.VertexType10f11f11fRev
348+ Graphics.GL.Ext.ARB.VertexType2101010Rev
349+ Graphics.GL.Ext.ARB.ViewportArray
350+ Graphics.GL.Ext.ARB.WindowPos
351+ Graphics.GL.Ext.ARM
352+ Graphics.GL.Ext.ARM.MaliProgramBinary
353+ Graphics.GL.Ext.ARM.MaliShaderBinary
354+ Graphics.GL.Ext.ARM.Rgba8
355+ Graphics.GL.Ext.ARM.ShaderFramebufferFetch
356+ Graphics.GL.Ext.ARM.ShaderFramebufferFetchDepthStencil
357+ Graphics.GL.Ext.ATI
358+ Graphics.GL.Ext.ATI.DrawBuffers
359+ Graphics.GL.Ext.ATI.ElementArray
360+ Graphics.GL.Ext.ATI.EnvmapBumpmap
361+ Graphics.GL.Ext.ATI.FragmentShader
362+ Graphics.GL.Ext.ATI.MapObjectBuffer
363+ Graphics.GL.Ext.ATI.Meminfo
364+ Graphics.GL.Ext.ATI.PixelFormatFloat
365+ Graphics.GL.Ext.ATI.PnTriangles
366+ Graphics.GL.Ext.ATI.SeparateStencil
367+ Graphics.GL.Ext.ATI.TextFragmentShader
368+ Graphics.GL.Ext.ATI.TextureEnvCombine3
369+ Graphics.GL.Ext.ATI.TextureFloat
370+ Graphics.GL.Ext.ATI.TextureMirrorOnce
371+ Graphics.GL.Ext.ATI.VertexArrayObject
372+ Graphics.GL.Ext.ATI.VertexAttribArrayObject
373+ Graphics.GL.Ext.ATI.VertexStreams
374+ Graphics.GL.Ext.DMP
375+ Graphics.GL.Ext.DMP.ProgramBinary
376+ Graphics.GL.Ext.DMP.ShaderBinary
377+ Graphics.GL.Ext.EXT
378+ Graphics.GL.Ext.EXT.Abgr
379+ Graphics.GL.Ext.EXT.BaseInstance
380+ Graphics.GL.Ext.EXT.Bgra
381+ Graphics.GL.Ext.EXT.BindableUniform
382+ Graphics.GL.Ext.EXT.BlendColor
383+ Graphics.GL.Ext.EXT.BlendEquationSeparate
384+ Graphics.GL.Ext.EXT.BlendFuncExtended
385+ Graphics.GL.Ext.EXT.BlendFuncSeparate
386+ Graphics.GL.Ext.EXT.BlendLogicOp
387+ Graphics.GL.Ext.EXT.BlendMinmax
388+ Graphics.GL.Ext.EXT.BlendSubtract
389+ Graphics.GL.Ext.EXT.BufferStorage
390+ Graphics.GL.Ext.EXT.ClearTexture
391+ Graphics.GL.Ext.EXT.ClipCullDistance
392+ Graphics.GL.Ext.EXT.ClipVolumeHint
393+ Graphics.GL.Ext.EXT.Cmyka
394+ Graphics.GL.Ext.EXT.ColorBufferFloat
395+ Graphics.GL.Ext.EXT.ColorBufferHalfFloat
396+ Graphics.GL.Ext.EXT.ColorSubtable
397+ Graphics.GL.Ext.EXT.CompiledVertexArray
398+ Graphics.GL.Ext.EXT.ConservativeDepth
399+ Graphics.GL.Ext.EXT.Convolution
400+ Graphics.GL.Ext.EXT.CoordinateFrame
401+ Graphics.GL.Ext.EXT.CopyImage
402+ Graphics.GL.Ext.EXT.CopyTexture
403+ Graphics.GL.Ext.EXT.CullVertex
404+ Graphics.GL.Ext.EXT.DebugLabel
405+ Graphics.GL.Ext.EXT.DebugMarker
406+ Graphics.GL.Ext.EXT.DepthBoundsTest
407+ Graphics.GL.Ext.EXT.DirectStateAccess
408+ Graphics.GL.Ext.EXT.DiscardFramebuffer
409+ Graphics.GL.Ext.EXT.DisjointTimerQuery
410+ Graphics.GL.Ext.EXT.DrawBuffers
411+ Graphics.GL.Ext.EXT.DrawBuffers2
412+ Graphics.GL.Ext.EXT.DrawBuffersIndexed
413+ Graphics.GL.Ext.EXT.DrawElementsBaseVertex
414+ Graphics.GL.Ext.EXT.DrawInstanced
415+ Graphics.GL.Ext.EXT.DrawRangeElements
416+ Graphics.GL.Ext.EXT.DrawTransformFeedback
417+ Graphics.GL.Ext.EXT.FogCoord
418+ Graphics.GL.Ext.EXT.FourTwoTwoPixels
419+ Graphics.GL.Ext.EXT.FloatBlend
420+ Graphics.GL.Ext.EXT.FramebufferBlit
421+ Graphics.GL.Ext.EXT.FramebufferMultisample
422+ Graphics.GL.Ext.EXT.FramebufferMultisampleBlitScaled
423+ Graphics.GL.Ext.EXT.FramebufferObject
424+ Graphics.GL.Ext.EXT.FramebufferSRGB
425+ Graphics.GL.Ext.EXT.GeometryPointSize
426+ Graphics.GL.Ext.EXT.GeometryShader
427+ Graphics.GL.Ext.EXT.GeometryShader4
428+ Graphics.GL.Ext.EXT.GpuProgramParameters
429+ Graphics.GL.Ext.EXT.GpuShader4
430+ Graphics.GL.Ext.EXT.GpuShader5
431+ Graphics.GL.Ext.EXT.Histogram
432+ Graphics.GL.Ext.EXT.IndexArrayFormats
433+ Graphics.GL.Ext.EXT.IndexFunc
434+ Graphics.GL.Ext.EXT.IndexMaterial
435+ Graphics.GL.Ext.EXT.IndexTexture
436+ Graphics.GL.Ext.EXT.InstancedArrays
437+ Graphics.GL.Ext.EXT.LightTexture
438+ Graphics.GL.Ext.EXT.MapBufferRange
439+ Graphics.GL.Ext.EXT.MiscAttribute
440+ Graphics.GL.Ext.EXT.MultiDrawArrays
441+ Graphics.GL.Ext.EXT.MultiDrawIndirect
442+ Graphics.GL.Ext.EXT.Multisample
443+ Graphics.GL.Ext.EXT.MultisampleCompatibility
444+ Graphics.GL.Ext.EXT.MultisampledRenderToTexture
445+ Graphics.GL.Ext.EXT.MultiviewDrawBuffers
446+ Graphics.GL.Ext.EXT.OcclusionQueryBoolean
447+ Graphics.GL.Ext.EXT.PackedDepthStencil
448+ Graphics.GL.Ext.EXT.PackedFloat
449+ Graphics.GL.Ext.EXT.PackedPixels
450+ Graphics.GL.Ext.EXT.PalettedTexture
451+ Graphics.GL.Ext.EXT.PixelBufferObject
452+ Graphics.GL.Ext.EXT.PixelTransform
453+ Graphics.GL.Ext.EXT.PixelTransformColorTable
454+ Graphics.GL.Ext.EXT.PointParameters
455+ Graphics.GL.Ext.EXT.PolygonOffset
456+ Graphics.GL.Ext.EXT.PolygonOffsetClamp
457+ Graphics.GL.Ext.EXT.PostDepthCoverage
458+ Graphics.GL.Ext.EXT.PrimitiveBoundingBox
459+ Graphics.GL.Ext.EXT.ProtectedTextures
460+ Graphics.GL.Ext.EXT.ProvokingVertex
461+ Graphics.GL.Ext.EXT.PvrtcSRGB
462+ Graphics.GL.Ext.EXT.RasterMultisample
463+ Graphics.GL.Ext.EXT.ReadFormatBgra
464+ Graphics.GL.Ext.EXT.RenderSnorm
465+ Graphics.GL.Ext.EXT.RescaleNormal
466+ Graphics.GL.Ext.EXT.Robustness
467+ Graphics.GL.Ext.EXT.SRGB
468+ Graphics.GL.Ext.EXT.SRGBWriteControl
469+ Graphics.GL.Ext.EXT.SecondaryColor
470+ Graphics.GL.Ext.EXT.SeparateShaderObjects
471+ Graphics.GL.Ext.EXT.SeparateSpecularColor
472+ Graphics.GL.Ext.EXT.ShaderFramebufferFetch
473+ Graphics.GL.Ext.EXT.ShaderGroupVote
474+ Graphics.GL.Ext.EXT.ShaderImageLoadFormatted
475+ Graphics.GL.Ext.EXT.ShaderImageLoadStore
476+ Graphics.GL.Ext.EXT.ShaderImplicitConversions
477+ Graphics.GL.Ext.EXT.ShaderIntegerMix
478+ Graphics.GL.Ext.EXT.ShaderIoBlocks
479+ Graphics.GL.Ext.EXT.ShaderNonConstantGlobalInitializers
480+ Graphics.GL.Ext.EXT.ShaderPixelLocalStorage
481+ Graphics.GL.Ext.EXT.ShaderPixelLocalStorage2
482+ Graphics.GL.Ext.EXT.ShaderTextureLod
483+ Graphics.GL.Ext.EXT.ShadowFuncs
484+ Graphics.GL.Ext.EXT.ShadowSamplers
485+ Graphics.GL.Ext.EXT.SharedTexturePalette
486+ Graphics.GL.Ext.EXT.SparseTexture
487+ Graphics.GL.Ext.EXT.SparseTexture2
488+ Graphics.GL.Ext.EXT.StencilClearTag
489+ Graphics.GL.Ext.EXT.StencilTwoSide
490+ Graphics.GL.Ext.EXT.StencilWrap
491+ Graphics.GL.Ext.EXT.Subtexture
492+ Graphics.GL.Ext.EXT.TessellationPointSize
493+ Graphics.GL.Ext.EXT.TessellationShader
494+ Graphics.GL.Ext.EXT.Texture
495+ Graphics.GL.Ext.EXT.Texture3D
496+ Graphics.GL.Ext.EXT.TextureArray
497+ Graphics.GL.Ext.EXT.TextureBorderClamp
498+ Graphics.GL.Ext.EXT.TextureBuffer
499+ Graphics.GL.Ext.EXT.TextureBufferObject
500+ Graphics.GL.Ext.EXT.TextureCompressionDxt1
501+ Graphics.GL.Ext.EXT.TextureCompressionLatc
502+ Graphics.GL.Ext.EXT.TextureCompressionRgtc
503+ Graphics.GL.Ext.EXT.TextureCompressionS3tc
504+ Graphics.GL.Ext.EXT.TextureCubeMap
505+ Graphics.GL.Ext.EXT.TextureCubeMapArray
506+ Graphics.GL.Ext.EXT.TextureEnvAdd
507+ Graphics.GL.Ext.EXT.TextureEnvCombine
508+ Graphics.GL.Ext.EXT.TextureEnvDot3
509+ Graphics.GL.Ext.EXT.TextureFilterAnisotropic
510+ Graphics.GL.Ext.EXT.TextureFilterMinmax
511+ Graphics.GL.Ext.EXT.TextureFormatBGRA8888
512+ Graphics.GL.Ext.EXT.TextureInteger
513+ Graphics.GL.Ext.EXT.TextureLodBias
514+ Graphics.GL.Ext.EXT.TextureMirrorClamp
515+ Graphics.GL.Ext.EXT.TextureNorm16
516+ Graphics.GL.Ext.EXT.TextureObject
517+ Graphics.GL.Ext.EXT.TexturePerturbNormal
518+ Graphics.GL.Ext.EXT.TextureRg
519+ Graphics.GL.Ext.EXT.TextureSRGB
520+ Graphics.GL.Ext.EXT.TextureSRGBDecode
521+ Graphics.GL.Ext.EXT.TextureSRGBR8
522+ Graphics.GL.Ext.EXT.TextureSRGBRG8
523+ Graphics.GL.Ext.EXT.TextureSharedExponent
524+ Graphics.GL.Ext.EXT.TextureSnorm
525+ Graphics.GL.Ext.EXT.TextureStorage
526+ Graphics.GL.Ext.EXT.TextureSwizzle
527+ Graphics.GL.Ext.EXT.TextureType2101010REV
528+ Graphics.GL.Ext.EXT.TextureView
529+ Graphics.GL.Ext.EXT.TimerQuery
530+ Graphics.GL.Ext.EXT.TransformFeedback
531+ Graphics.GL.Ext.EXT.UnpackSubimage
532+ Graphics.GL.Ext.EXT.VertexArray
533+ Graphics.GL.Ext.EXT.VertexArrayBgra
534+ Graphics.GL.Ext.EXT.VertexAttrib64bit
535+ Graphics.GL.Ext.EXT.VertexShader
536+ Graphics.GL.Ext.EXT.VertexWeighting
537+ Graphics.GL.Ext.EXT.WindowRectangles
538+ Graphics.GL.Ext.EXT.X11SyncObject
539+ Graphics.GL.Ext.EXT.YUVTarget
540+ Graphics.GL.Ext.FJ
541+ Graphics.GL.Ext.FJ.ShaderBinaryGCCSO
542+ Graphics.GL.Ext.GREMEDY
543+ Graphics.GL.Ext.GREMEDY.FrameTerminator
544+ Graphics.GL.Ext.GREMEDY.StringMarker
545+ Graphics.GL.Ext.HP
546+ Graphics.GL.Ext.HP.ConvolutionBorderModes
547+ Graphics.GL.Ext.HP.ImageTransform
548+ Graphics.GL.Ext.HP.OcclusionTest
549+ Graphics.GL.Ext.HP.TextureLighting
550+ Graphics.GL.Ext.IBM
551+ Graphics.GL.Ext.IBM.CullVertex
552+ Graphics.GL.Ext.IBM.MultimodeDrawArrays
553+ Graphics.GL.Ext.IBM.RasterposClip
554+ Graphics.GL.Ext.IBM.StaticData
555+ Graphics.GL.Ext.IBM.TextureMirroredRepeat
556+ Graphics.GL.Ext.IBM.VertexArrayLists
557+ Graphics.GL.Ext.IMG
558+ Graphics.GL.Ext.IMG.BindlessTexture
559+ Graphics.GL.Ext.IMG.FramebufferDownsample
560+ Graphics.GL.Ext.IMG.MultisampledRenderToTexture
561+ Graphics.GL.Ext.IMG.ProgramBinary
562+ Graphics.GL.Ext.IMG.ReadFormat
563+ Graphics.GL.Ext.IMG.ShaderBinary
564+ Graphics.GL.Ext.IMG.TextureCompressionPvrtc
565+ Graphics.GL.Ext.IMG.TextureCompressionPvrtc2
566+ Graphics.GL.Ext.IMG.TextureEnvEnhancedFixedFunction
567+ Graphics.GL.Ext.IMG.TextureFilterCubic
568+ Graphics.GL.Ext.IMG.UserClipPlane
569+ Graphics.GL.Ext.INGR
570+ Graphics.GL.Ext.INGR.BlendFuncSeparate
571+ Graphics.GL.Ext.INGR.ColorClamp
572+ Graphics.GL.Ext.INGR.InterlaceRead
573+ Graphics.GL.Ext.INTEL
574+ Graphics.GL.Ext.INTEL.ConservativeRasterization
575+ Graphics.GL.Ext.INTEL.FragmentShaderOrdering
576+ Graphics.GL.Ext.INTEL.FramebufferCMAA
577+ Graphics.GL.Ext.INTEL.MapTexture
578+ Graphics.GL.Ext.INTEL.ParallelArrays
579+ Graphics.GL.Ext.INTEL.PerformanceQuery
580+ Graphics.GL.Ext.KHR
581+ Graphics.GL.Ext.KHR.BlendEquationAdvanced
582+ Graphics.GL.Ext.KHR.BlendEquationAdvancedCoherent
583+ Graphics.GL.Ext.KHR.ContextFlushControl
584+ Graphics.GL.Ext.KHR.Debug
585+ Graphics.GL.Ext.KHR.NoError
586+ Graphics.GL.Ext.KHR.RobustBufferAccessBehavior
587+ Graphics.GL.Ext.KHR.Robustness
588+ Graphics.GL.Ext.KHR.TextureCompressionAstcHdr
589+ Graphics.GL.Ext.KHR.TextureCompressionAstcLdr
590+ Graphics.GL.Ext.KHR.TextureCompressionAstcSliced3d
591+ Graphics.GL.Ext.MESA
592+ Graphics.GL.Ext.MESA.PackInvert
593+ Graphics.GL.Ext.MESA.ResizeBuffers
594+ Graphics.GL.Ext.MESA.WindowPos
595+ Graphics.GL.Ext.MESA.YcbcrTexture
596+ Graphics.GL.Ext.MESAX
597+ Graphics.GL.Ext.MESAX.TextureStack
598+ Graphics.GL.Ext.NV
599+ Graphics.GL.Ext.NV.BindlessMultiDrawIndirect
600+ Graphics.GL.Ext.NV.BindlessMultiDrawIndirectCount
601+ Graphics.GL.Ext.NV.BindlessTexture
602+ Graphics.GL.Ext.NV.BlendEquationAdvanced
603+ Graphics.GL.Ext.NV.BlendEquationAdvancedCoherent
604+ Graphics.GL.Ext.NV.BlendSquare
605+ Graphics.GL.Ext.NV.ClipSpaceWScaling
606+ Graphics.GL.Ext.NV.CommandList
607+ Graphics.GL.Ext.NV.ComputeProgram5
608+ Graphics.GL.Ext.NV.ConditionalRender
609+ Graphics.GL.Ext.NV.ConservativeRaster
610+ Graphics.GL.Ext.NV.ConservativeRasterDilate
611+ Graphics.GL.Ext.NV.ConservativeRasterPreSnapTriangles
612+ Graphics.GL.Ext.NV.CopyBuffer
613+ Graphics.GL.Ext.NV.CopyDepthToColor
614+ Graphics.GL.Ext.NV.CopyImage
615+ Graphics.GL.Ext.NV.CoverageSample
616+ Graphics.GL.Ext.NV.DeepTexture3D
617+ Graphics.GL.Ext.NV.DepthBufferFloat
618+ Graphics.GL.Ext.NV.DepthClamp
619+ Graphics.GL.Ext.NV.DepthNonlinear
620+ Graphics.GL.Ext.NV.DrawBuffers
621+ Graphics.GL.Ext.NV.DrawInstanced
622+ Graphics.GL.Ext.NV.DrawTexture
623+ Graphics.GL.Ext.NV.Evaluators
624+ Graphics.GL.Ext.NV.ExplicitAttribLocation
625+ Graphics.GL.Ext.NV.ExplicitMultisample
626+ Graphics.GL.Ext.NV.FboColorAttachments
627+ Graphics.GL.Ext.NV.Fence
628+ Graphics.GL.Ext.NV.FillRectangle
629+ Graphics.GL.Ext.NV.FloatBuffer
630+ Graphics.GL.Ext.NV.FogDistance
631+ Graphics.GL.Ext.NV.FragmentCoverageToColor
632+ Graphics.GL.Ext.NV.FragmentProgram
633+ Graphics.GL.Ext.NV.FragmentProgram2
634+ Graphics.GL.Ext.NV.FragmentProgram4
635+ Graphics.GL.Ext.NV.FragmentProgramOption
636+ Graphics.GL.Ext.NV.FragmentShaderInterlock
637+ Graphics.GL.Ext.NV.FramebufferBlit
638+ Graphics.GL.Ext.NV.FramebufferMixedSamples
639+ Graphics.GL.Ext.NV.FramebufferMultisample
640+ Graphics.GL.Ext.NV.FramebufferMultisampleCoverage
641+ Graphics.GL.Ext.NV.GenerateMipmapSRGB
642+ Graphics.GL.Ext.NV.GeometryProgram4
643+ Graphics.GL.Ext.NV.GeometryShader4
644+ Graphics.GL.Ext.NV.GeometryShaderPassthrough
645+ Graphics.GL.Ext.NV.GpuProgram4
646+ Graphics.GL.Ext.NV.GpuProgram5
647+ Graphics.GL.Ext.NV.GpuProgram5MemExtended
648+ Graphics.GL.Ext.NV.GpuShader5
649+ Graphics.GL.Ext.NV.HalfFloat
650+ Graphics.GL.Ext.NV.ImageFormats
651+ Graphics.GL.Ext.NV.InstancedArrays
652+ Graphics.GL.Ext.NV.InternalformatSampleQuery
653+ Graphics.GL.Ext.NV.LightMaxExponent
654+ Graphics.GL.Ext.NV.MultisampleCoverage
655+ Graphics.GL.Ext.NV.MultisampleFilterHint
656+ Graphics.GL.Ext.NV.NonSquareMatrices
657+ Graphics.GL.Ext.NV.OcclusionQuery
658+ Graphics.GL.Ext.NV.PackedDepthStencil
659+ Graphics.GL.Ext.NV.ParameterBufferObject
660+ Graphics.GL.Ext.NV.ParameterBufferObject2
661+ Graphics.GL.Ext.NV.PathRendering
662+ Graphics.GL.Ext.NV.PathRenderingSharedEdge
663+ Graphics.GL.Ext.NV.PixelDataRange
664+ Graphics.GL.Ext.NV.PointSprite
665+ Graphics.GL.Ext.NV.PolygonMode
666+ Graphics.GL.Ext.NV.PresentVideo
667+ Graphics.GL.Ext.NV.PrimitiveRestart
668+ Graphics.GL.Ext.NV.ReadBuffer
669+ Graphics.GL.Ext.NV.ReadBufferFront
670+ Graphics.GL.Ext.NV.ReadDepth
671+ Graphics.GL.Ext.NV.ReadDepthStencil
672+ Graphics.GL.Ext.NV.ReadStencil
673+ Graphics.GL.Ext.NV.RegisterCombiners
674+ Graphics.GL.Ext.NV.RegisterCombiners2
675+ Graphics.GL.Ext.NV.RobustnessVideoMemoryPurge
676+ Graphics.GL.Ext.NV.SRGBFormats
677+ Graphics.GL.Ext.NV.SampleLocations
678+ Graphics.GL.Ext.NV.SampleMaskOverrideCoverage
679+ Graphics.GL.Ext.NV.ShaderAtomicCounters
680+ Graphics.GL.Ext.NV.ShaderAtomicFloat
681+ Graphics.GL.Ext.NV.ShaderAtomicFloat64
682+ Graphics.GL.Ext.NV.ShaderAtomicFp16Vector
683+ Graphics.GL.Ext.NV.ShaderAtomicInt64
684+ Graphics.GL.Ext.NV.ShaderBufferLoad
685+ Graphics.GL.Ext.NV.ShaderBufferStore
686+ Graphics.GL.Ext.NV.ShaderNoperspectiveInterpolation
687+ Graphics.GL.Ext.NV.ShaderStorageBufferObject
688+ Graphics.GL.Ext.NV.ShaderThreadGroup
689+ Graphics.GL.Ext.NV.ShaderThreadShuffle
690+ Graphics.GL.Ext.NV.ShadowSamplersArray
691+ Graphics.GL.Ext.NV.ShadowSamplersCube
692+ Graphics.GL.Ext.NV.StereoViewRendering
693+ Graphics.GL.Ext.NV.TessellationProgram5
694+ Graphics.GL.Ext.NV.TexgenEmboss
695+ Graphics.GL.Ext.NV.TexgenReflection
696+ Graphics.GL.Ext.NV.TextureBarrier
697+ Graphics.GL.Ext.NV.TextureBorderClamp
698+ Graphics.GL.Ext.NV.TextureCompressionS3tcUpdate
699+ Graphics.GL.Ext.NV.TextureCompressionVtc
700+ Graphics.GL.Ext.NV.TextureEnvCombine4
701+ Graphics.GL.Ext.NV.TextureExpandNormal
702+ Graphics.GL.Ext.NV.TextureMultisample
703+ Graphics.GL.Ext.NV.TextureNpot2DMipmap
704+ Graphics.GL.Ext.NV.TextureRectangle
705+ Graphics.GL.Ext.NV.TextureShader
706+ Graphics.GL.Ext.NV.TextureShader2
707+ Graphics.GL.Ext.NV.TextureShader3
708+ Graphics.GL.Ext.NV.TransformFeedback
709+ Graphics.GL.Ext.NV.TransformFeedback2
710+ Graphics.GL.Ext.NV.UniformBufferUnifiedMemory
711+ Graphics.GL.Ext.NV.VdpauInterop
712+ Graphics.GL.Ext.NV.VertexArrayRange
713+ Graphics.GL.Ext.NV.VertexArrayRange2
714+ Graphics.GL.Ext.NV.VertexAttribInteger64bit
715+ Graphics.GL.Ext.NV.VertexBufferUnifiedMemory
716+ Graphics.GL.Ext.NV.VertexProgram
717+ Graphics.GL.Ext.NV.VertexProgram11
718+ Graphics.GL.Ext.NV.VertexProgram2
719+ Graphics.GL.Ext.NV.VertexProgram2Option
720+ Graphics.GL.Ext.NV.VertexProgram3
721+ Graphics.GL.Ext.NV.VertexProgram4
722+ Graphics.GL.Ext.NV.VideoCapture
723+ Graphics.GL.Ext.NV.ViewportArray
724+ Graphics.GL.Ext.NV.ViewportArray2
725+ Graphics.GL.Ext.NV.ViewportSwizzle
726+ Graphics.GL.Ext.NVX
727+ Graphics.GL.Ext.NVX.ConditionalRender
728+ Graphics.GL.Ext.NVX.GpuMemoryInfo
729+ Graphics.GL.Ext.OES
730+ Graphics.GL.Ext.OES.BlendEquationSeparate
731+ Graphics.GL.Ext.OES.BlendFuncSeparate
732+ Graphics.GL.Ext.OES.BlendSubtract
733+ Graphics.GL.Ext.OES.ByteCoordinates
734+ Graphics.GL.Ext.OES.CompressedETC1RGB8SubTexture
735+ Graphics.GL.Ext.OES.CompressedETC1RGB8Texture
736+ Graphics.GL.Ext.OES.CompressedPalettedTexture
737+ Graphics.GL.Ext.OES.CopyImage
738+ Graphics.GL.Ext.OES.Depth24
739+ Graphics.GL.Ext.OES.Depth32
740+ Graphics.GL.Ext.OES.DepthTexture
741+ Graphics.GL.Ext.OES.DrawBuffersIndexed
742+ Graphics.GL.Ext.OES.DrawElementsBaseVertex
743+ Graphics.GL.Ext.OES.DrawTexture
744+ Graphics.GL.Ext.OES.EGLImage
745+ Graphics.GL.Ext.OES.EGLImageExternal
746+ Graphics.GL.Ext.OES.EGLImageExternalEssl3
747+ Graphics.GL.Ext.OES.ElementIndexUint
748+ Graphics.GL.Ext.OES.ExtendedMatrixPalette
749+ Graphics.GL.Ext.OES.FboRenderMipmap
750+ Graphics.GL.Ext.OES.FixedPoint
751+ Graphics.GL.Ext.OES.FragmentPrecisionHigh
752+ Graphics.GL.Ext.OES.FramebufferObject
753+ Graphics.GL.Ext.OES.GeometryPointSize
754+ Graphics.GL.Ext.OES.GeometryShader
755+ Graphics.GL.Ext.OES.GetProgramBinary
756+ Graphics.GL.Ext.OES.GpuShader5
757+ Graphics.GL.Ext.OES.Mapbuffer
758+ Graphics.GL.Ext.OES.MatrixGet
759+ Graphics.GL.Ext.OES.MatrixPalette
760+ Graphics.GL.Ext.OES.PackedDepthStencil
761+ Graphics.GL.Ext.OES.PointSizeArray
762+ Graphics.GL.Ext.OES.PointSprite
763+ Graphics.GL.Ext.OES.PrimitiveBoundingBox
764+ Graphics.GL.Ext.OES.QueryMatrix
765+ Graphics.GL.Ext.OES.ReadFormat
766+ Graphics.GL.Ext.OES.RequiredInternalformat
767+ Graphics.GL.Ext.OES.Rgb8Rgba8
768+ Graphics.GL.Ext.OES.SampleShading
769+ Graphics.GL.Ext.OES.SampleVariables
770+ Graphics.GL.Ext.OES.ShaderImageAtomic
771+ Graphics.GL.Ext.OES.ShaderIoBlocks
772+ Graphics.GL.Ext.OES.ShaderMultisampleInterpolation
773+ Graphics.GL.Ext.OES.SinglePrecision
774+ Graphics.GL.Ext.OES.StandardDerivatives
775+ Graphics.GL.Ext.OES.Stencil1
776+ Graphics.GL.Ext.OES.Stencil4
777+ Graphics.GL.Ext.OES.Stencil8
778+ Graphics.GL.Ext.OES.StencilWrap
779+ Graphics.GL.Ext.OES.SurfacelessContext
780+ Graphics.GL.Ext.OES.TessellationPointSize
781+ Graphics.GL.Ext.OES.TessellationShader
782+ Graphics.GL.Ext.OES.Texture3D
783+ Graphics.GL.Ext.OES.TextureBorderClamp
784+ Graphics.GL.Ext.OES.TextureBuffer
785+ Graphics.GL.Ext.OES.TextureCompressionAstc
786+ Graphics.GL.Ext.OES.TextureCubeMap
787+ Graphics.GL.Ext.OES.TextureCubeMapArray
788+ Graphics.GL.Ext.OES.TextureEnvCrossbar
789+ Graphics.GL.Ext.OES.TextureFloat
790+ Graphics.GL.Ext.OES.TextureFloatLinear
791+ Graphics.GL.Ext.OES.TextureHalfFloat
792+ Graphics.GL.Ext.OES.TextureHalfFloatLinear
793+ Graphics.GL.Ext.OES.TextureMirroredRepeat
794+ Graphics.GL.Ext.OES.TextureNpot
795+ Graphics.GL.Ext.OES.TextureStencil8
796+ Graphics.GL.Ext.OES.TextureStorageMultisample2dArray
797+ Graphics.GL.Ext.OES.TextureView
798+ Graphics.GL.Ext.OES.VertexArrayObject
799+ Graphics.GL.Ext.OES.VertexHalfFloat
800+ Graphics.GL.Ext.OES.VertexType1010102
801+ Graphics.GL.Ext.OES.ViewportArray
802+ Graphics.GL.Ext.OML
803+ Graphics.GL.Ext.OML.Interlace
804+ Graphics.GL.Ext.OML.Resample
805+ Graphics.GL.Ext.OML.Subsample
806+ Graphics.GL.Ext.OVR
807+ Graphics.GL.Ext.OVR.Multiview
808+ Graphics.GL.Ext.OVR.Multiview2
809+ Graphics.GL.Ext.OVR.MultiviewMultisampledRenderToTexture
810+ Graphics.GL.Ext.PGI
811+ Graphics.GL.Ext.PGI.MiscHints
812+ Graphics.GL.Ext.PGI.VertexHints
813+ Graphics.GL.Ext.QCOM
814+ Graphics.GL.Ext.QCOM.AlphaTest
815+ Graphics.GL.Ext.QCOM.BinningControl
816+ Graphics.GL.Ext.QCOM.DriverControl
817+ Graphics.GL.Ext.QCOM.ExtendedGet
818+ Graphics.GL.Ext.QCOM.ExtendedGet2
819+ Graphics.GL.Ext.QCOM.PerfmonGlobalMode
820+ Graphics.GL.Ext.QCOM.TiledRendering
821+ Graphics.GL.Ext.QCOM.WriteonlyRendering
822+ Graphics.GL.Ext.REND
823+ Graphics.GL.Ext.REND.ScreenCoordinates
824+ Graphics.GL.Ext.S3
825+ Graphics.GL.Ext.S3.S3tc
826+ Graphics.GL.Ext.SGI
827+ Graphics.GL.Ext.SGI.ColorMatrix
828+ Graphics.GL.Ext.SGI.ColorTable
829+ Graphics.GL.Ext.SGI.TextureColorTable
830+ Graphics.GL.Ext.SGIS
831+ Graphics.GL.Ext.SGIS.DetailTexture
832+ Graphics.GL.Ext.SGIS.FogFunction
833+ Graphics.GL.Ext.SGIS.GenerateMipmap
834+ Graphics.GL.Ext.SGIS.Multisample
835+ Graphics.GL.Ext.SGIS.PixelTexture
836+ Graphics.GL.Ext.SGIS.PointLineTexgen
837+ Graphics.GL.Ext.SGIS.PointParameters
838+ Graphics.GL.Ext.SGIS.SharpenTexture
839+ Graphics.GL.Ext.SGIS.Texture4D
840+ Graphics.GL.Ext.SGIS.TextureBorderClamp
841+ Graphics.GL.Ext.SGIS.TextureColorMask
842+ Graphics.GL.Ext.SGIS.TextureEdgeClamp
843+ Graphics.GL.Ext.SGIS.TextureFilter4
844+ Graphics.GL.Ext.SGIS.TextureLod
845+ Graphics.GL.Ext.SGIS.TextureSelect
846+ Graphics.GL.Ext.SGIX
847+ Graphics.GL.Ext.SGIX.Async
848+ Graphics.GL.Ext.SGIX.AsyncHistogram
849+ Graphics.GL.Ext.SGIX.AsyncPixel
850+ Graphics.GL.Ext.SGIX.BlendAlphaMinmax
851+ Graphics.GL.Ext.SGIX.CalligraphicFragment
852+ Graphics.GL.Ext.SGIX.Clipmap
853+ Graphics.GL.Ext.SGIX.ConvolutionAccuracy
854+ Graphics.GL.Ext.SGIX.DepthPassInstrument
855+ Graphics.GL.Ext.SGIX.DepthTexture
856+ Graphics.GL.Ext.SGIX.FlushRaster
857+ Graphics.GL.Ext.SGIX.FogOffset
858+ Graphics.GL.Ext.SGIX.FragmentLighting
859+ Graphics.GL.Ext.SGIX.Framezoom
860+ Graphics.GL.Ext.SGIX.IglooInterface
861+ Graphics.GL.Ext.SGIX.Instruments
862+ Graphics.GL.Ext.SGIX.Interlace
863+ Graphics.GL.Ext.SGIX.IrInstrument1
864+ Graphics.GL.Ext.SGIX.ListPriority
865+ Graphics.GL.Ext.SGIX.PixelTexture
866+ Graphics.GL.Ext.SGIX.PixelTiles
867+ Graphics.GL.Ext.SGIX.PolynomialFfd
868+ Graphics.GL.Ext.SGIX.ReferencePlane
869+ Graphics.GL.Ext.SGIX.Resample
870+ Graphics.GL.Ext.SGIX.ScalebiasHint
871+ Graphics.GL.Ext.SGIX.Shadow
872+ Graphics.GL.Ext.SGIX.ShadowAmbient
873+ Graphics.GL.Ext.SGIX.Sprite
874+ Graphics.GL.Ext.SGIX.Subsample
875+ Graphics.GL.Ext.SGIX.TagSampleBuffer
876+ Graphics.GL.Ext.SGIX.TextureAddEnv
877+ Graphics.GL.Ext.SGIX.TextureCoordinateClamp
878+ Graphics.GL.Ext.SGIX.TextureLodBias
879+ Graphics.GL.Ext.SGIX.TextureMultiBuffer
880+ Graphics.GL.Ext.SGIX.TextureScaleBias
881+ Graphics.GL.Ext.SGIX.VertexPreclip
882+ Graphics.GL.Ext.SGIX.Ycrcb
883+ Graphics.GL.Ext.SGIX.YcrcbSubsample
884+ Graphics.GL.Ext.SGIX.Ycrcba
885+ Graphics.GL.Ext.SUN
886+ Graphics.GL.Ext.SUN.ConvolutionBorderModes
887+ Graphics.GL.Ext.SUN.GlobalAlpha
888+ Graphics.GL.Ext.SUN.MeshArray
889+ Graphics.GL.Ext.SUN.SliceAccum
890+ Graphics.GL.Ext.SUN.TriangleList
891+ Graphics.GL.Ext.SUN.Vertex
892+ Graphics.GL.Ext.SUNX
893+ Graphics.GL.Ext.SUNX.ConstantData
894+ Graphics.GL.Ext.ThreeDFX
895+ Graphics.GL.Ext.ThreeDFX.Multisample
896+ Graphics.GL.Ext.ThreeDFX.Tbuffer
897+ Graphics.GL.Ext.ThreeDFX.TextureCompressionFXT1
898+ Graphics.GL.Ext.VIV
899+ Graphics.GL.Ext.VIV.ShaderBinary
900+ Graphics.GL.Ext.WIN
901+ Graphics.GL.Ext.WIN.PhongShading
902+ Graphics.GL.Ext.WIN.SpecularFog
903+ Graphics.GL.Internal.FFI
904+ Graphics.GL.Internal.Proc
905+ Graphics.GL.Internal.Shared
906+ Graphics.GL.SafetyCritical20
907+ Graphics.GL.Standard10
908+ Graphics.GL.Standard11
909+ Graphics.GL.Standard12
910+ Graphics.GL.Standard13
911+ Graphics.GL.Standard14
912+ Graphics.GL.Standard15
913+ Graphics.GL.Standard20
914+ Graphics.GL.Standard21
915+ Graphics.GL.Standard30
916+ Graphics.GL.Standard31
917+ Graphics.GL.Types
test/golden-test-cases/gl.nix.goldennew file+20
@@ -0,0 +1,20 @@
1+{ mkDerivation, base, Cabal, containers, directory, fetchurl
2+, filepath, fixed, half, hxt, mesa, transformers
3+}:
4+mkDerivation {
5+ pname = "gl";
6+ version = "0.8.0";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ setupHaskellDepends = [
12+ base Cabal containers directory filepath hxt transformers
13+ ];
14+ libraryHaskellDepends = [
15+ base containers fixed half transformers
16+ ];
17+ librarySystemDepends = [ mesa ];
18+ description = "Complete OpenGL raw bindings";
19+ license = stdenv.lib.licenses.bsd3;
20+}
test/golden-test-cases/gogol-adexchange-buyer.cabalnew file+85
@@ -0,0 +1,85 @@
1+name: gogol-adexchange-buyer
2+version: 0.3.0
3+synopsis: Google Ad Exchange Buyer SDK.
4+homepage: https://github.com/brendanhay/gogol
5+bug-reports: https://github.com/brendanhay/gogol/issues
6+license: OtherLicense
7+license-file: LICENSE
8+author: Brendan Hay
9+maintainer: Brendan Hay <brendan.g.hay@gmail.com>
10+copyright: Copyright (c) 2015-2016 Brendan Hay
11+category: Network, Google, Cloud
12+build-type: Simple
13+cabal-version: >= 1.10
14+extra-source-files: README.md src/.gitkeep
15+
16+description:
17+ Accesses your bidding-account information, submits creatives for
18+ validation, finds available direct deals, and retrieves performance
19+ reports.
20+ .
21+ /Warning:/ This is an experimental prototype/preview release which is still
22+ under exploratory development and not intended for public use, caveat emptor!
23+ .
24+ This library is compatible with version @v1.4@
25+ of the API.
26+
27+source-repository head
28+ type: git
29+ location: git://github.com/brendanhay/gogol.git
30+
31+library
32+ default-language: Haskell2010
33+ hs-source-dirs: src gen
34+
35+ ghc-options: -Wall
36+
37+ exposed-modules:
38+ Network.Google.AdExchangeBuyer
39+ , Network.Google.AdExchangeBuyer.Types
40+ , Network.Google.Resource.AdExchangeBuyer.Accounts.Get
41+ , Network.Google.Resource.AdExchangeBuyer.Accounts.List
42+ , Network.Google.Resource.AdExchangeBuyer.Accounts.Patch
43+ , Network.Google.Resource.AdExchangeBuyer.Accounts.Update
44+ , Network.Google.Resource.AdExchangeBuyer.BillingInfo.Get
45+ , Network.Google.Resource.AdExchangeBuyer.BillingInfo.List
46+ , Network.Google.Resource.AdExchangeBuyer.Budget.Get
47+ , Network.Google.Resource.AdExchangeBuyer.Budget.Patch
48+ , Network.Google.Resource.AdExchangeBuyer.Budget.Update
49+ , Network.Google.Resource.AdExchangeBuyer.Creatives.AddDeal
50+ , Network.Google.Resource.AdExchangeBuyer.Creatives.Get
51+ , Network.Google.Resource.AdExchangeBuyer.Creatives.Insert
52+ , Network.Google.Resource.AdExchangeBuyer.Creatives.List
53+ , Network.Google.Resource.AdExchangeBuyer.Creatives.ListDeals
54+ , Network.Google.Resource.AdExchangeBuyer.Creatives.RemoveDeal
55+ , Network.Google.Resource.AdExchangeBuyer.MarketplaceDeals.Delete
56+ , Network.Google.Resource.AdExchangeBuyer.MarketplaceDeals.Insert
57+ , Network.Google.Resource.AdExchangeBuyer.MarketplaceDeals.List
58+ , Network.Google.Resource.AdExchangeBuyer.MarketplaceDeals.Update
59+ , Network.Google.Resource.AdExchangeBuyer.MarketplaceNotes.Insert
60+ , Network.Google.Resource.AdExchangeBuyer.MarketplaceNotes.List
61+ , Network.Google.Resource.AdExchangeBuyer.Marketplaceprivateauction.Updateproposal
62+ , Network.Google.Resource.AdExchangeBuyer.PerformanceReport.List
63+ , Network.Google.Resource.AdExchangeBuyer.PretargetingConfig.Delete
64+ , Network.Google.Resource.AdExchangeBuyer.PretargetingConfig.Get
65+ , Network.Google.Resource.AdExchangeBuyer.PretargetingConfig.Insert
66+ , Network.Google.Resource.AdExchangeBuyer.PretargetingConfig.List
67+ , Network.Google.Resource.AdExchangeBuyer.PretargetingConfig.Patch
68+ , Network.Google.Resource.AdExchangeBuyer.PretargetingConfig.Update
69+ , Network.Google.Resource.AdExchangeBuyer.Products.Get
70+ , Network.Google.Resource.AdExchangeBuyer.Products.Search
71+ , Network.Google.Resource.AdExchangeBuyer.Proposals.Get
72+ , Network.Google.Resource.AdExchangeBuyer.Proposals.Insert
73+ , Network.Google.Resource.AdExchangeBuyer.Proposals.Patch
74+ , Network.Google.Resource.AdExchangeBuyer.Proposals.Search
75+ , Network.Google.Resource.AdExchangeBuyer.Proposals.Setupcomplete
76+ , Network.Google.Resource.AdExchangeBuyer.Proposals.Update
77+ , Network.Google.Resource.AdExchangeBuyer.PubproFiles.List
78+
79+ other-modules:
80+ Network.Google.AdExchangeBuyer.Types.Product
81+ , Network.Google.AdExchangeBuyer.Types.Sum
82+
83+ build-depends:
84+ gogol-core == 0.3.0.*
85+ , base >= 4.7 && < 5
test/golden-test-cases/gogol-adexchange-buyer.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, fetchurl, gogol-core }:
2+mkDerivation {
3+ pname = "gogol-adexchange-buyer";
4+ version = "0.3.0";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base gogol-core ];
10+ homepage = "https://github.com/brendanhay/gogol";
11+ description = "Google Ad Exchange Buyer SDK";
12+ license = "unknown";
13+}
test/golden-test-cases/gogol-admin-emailmigration.cabalnew file+46
@@ -0,0 +1,46 @@
1+name: gogol-admin-emailmigration
2+version: 0.3.0
3+synopsis: Google Email Migration API v2 SDK.
4+homepage: https://github.com/brendanhay/gogol
5+bug-reports: https://github.com/brendanhay/gogol/issues
6+license: OtherLicense
7+license-file: LICENSE
8+author: Brendan Hay
9+maintainer: Brendan Hay <brendan.g.hay@gmail.com>
10+copyright: Copyright (c) 2015-2016 Brendan Hay
11+category: Network, Google, Cloud
12+build-type: Simple
13+cabal-version: >= 1.10
14+extra-source-files: README.md src/.gitkeep
15+
16+description:
17+ Email Migration API lets you migrate emails of users to Google backends.
18+ .
19+ /Warning:/ This is an experimental prototype/preview release which is still
20+ under exploratory development and not intended for public use, caveat emptor!
21+ .
22+ This library is compatible with version @email_migration_v2@
23+ of the API.
24+
25+source-repository head
26+ type: git
27+ location: git://github.com/brendanhay/gogol.git
28+
29+library
30+ default-language: Haskell2010
31+ hs-source-dirs: src gen
32+
33+ ghc-options: -Wall
34+
35+ exposed-modules:
36+ Network.Google.EmailMigration
37+ , Network.Google.EmailMigration.Types
38+ , Network.Google.Resource.EmailMigration.Mail.Insert
39+
40+ other-modules:
41+ Network.Google.EmailMigration.Types.Product
42+ , Network.Google.EmailMigration.Types.Sum
43+
44+ build-depends:
45+ gogol-core == 0.3.0.*
46+ , base >= 4.7 && < 5
test/golden-test-cases/gogol-admin-emailmigration.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, fetchurl, gogol-core }:
2+mkDerivation {
3+ pname = "gogol-admin-emailmigration";
4+ version = "0.3.0";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base gogol-core ];
10+ homepage = "https://github.com/brendanhay/gogol";
11+ description = "Google Email Migration API v2 SDK";
12+ license = "unknown";
13+}
test/golden-test-cases/gogol-affiliates.cabalnew file+55
@@ -0,0 +1,55 @@
1+name: gogol-affiliates
2+version: 0.3.0
3+synopsis: Google Affiliate Network SDK.
4+homepage: https://github.com/brendanhay/gogol
5+bug-reports: https://github.com/brendanhay/gogol/issues
6+license: OtherLicense
7+license-file: LICENSE
8+author: Brendan Hay
9+maintainer: Brendan Hay <brendan.g.hay@gmail.com>
10+copyright: Copyright (c) 2015-2016 Brendan Hay
11+category: Network, Google, Cloud
12+build-type: Simple
13+cabal-version: >= 1.10
14+extra-source-files: README.md src/.gitkeep
15+
16+description:
17+ Lets you have programmatic access to your Google Affiliate Network data.
18+ .
19+ /Warning:/ This is an experimental prototype/preview release which is still
20+ under exploratory development and not intended for public use, caveat emptor!
21+ .
22+ This library is compatible with version @v1beta1@
23+ of the API.
24+
25+source-repository head
26+ type: git
27+ location: git://github.com/brendanhay/gogol.git
28+
29+library
30+ default-language: Haskell2010
31+ hs-source-dirs: src gen
32+
33+ ghc-options: -Wall
34+
35+ exposed-modules:
36+ Network.Google.Affiliates
37+ , Network.Google.Affiliates.Types
38+ , Network.Google.Resource.GAN.Advertisers.Get
39+ , Network.Google.Resource.GAN.Advertisers.List
40+ , Network.Google.Resource.GAN.CcOffers.List
41+ , Network.Google.Resource.GAN.Events.List
42+ , Network.Google.Resource.GAN.Links.Get
43+ , Network.Google.Resource.GAN.Links.Insert
44+ , Network.Google.Resource.GAN.Links.List
45+ , Network.Google.Resource.GAN.Publishers.Get
46+ , Network.Google.Resource.GAN.Publishers.List
47+ , Network.Google.Resource.GAN.Reports.Get
48+
49+ other-modules:
50+ Network.Google.Affiliates.Types.Product
51+ , Network.Google.Affiliates.Types.Sum
52+
53+ build-depends:
54+ gogol-core == 0.3.0.*
55+ , base >= 4.7 && < 5
test/golden-test-cases/gogol-affiliates.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, fetchurl, gogol-core }:
2+mkDerivation {
3+ pname = "gogol-affiliates";
4+ version = "0.3.0";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base gogol-core ];
10+ homepage = "https://github.com/brendanhay/gogol";
11+ description = "Google Affiliate Network SDK";
12+ license = "unknown";
13+}
test/golden-test-cases/gogol-apps-tasks.cabalnew file+59
@@ -0,0 +1,59 @@
1+name: gogol-apps-tasks
2+version: 0.3.0
3+synopsis: Google Tasks SDK.
4+homepage: https://github.com/brendanhay/gogol
5+bug-reports: https://github.com/brendanhay/gogol/issues
6+license: OtherLicense
7+license-file: LICENSE
8+author: Brendan Hay
9+maintainer: Brendan Hay <brendan.g.hay@gmail.com>
10+copyright: Copyright (c) 2015-2016 Brendan Hay
11+category: Network, Google, Cloud
12+build-type: Simple
13+cabal-version: >= 1.10
14+extra-source-files: README.md src/.gitkeep
15+
16+description:
17+ Lets you manage your tasks and task lists.
18+ .
19+ /Warning:/ This is an experimental prototype/preview release which is still
20+ under exploratory development and not intended for public use, caveat emptor!
21+ .
22+ This library is compatible with version @v1@
23+ of the API.
24+
25+source-repository head
26+ type: git
27+ location: git://github.com/brendanhay/gogol.git
28+
29+library
30+ default-language: Haskell2010
31+ hs-source-dirs: src gen
32+
33+ ghc-options: -Wall
34+
35+ exposed-modules:
36+ Network.Google.AppsTasks
37+ , Network.Google.AppsTasks.Types
38+ , Network.Google.Resource.Tasks.TaskLists.Delete
39+ , Network.Google.Resource.Tasks.TaskLists.Get
40+ , Network.Google.Resource.Tasks.TaskLists.Insert
41+ , Network.Google.Resource.Tasks.TaskLists.List
42+ , Network.Google.Resource.Tasks.TaskLists.Patch
43+ , Network.Google.Resource.Tasks.TaskLists.Update
44+ , Network.Google.Resource.Tasks.Tasks.Clear
45+ , Network.Google.Resource.Tasks.Tasks.Delete
46+ , Network.Google.Resource.Tasks.Tasks.Get
47+ , Network.Google.Resource.Tasks.Tasks.Insert
48+ , Network.Google.Resource.Tasks.Tasks.List
49+ , Network.Google.Resource.Tasks.Tasks.Move
50+ , Network.Google.Resource.Tasks.Tasks.Patch
51+ , Network.Google.Resource.Tasks.Tasks.Update
52+
53+ other-modules:
54+ Network.Google.AppsTasks.Types.Product
55+ , Network.Google.AppsTasks.Types.Sum
56+
57+ build-depends:
58+ gogol-core == 0.3.0.*
59+ , base >= 4.7 && < 5
test/golden-test-cases/gogol-apps-tasks.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, fetchurl, gogol-core }:
2+mkDerivation {
3+ pname = "gogol-apps-tasks";
4+ version = "0.3.0";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base gogol-core ];
10+ homepage = "https://github.com/brendanhay/gogol";
11+ description = "Google Tasks SDK";
12+ license = "unknown";
13+}
test/golden-test-cases/gogol-appstate.cabalnew file+50
@@ -0,0 +1,50 @@
1+name: gogol-appstate
2+version: 0.3.0
3+synopsis: Google App State SDK.
4+homepage: https://github.com/brendanhay/gogol
5+bug-reports: https://github.com/brendanhay/gogol/issues
6+license: OtherLicense
7+license-file: LICENSE
8+author: Brendan Hay
9+maintainer: Brendan Hay <brendan.g.hay@gmail.com>
10+copyright: Copyright (c) 2015-2016 Brendan Hay
11+category: Network, Google, Cloud
12+build-type: Simple
13+cabal-version: >= 1.10
14+extra-source-files: README.md src/.gitkeep
15+
16+description:
17+ The Google App State API.
18+ .
19+ /Warning:/ This is an experimental prototype/preview release which is still
20+ under exploratory development and not intended for public use, caveat emptor!
21+ .
22+ This library is compatible with version @v1@
23+ of the API.
24+
25+source-repository head
26+ type: git
27+ location: git://github.com/brendanhay/gogol.git
28+
29+library
30+ default-language: Haskell2010
31+ hs-source-dirs: src gen
32+
33+ ghc-options: -Wall
34+
35+ exposed-modules:
36+ Network.Google.AppState
37+ , Network.Google.AppState.Types
38+ , Network.Google.Resource.AppState.States.Clear
39+ , Network.Google.Resource.AppState.States.Delete
40+ , Network.Google.Resource.AppState.States.Get
41+ , Network.Google.Resource.AppState.States.List
42+ , Network.Google.Resource.AppState.States.Update
43+
44+ other-modules:
45+ Network.Google.AppState.Types.Product
46+ , Network.Google.AppState.Types.Sum
47+
48+ build-depends:
49+ gogol-core == 0.3.0.*
50+ , base >= 4.7 && < 5
test/golden-test-cases/gogol-appstate.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, fetchurl, gogol-core }:
2+mkDerivation {
3+ pname = "gogol-appstate";
4+ version = "0.3.0";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base gogol-core ];
10+ homepage = "https://github.com/brendanhay/gogol";
11+ description = "Google App State SDK";
12+ license = "unknown";
13+}
test/golden-test-cases/gogol-blogger.cabalnew file+82
@@ -0,0 +1,82 @@
1+name: gogol-blogger
2+version: 0.3.0
3+synopsis: Google Blogger SDK.
4+homepage: https://github.com/brendanhay/gogol
5+bug-reports: https://github.com/brendanhay/gogol/issues
6+license: OtherLicense
7+license-file: LICENSE
8+author: Brendan Hay
9+maintainer: Brendan Hay <brendan.g.hay@gmail.com>
10+copyright: Copyright (c) 2015-2016 Brendan Hay
11+category: Network, Google, Cloud
12+build-type: Simple
13+cabal-version: >= 1.10
14+extra-source-files: README.md src/.gitkeep
15+
16+description:
17+ API for access to the data within Blogger.
18+ .
19+ /Warning:/ This is an experimental prototype/preview release which is still
20+ under exploratory development and not intended for public use, caveat emptor!
21+ .
22+ This library is compatible with version @v3@
23+ of the API.
24+ .
25+ Labels:
26+ .
27+ * Limited Availability
28+
29+source-repository head
30+ type: git
31+ location: git://github.com/brendanhay/gogol.git
32+
33+library
34+ default-language: Haskell2010
35+ hs-source-dirs: src gen
36+
37+ ghc-options: -Wall
38+
39+ exposed-modules:
40+ Network.Google.Blogger
41+ , Network.Google.Blogger.Types
42+ , Network.Google.Resource.Blogger.BlogUserInfos.Get
43+ , Network.Google.Resource.Blogger.Blogs.Get
44+ , Network.Google.Resource.Blogger.Blogs.GetByURL
45+ , Network.Google.Resource.Blogger.Blogs.ListByUser
46+ , Network.Google.Resource.Blogger.Comments.Approve
47+ , Network.Google.Resource.Blogger.Comments.Delete
48+ , Network.Google.Resource.Blogger.Comments.Get
49+ , Network.Google.Resource.Blogger.Comments.List
50+ , Network.Google.Resource.Blogger.Comments.ListByBlog
51+ , Network.Google.Resource.Blogger.Comments.MarkAsSpam
52+ , Network.Google.Resource.Blogger.Comments.RemoveContent
53+ , Network.Google.Resource.Blogger.PageViews.Get
54+ , Network.Google.Resource.Blogger.Pages.Delete
55+ , Network.Google.Resource.Blogger.Pages.Get
56+ , Network.Google.Resource.Blogger.Pages.Insert
57+ , Network.Google.Resource.Blogger.Pages.List
58+ , Network.Google.Resource.Blogger.Pages.Patch
59+ , Network.Google.Resource.Blogger.Pages.Publish
60+ , Network.Google.Resource.Blogger.Pages.Revert
61+ , Network.Google.Resource.Blogger.Pages.Update
62+ , Network.Google.Resource.Blogger.PostUserInfos.Get
63+ , Network.Google.Resource.Blogger.PostUserInfos.List
64+ , Network.Google.Resource.Blogger.Posts.Delete
65+ , Network.Google.Resource.Blogger.Posts.Get
66+ , Network.Google.Resource.Blogger.Posts.GetByPath
67+ , Network.Google.Resource.Blogger.Posts.Insert
68+ , Network.Google.Resource.Blogger.Posts.List
69+ , Network.Google.Resource.Blogger.Posts.Patch
70+ , Network.Google.Resource.Blogger.Posts.Publish
71+ , Network.Google.Resource.Blogger.Posts.Revert
72+ , Network.Google.Resource.Blogger.Posts.Search
73+ , Network.Google.Resource.Blogger.Posts.Update
74+ , Network.Google.Resource.Blogger.Users.Get
75+
76+ other-modules:
77+ Network.Google.Blogger.Types.Product
78+ , Network.Google.Blogger.Types.Sum
79+
80+ build-depends:
81+ gogol-core == 0.3.0.*
82+ , base >= 4.7 && < 5
test/golden-test-cases/gogol-blogger.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, fetchurl, gogol-core }:
2+mkDerivation {
3+ pname = "gogol-blogger";
4+ version = "0.3.0";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base gogol-core ];
10+ homepage = "https://github.com/brendanhay/gogol";
11+ description = "Google Blogger SDK";
12+ license = "unknown";
13+}
test/golden-test-cases/gogol-datastore.cabalnew file+52
@@ -0,0 +1,52 @@
1+name: gogol-datastore
2+version: 0.3.0
3+synopsis: Google Cloud Datastore SDK.
4+homepage: https://github.com/brendanhay/gogol
5+bug-reports: https://github.com/brendanhay/gogol/issues
6+license: OtherLicense
7+license-file: LICENSE
8+author: Brendan Hay
9+maintainer: Brendan Hay <brendan.g.hay@gmail.com>
10+copyright: Copyright (c) 2015-2016 Brendan Hay
11+category: Network, Google, Cloud
12+build-type: Simple
13+cabal-version: >= 1.10
14+extra-source-files: README.md src/.gitkeep
15+
16+description:
17+ Accesses the schemaless NoSQL database to provide fully managed, robust,
18+ scalable storage for your application.
19+ .
20+ /Warning:/ This is an experimental prototype/preview release which is still
21+ under exploratory development and not intended for public use, caveat emptor!
22+ .
23+ This library is compatible with version @v1@
24+ of the API.
25+
26+source-repository head
27+ type: git
28+ location: git://github.com/brendanhay/gogol.git
29+
30+library
31+ default-language: Haskell2010
32+ hs-source-dirs: src gen
33+
34+ ghc-options: -Wall
35+
36+ exposed-modules:
37+ Network.Google.Datastore
38+ , Network.Google.Datastore.Types
39+ , Network.Google.Resource.Datastore.Projects.AllocateIds
40+ , Network.Google.Resource.Datastore.Projects.BeginTransaction
41+ , Network.Google.Resource.Datastore.Projects.Commit
42+ , Network.Google.Resource.Datastore.Projects.Lookup
43+ , Network.Google.Resource.Datastore.Projects.Rollback
44+ , Network.Google.Resource.Datastore.Projects.RunQuery
45+
46+ other-modules:
47+ Network.Google.Datastore.Types.Product
48+ , Network.Google.Datastore.Types.Sum
49+
50+ build-depends:
51+ gogol-core == 0.3.0.*
52+ , base >= 4.7 && < 5
test/golden-test-cases/gogol-datastore.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, fetchurl, gogol-core }:
2+mkDerivation {
3+ pname = "gogol-datastore";
4+ version = "0.3.0";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base gogol-core ];
10+ homepage = "https://github.com/brendanhay/gogol";
11+ description = "Google Cloud Datastore SDK";
12+ license = "unknown";
13+}
test/golden-test-cases/gogol-dfareporting.cabalnew file+249
@@ -0,0 +1,249 @@
1+name: gogol-dfareporting
2+version: 0.3.0
3+synopsis: Google DCM/DFA Reporting And Trafficking SDK.
4+homepage: https://github.com/brendanhay/gogol
5+bug-reports: https://github.com/brendanhay/gogol/issues
6+license: OtherLicense
7+license-file: LICENSE
8+author: Brendan Hay
9+maintainer: Brendan Hay <brendan.g.hay@gmail.com>
10+copyright: Copyright (c) 2015-2016 Brendan Hay
11+category: Network, Google, Cloud
12+build-type: Simple
13+cabal-version: >= 1.10
14+extra-source-files: README.md src/.gitkeep
15+
16+description:
17+ Manages your DoubleClick Campaign Manager ad campaigns and reports.
18+ .
19+ /Warning:/ This is an experimental prototype/preview release which is still
20+ under exploratory development and not intended for public use, caveat emptor!
21+ .
22+ This library is compatible with version @v2.7@
23+ of the API.
24+
25+source-repository head
26+ type: git
27+ location: git://github.com/brendanhay/gogol.git
28+
29+library
30+ default-language: Haskell2010
31+ hs-source-dirs: src gen
32+
33+ ghc-options: -Wall
34+
35+ exposed-modules:
36+ Network.Google.DFAReporting
37+ , Network.Google.DFAReporting.Types
38+ , Network.Google.Resource.DFAReporting.AccountActiveAdSummaries.Get
39+ , Network.Google.Resource.DFAReporting.AccountPermissionGroups.Get
40+ , Network.Google.Resource.DFAReporting.AccountPermissionGroups.List
41+ , Network.Google.Resource.DFAReporting.AccountPermissions.Get
42+ , Network.Google.Resource.DFAReporting.AccountPermissions.List
43+ , Network.Google.Resource.DFAReporting.AccountUserProFiles.Get
44+ , Network.Google.Resource.DFAReporting.AccountUserProFiles.Insert
45+ , Network.Google.Resource.DFAReporting.AccountUserProFiles.List
46+ , Network.Google.Resource.DFAReporting.AccountUserProFiles.Patch
47+ , Network.Google.Resource.DFAReporting.AccountUserProFiles.Update
48+ , Network.Google.Resource.DFAReporting.Accounts.Get
49+ , Network.Google.Resource.DFAReporting.Accounts.List
50+ , Network.Google.Resource.DFAReporting.Accounts.Patch
51+ , Network.Google.Resource.DFAReporting.Accounts.Update
52+ , Network.Google.Resource.DFAReporting.Ads.Get
53+ , Network.Google.Resource.DFAReporting.Ads.Insert
54+ , Network.Google.Resource.DFAReporting.Ads.List
55+ , Network.Google.Resource.DFAReporting.Ads.Patch
56+ , Network.Google.Resource.DFAReporting.Ads.Update
57+ , Network.Google.Resource.DFAReporting.AdvertiserGroups.Delete
58+ , Network.Google.Resource.DFAReporting.AdvertiserGroups.Get
59+ , Network.Google.Resource.DFAReporting.AdvertiserGroups.Insert
60+ , Network.Google.Resource.DFAReporting.AdvertiserGroups.List
61+ , Network.Google.Resource.DFAReporting.AdvertiserGroups.Patch
62+ , Network.Google.Resource.DFAReporting.AdvertiserGroups.Update
63+ , Network.Google.Resource.DFAReporting.Advertisers.Get
64+ , Network.Google.Resource.DFAReporting.Advertisers.Insert
65+ , Network.Google.Resource.DFAReporting.Advertisers.List
66+ , Network.Google.Resource.DFAReporting.Advertisers.Patch
67+ , Network.Google.Resource.DFAReporting.Advertisers.Update
68+ , Network.Google.Resource.DFAReporting.Browsers.List
69+ , Network.Google.Resource.DFAReporting.CampaignCreativeAssociations.Insert
70+ , Network.Google.Resource.DFAReporting.CampaignCreativeAssociations.List
71+ , Network.Google.Resource.DFAReporting.Campaigns.Get
72+ , Network.Google.Resource.DFAReporting.Campaigns.Insert
73+ , Network.Google.Resource.DFAReporting.Campaigns.List
74+ , Network.Google.Resource.DFAReporting.Campaigns.Patch
75+ , Network.Google.Resource.DFAReporting.Campaigns.Update
76+ , Network.Google.Resource.DFAReporting.ChangeLogs.Get
77+ , Network.Google.Resource.DFAReporting.ChangeLogs.List
78+ , Network.Google.Resource.DFAReporting.Cities.List
79+ , Network.Google.Resource.DFAReporting.ConnectionTypes.Get
80+ , Network.Google.Resource.DFAReporting.ConnectionTypes.List
81+ , Network.Google.Resource.DFAReporting.ContentCategories.Delete
82+ , Network.Google.Resource.DFAReporting.ContentCategories.Get
83+ , Network.Google.Resource.DFAReporting.ContentCategories.Insert
84+ , Network.Google.Resource.DFAReporting.ContentCategories.List
85+ , Network.Google.Resource.DFAReporting.ContentCategories.Patch
86+ , Network.Google.Resource.DFAReporting.ContentCategories.Update
87+ , Network.Google.Resource.DFAReporting.Conversions.Batchinsert
88+ , Network.Google.Resource.DFAReporting.Countries.Get
89+ , Network.Google.Resource.DFAReporting.Countries.List
90+ , Network.Google.Resource.DFAReporting.CreativeAssets.Insert
91+ , Network.Google.Resource.DFAReporting.CreativeFieldValues.Delete
92+ , Network.Google.Resource.DFAReporting.CreativeFieldValues.Get
93+ , Network.Google.Resource.DFAReporting.CreativeFieldValues.Insert
94+ , Network.Google.Resource.DFAReporting.CreativeFieldValues.List
95+ , Network.Google.Resource.DFAReporting.CreativeFieldValues.Patch
96+ , Network.Google.Resource.DFAReporting.CreativeFieldValues.Update
97+ , Network.Google.Resource.DFAReporting.CreativeFields.Delete
98+ , Network.Google.Resource.DFAReporting.CreativeFields.Get
99+ , Network.Google.Resource.DFAReporting.CreativeFields.Insert
100+ , Network.Google.Resource.DFAReporting.CreativeFields.List
101+ , Network.Google.Resource.DFAReporting.CreativeFields.Patch
102+ , Network.Google.Resource.DFAReporting.CreativeFields.Update
103+ , Network.Google.Resource.DFAReporting.CreativeGroups.Get
104+ , Network.Google.Resource.DFAReporting.CreativeGroups.Insert
105+ , Network.Google.Resource.DFAReporting.CreativeGroups.List
106+ , Network.Google.Resource.DFAReporting.CreativeGroups.Patch
107+ , Network.Google.Resource.DFAReporting.CreativeGroups.Update
108+ , Network.Google.Resource.DFAReporting.Creatives.Get
109+ , Network.Google.Resource.DFAReporting.Creatives.Insert
110+ , Network.Google.Resource.DFAReporting.Creatives.List
111+ , Network.Google.Resource.DFAReporting.Creatives.Patch
112+ , Network.Google.Resource.DFAReporting.Creatives.Update
113+ , Network.Google.Resource.DFAReporting.DimensionValues.Query
114+ , Network.Google.Resource.DFAReporting.DirectorySiteContacts.Get
115+ , Network.Google.Resource.DFAReporting.DirectorySiteContacts.List
116+ , Network.Google.Resource.DFAReporting.DirectorySites.Get
117+ , Network.Google.Resource.DFAReporting.DirectorySites.Insert
118+ , Network.Google.Resource.DFAReporting.DirectorySites.List
119+ , Network.Google.Resource.DFAReporting.DynamicTargetingKeys.Delete
120+ , Network.Google.Resource.DFAReporting.DynamicTargetingKeys.Insert
121+ , Network.Google.Resource.DFAReporting.DynamicTargetingKeys.List
122+ , Network.Google.Resource.DFAReporting.EventTags.Delete
123+ , Network.Google.Resource.DFAReporting.EventTags.Get
124+ , Network.Google.Resource.DFAReporting.EventTags.Insert
125+ , Network.Google.Resource.DFAReporting.EventTags.List
126+ , Network.Google.Resource.DFAReporting.EventTags.Patch
127+ , Network.Google.Resource.DFAReporting.EventTags.Update
128+ , Network.Google.Resource.DFAReporting.Files.Get
129+ , Network.Google.Resource.DFAReporting.Files.List
130+ , Network.Google.Resource.DFAReporting.FloodlightActivities.Delete
131+ , Network.Google.Resource.DFAReporting.FloodlightActivities.Generatetag
132+ , Network.Google.Resource.DFAReporting.FloodlightActivities.Get
133+ , Network.Google.Resource.DFAReporting.FloodlightActivities.Insert
134+ , Network.Google.Resource.DFAReporting.FloodlightActivities.List
135+ , Network.Google.Resource.DFAReporting.FloodlightActivities.Patch
136+ , Network.Google.Resource.DFAReporting.FloodlightActivities.Update
137+ , Network.Google.Resource.DFAReporting.FloodlightActivityGroups.Get
138+ , Network.Google.Resource.DFAReporting.FloodlightActivityGroups.Insert
139+ , Network.Google.Resource.DFAReporting.FloodlightActivityGroups.List
140+ , Network.Google.Resource.DFAReporting.FloodlightActivityGroups.Patch
141+ , Network.Google.Resource.DFAReporting.FloodlightActivityGroups.Update
142+ , Network.Google.Resource.DFAReporting.FloodlightConfigurations.Get
143+ , Network.Google.Resource.DFAReporting.FloodlightConfigurations.List
144+ , Network.Google.Resource.DFAReporting.FloodlightConfigurations.Patch
145+ , Network.Google.Resource.DFAReporting.FloodlightConfigurations.Update
146+ , Network.Google.Resource.DFAReporting.InventoryItems.Get
147+ , Network.Google.Resource.DFAReporting.InventoryItems.List
148+ , Network.Google.Resource.DFAReporting.LandingPages.Delete
149+ , Network.Google.Resource.DFAReporting.LandingPages.Get
150+ , Network.Google.Resource.DFAReporting.LandingPages.Insert
151+ , Network.Google.Resource.DFAReporting.LandingPages.List
152+ , Network.Google.Resource.DFAReporting.LandingPages.Patch
153+ , Network.Google.Resource.DFAReporting.LandingPages.Update
154+ , Network.Google.Resource.DFAReporting.Languages.List
155+ , Network.Google.Resource.DFAReporting.Metros.List
156+ , Network.Google.Resource.DFAReporting.MobileCarriers.Get
157+ , Network.Google.Resource.DFAReporting.MobileCarriers.List
158+ , Network.Google.Resource.DFAReporting.OperatingSystemVersions.Get
159+ , Network.Google.Resource.DFAReporting.OperatingSystemVersions.List
160+ , Network.Google.Resource.DFAReporting.OperatingSystems.Get
161+ , Network.Google.Resource.DFAReporting.OperatingSystems.List
162+ , Network.Google.Resource.DFAReporting.OrderDocuments.Get
163+ , Network.Google.Resource.DFAReporting.OrderDocuments.List
164+ , Network.Google.Resource.DFAReporting.Orders.Get
165+ , Network.Google.Resource.DFAReporting.Orders.List
166+ , Network.Google.Resource.DFAReporting.PlacementGroups.Get
167+ , Network.Google.Resource.DFAReporting.PlacementGroups.Insert
168+ , Network.Google.Resource.DFAReporting.PlacementGroups.List
169+ , Network.Google.Resource.DFAReporting.PlacementGroups.Patch
170+ , Network.Google.Resource.DFAReporting.PlacementGroups.Update
171+ , Network.Google.Resource.DFAReporting.PlacementStrategies.Delete
172+ , Network.Google.Resource.DFAReporting.PlacementStrategies.Get
173+ , Network.Google.Resource.DFAReporting.PlacementStrategies.Insert
174+ , Network.Google.Resource.DFAReporting.PlacementStrategies.List
175+ , Network.Google.Resource.DFAReporting.PlacementStrategies.Patch
176+ , Network.Google.Resource.DFAReporting.PlacementStrategies.Update
177+ , Network.Google.Resource.DFAReporting.Placements.Generatetags
178+ , Network.Google.Resource.DFAReporting.Placements.Get
179+ , Network.Google.Resource.DFAReporting.Placements.Insert
180+ , Network.Google.Resource.DFAReporting.Placements.List
181+ , Network.Google.Resource.DFAReporting.Placements.Patch
182+ , Network.Google.Resource.DFAReporting.Placements.Update
183+ , Network.Google.Resource.DFAReporting.PlatformTypes.Get
184+ , Network.Google.Resource.DFAReporting.PlatformTypes.List
185+ , Network.Google.Resource.DFAReporting.PostalCodes.Get
186+ , Network.Google.Resource.DFAReporting.PostalCodes.List
187+ , Network.Google.Resource.DFAReporting.Projects.Get
188+ , Network.Google.Resource.DFAReporting.Projects.List
189+ , Network.Google.Resource.DFAReporting.Regions.List
190+ , Network.Google.Resource.DFAReporting.RemarketingListShares.Get
191+ , Network.Google.Resource.DFAReporting.RemarketingListShares.Patch
192+ , Network.Google.Resource.DFAReporting.RemarketingListShares.Update
193+ , Network.Google.Resource.DFAReporting.RemarketingLists.Get
194+ , Network.Google.Resource.DFAReporting.RemarketingLists.Insert
195+ , Network.Google.Resource.DFAReporting.RemarketingLists.List
196+ , Network.Google.Resource.DFAReporting.RemarketingLists.Patch
197+ , Network.Google.Resource.DFAReporting.RemarketingLists.Update
198+ , Network.Google.Resource.DFAReporting.Reports.CompatibleFields.Query
199+ , Network.Google.Resource.DFAReporting.Reports.Delete
200+ , Network.Google.Resource.DFAReporting.Reports.Files.Get
201+ , Network.Google.Resource.DFAReporting.Reports.Files.List
202+ , Network.Google.Resource.DFAReporting.Reports.Get
203+ , Network.Google.Resource.DFAReporting.Reports.Insert
204+ , Network.Google.Resource.DFAReporting.Reports.List
205+ , Network.Google.Resource.DFAReporting.Reports.Patch
206+ , Network.Google.Resource.DFAReporting.Reports.Run
207+ , Network.Google.Resource.DFAReporting.Reports.Update
208+ , Network.Google.Resource.DFAReporting.Sites.Get
209+ , Network.Google.Resource.DFAReporting.Sites.Insert
210+ , Network.Google.Resource.DFAReporting.Sites.List
211+ , Network.Google.Resource.DFAReporting.Sites.Patch
212+ , Network.Google.Resource.DFAReporting.Sites.Update
213+ , Network.Google.Resource.DFAReporting.Sizes.Get
214+ , Network.Google.Resource.DFAReporting.Sizes.Insert
215+ , Network.Google.Resource.DFAReporting.Sizes.List
216+ , Network.Google.Resource.DFAReporting.SubAccounts.Get
217+ , Network.Google.Resource.DFAReporting.SubAccounts.Insert
218+ , Network.Google.Resource.DFAReporting.SubAccounts.List
219+ , Network.Google.Resource.DFAReporting.SubAccounts.Patch
220+ , Network.Google.Resource.DFAReporting.SubAccounts.Update
221+ , Network.Google.Resource.DFAReporting.TargetableRemarketingLists.Get
222+ , Network.Google.Resource.DFAReporting.TargetableRemarketingLists.List
223+ , Network.Google.Resource.DFAReporting.TargetingTemplates.Get
224+ , Network.Google.Resource.DFAReporting.TargetingTemplates.Insert
225+ , Network.Google.Resource.DFAReporting.TargetingTemplates.List
226+ , Network.Google.Resource.DFAReporting.TargetingTemplates.Patch
227+ , Network.Google.Resource.DFAReporting.TargetingTemplates.Update
228+ , Network.Google.Resource.DFAReporting.UserProFiles.Get
229+ , Network.Google.Resource.DFAReporting.UserProFiles.List
230+ , Network.Google.Resource.DFAReporting.UserRolePermissionGroups.Get
231+ , Network.Google.Resource.DFAReporting.UserRolePermissionGroups.List
232+ , Network.Google.Resource.DFAReporting.UserRolePermissions.Get
233+ , Network.Google.Resource.DFAReporting.UserRolePermissions.List
234+ , Network.Google.Resource.DFAReporting.UserRoles.Delete
235+ , Network.Google.Resource.DFAReporting.UserRoles.Get
236+ , Network.Google.Resource.DFAReporting.UserRoles.Insert
237+ , Network.Google.Resource.DFAReporting.UserRoles.List
238+ , Network.Google.Resource.DFAReporting.UserRoles.Patch
239+ , Network.Google.Resource.DFAReporting.UserRoles.Update
240+ , Network.Google.Resource.DFAReporting.VideoFormats.Get
241+ , Network.Google.Resource.DFAReporting.VideoFormats.List
242+
243+ other-modules:
244+ Network.Google.DFAReporting.Types.Product
245+ , Network.Google.DFAReporting.Types.Sum
246+
247+ build-depends:
248+ gogol-core == 0.3.0.*
249+ , base >= 4.7 && < 5
test/golden-test-cases/gogol-dfareporting.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, fetchurl, gogol-core }:
2+mkDerivation {
3+ pname = "gogol-dfareporting";
4+ version = "0.3.0";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base gogol-core ];
10+ homepage = "https://github.com/brendanhay/gogol";
11+ description = "Google DCM/DFA Reporting And Trafficking SDK";
12+ license = "unknown";
13+}
test/golden-test-cases/gogol-firebase-rules.cabalnew file+56
@@ -0,0 +1,56 @@
1+name: gogol-firebase-rules
2+version: 0.3.0
3+synopsis: Google Firebase Rules SDK.
4+homepage: https://github.com/brendanhay/gogol
5+bug-reports: https://github.com/brendanhay/gogol/issues
6+license: OtherLicense
7+license-file: LICENSE
8+author: Brendan Hay
9+maintainer: Brendan Hay <brendan.g.hay@gmail.com>
10+copyright: Copyright (c) 2015-2016 Brendan Hay
11+category: Network, Google, Cloud
12+build-type: Simple
13+cabal-version: >= 1.10
14+extra-source-files: README.md src/.gitkeep
15+
16+description:
17+ Creates and manages rules that determine when a Firebase Rules-enabled
18+ service should permit a request.
19+ .
20+ /Warning:/ This is an experimental prototype/preview release which is still
21+ under exploratory development and not intended for public use, caveat emptor!
22+ .
23+ This library is compatible with version @v1@
24+ of the API.
25+
26+source-repository head
27+ type: git
28+ location: git://github.com/brendanhay/gogol.git
29+
30+library
31+ default-language: Haskell2010
32+ hs-source-dirs: src gen
33+
34+ ghc-options: -Wall
35+
36+ exposed-modules:
37+ Network.Google.FirebaseRules
38+ , Network.Google.FirebaseRules.Types
39+ , Network.Google.Resource.FirebaseRules.Projects.Releases.Create
40+ , Network.Google.Resource.FirebaseRules.Projects.Releases.Delete
41+ , Network.Google.Resource.FirebaseRules.Projects.Releases.Get
42+ , Network.Google.Resource.FirebaseRules.Projects.Releases.List
43+ , Network.Google.Resource.FirebaseRules.Projects.Releases.Update
44+ , Network.Google.Resource.FirebaseRules.Projects.Rulesets.Create
45+ , Network.Google.Resource.FirebaseRules.Projects.Rulesets.Delete
46+ , Network.Google.Resource.FirebaseRules.Projects.Rulesets.Get
47+ , Network.Google.Resource.FirebaseRules.Projects.Rulesets.List
48+ , Network.Google.Resource.FirebaseRules.Projects.Test
49+
50+ other-modules:
51+ Network.Google.FirebaseRules.Types.Product
52+ , Network.Google.FirebaseRules.Types.Sum
53+
54+ build-depends:
55+ gogol-core == 0.3.0.*
56+ , base >= 4.7 && < 5
test/golden-test-cases/gogol-firebase-rules.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, fetchurl, gogol-core }:
2+mkDerivation {
3+ pname = "gogol-firebase-rules";
4+ version = "0.3.0";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base gogol-core ];
10+ homepage = "https://github.com/brendanhay/gogol";
11+ description = "Google Firebase Rules SDK";
12+ license = "unknown";
13+}
test/golden-test-cases/gogol-gmail.cabalnew file+102
@@ -0,0 +1,102 @@
1+name: gogol-gmail
2+version: 0.3.0
3+synopsis: Google Gmail SDK.
4+homepage: https://github.com/brendanhay/gogol
5+bug-reports: https://github.com/brendanhay/gogol/issues
6+license: OtherLicense
7+license-file: LICENSE
8+author: Brendan Hay
9+maintainer: Brendan Hay <brendan.g.hay@gmail.com>
10+copyright: Copyright (c) 2015-2016 Brendan Hay
11+category: Network, Google, Cloud
12+build-type: Simple
13+cabal-version: >= 1.10
14+extra-source-files: README.md src/.gitkeep
15+
16+description:
17+ Access Gmail mailboxes including sending user email.
18+ .
19+ /Warning:/ This is an experimental prototype/preview release which is still
20+ under exploratory development and not intended for public use, caveat emptor!
21+ .
22+ This library is compatible with version @v1@
23+ of the API.
24+
25+source-repository head
26+ type: git
27+ location: git://github.com/brendanhay/gogol.git
28+
29+library
30+ default-language: Haskell2010
31+ hs-source-dirs: src gen
32+
33+ ghc-options: -Wall
34+
35+ exposed-modules:
36+ Network.Google.Gmail
37+ , Network.Google.Gmail.Types
38+ , Network.Google.Resource.Gmail.Users.Drafts.Create
39+ , Network.Google.Resource.Gmail.Users.Drafts.Delete
40+ , Network.Google.Resource.Gmail.Users.Drafts.Get
41+ , Network.Google.Resource.Gmail.Users.Drafts.List
42+ , Network.Google.Resource.Gmail.Users.Drafts.Send
43+ , Network.Google.Resource.Gmail.Users.Drafts.Update
44+ , Network.Google.Resource.Gmail.Users.GetProFile
45+ , Network.Google.Resource.Gmail.Users.History.List
46+ , Network.Google.Resource.Gmail.Users.Labels.Create
47+ , Network.Google.Resource.Gmail.Users.Labels.Delete
48+ , Network.Google.Resource.Gmail.Users.Labels.Get
49+ , Network.Google.Resource.Gmail.Users.Labels.List
50+ , Network.Google.Resource.Gmail.Users.Labels.Patch
51+ , Network.Google.Resource.Gmail.Users.Labels.Update
52+ , Network.Google.Resource.Gmail.Users.Messages.Attachments.Get
53+ , Network.Google.Resource.Gmail.Users.Messages.BatchDelete
54+ , Network.Google.Resource.Gmail.Users.Messages.BatchModify
55+ , Network.Google.Resource.Gmail.Users.Messages.Delete
56+ , Network.Google.Resource.Gmail.Users.Messages.Get
57+ , Network.Google.Resource.Gmail.Users.Messages.Import
58+ , Network.Google.Resource.Gmail.Users.Messages.Insert
59+ , Network.Google.Resource.Gmail.Users.Messages.List
60+ , Network.Google.Resource.Gmail.Users.Messages.Modify
61+ , Network.Google.Resource.Gmail.Users.Messages.Send
62+ , Network.Google.Resource.Gmail.Users.Messages.Trash
63+ , Network.Google.Resource.Gmail.Users.Messages.Untrash
64+ , Network.Google.Resource.Gmail.Users.Settings.Filters.Create
65+ , Network.Google.Resource.Gmail.Users.Settings.Filters.Delete
66+ , Network.Google.Resource.Gmail.Users.Settings.Filters.Get
67+ , Network.Google.Resource.Gmail.Users.Settings.Filters.List
68+ , Network.Google.Resource.Gmail.Users.Settings.ForwardingAddresses.Create
69+ , Network.Google.Resource.Gmail.Users.Settings.ForwardingAddresses.Delete
70+ , Network.Google.Resource.Gmail.Users.Settings.ForwardingAddresses.Get
71+ , Network.Google.Resource.Gmail.Users.Settings.ForwardingAddresses.List
72+ , Network.Google.Resource.Gmail.Users.Settings.GetAutoForwarding
73+ , Network.Google.Resource.Gmail.Users.Settings.GetImap
74+ , Network.Google.Resource.Gmail.Users.Settings.GetPop
75+ , Network.Google.Resource.Gmail.Users.Settings.GetVacation
76+ , Network.Google.Resource.Gmail.Users.Settings.SendAs.Create
77+ , Network.Google.Resource.Gmail.Users.Settings.SendAs.Delete
78+ , Network.Google.Resource.Gmail.Users.Settings.SendAs.Get
79+ , Network.Google.Resource.Gmail.Users.Settings.SendAs.List
80+ , Network.Google.Resource.Gmail.Users.Settings.SendAs.Patch
81+ , Network.Google.Resource.Gmail.Users.Settings.SendAs.Update
82+ , Network.Google.Resource.Gmail.Users.Settings.SendAs.Verify
83+ , Network.Google.Resource.Gmail.Users.Settings.UpdateAutoForwarding
84+ , Network.Google.Resource.Gmail.Users.Settings.UpdateImap
85+ , Network.Google.Resource.Gmail.Users.Settings.UpdatePop
86+ , Network.Google.Resource.Gmail.Users.Settings.UpdateVacation
87+ , Network.Google.Resource.Gmail.Users.Stop
88+ , Network.Google.Resource.Gmail.Users.Threads.Delete
89+ , Network.Google.Resource.Gmail.Users.Threads.Get
90+ , Network.Google.Resource.Gmail.Users.Threads.List
91+ , Network.Google.Resource.Gmail.Users.Threads.Modify
92+ , Network.Google.Resource.Gmail.Users.Threads.Trash
93+ , Network.Google.Resource.Gmail.Users.Threads.Untrash
94+ , Network.Google.Resource.Gmail.Users.Watch
95+
96+ other-modules:
97+ Network.Google.Gmail.Types.Product
98+ , Network.Google.Gmail.Types.Sum
99+
100+ build-depends:
101+ gogol-core == 0.3.0.*
102+ , base >= 4.7 && < 5
test/golden-test-cases/gogol-gmail.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, fetchurl, gogol-core }:
2+mkDerivation {
3+ pname = "gogol-gmail";
4+ version = "0.3.0";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base gogol-core ];
10+ homepage = "https://github.com/brendanhay/gogol";
11+ description = "Google Gmail SDK";
12+ license = "unknown";
13+}
test/golden-test-cases/gogol-kgsearch.cabalnew file+46
@@ -0,0 +1,46 @@
1+name: gogol-kgsearch
2+version: 0.3.0
3+synopsis: Google Knowledge Graph Search SDK.
4+homepage: https://github.com/brendanhay/gogol
5+bug-reports: https://github.com/brendanhay/gogol/issues
6+license: OtherLicense
7+license-file: LICENSE
8+author: Brendan Hay
9+maintainer: Brendan Hay <brendan.g.hay@gmail.com>
10+copyright: Copyright (c) 2015-2016 Brendan Hay
11+category: Network, Google, Cloud
12+build-type: Simple
13+cabal-version: >= 1.10
14+extra-source-files: README.md src/.gitkeep
15+
16+description:
17+ Searches the Google Knowledge Graph for entities.
18+ .
19+ /Warning:/ This is an experimental prototype/preview release which is still
20+ under exploratory development and not intended for public use, caveat emptor!
21+ .
22+ This library is compatible with version @v1@
23+ of the API.
24+
25+source-repository head
26+ type: git
27+ location: git://github.com/brendanhay/gogol.git
28+
29+library
30+ default-language: Haskell2010
31+ hs-source-dirs: src gen
32+
33+ ghc-options: -Wall
34+
35+ exposed-modules:
36+ Network.Google.KnowledgeGraphSearch
37+ , Network.Google.KnowledgeGraphSearch.Types
38+ , Network.Google.Resource.Kgsearch.Entities.Search
39+
40+ other-modules:
41+ Network.Google.KnowledgeGraphSearch.Types.Product
42+ , Network.Google.KnowledgeGraphSearch.Types.Sum
43+
44+ build-depends:
45+ gogol-core == 0.3.0.*
46+ , base >= 4.7 && < 5
test/golden-test-cases/gogol-kgsearch.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, fetchurl, gogol-core }:
2+mkDerivation {
3+ pname = "gogol-kgsearch";
4+ version = "0.3.0";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base gogol-core ];
10+ homepage = "https://github.com/brendanhay/gogol";
11+ description = "Google Knowledge Graph Search SDK";
12+ license = "unknown";
13+}
test/golden-test-cases/gogol-maps-engine.cabalnew file+123
@@ -0,0 +1,123 @@
1+name: gogol-maps-engine
2+version: 0.3.0
3+synopsis: Google Maps Engine SDK.
4+homepage: https://github.com/brendanhay/gogol
5+bug-reports: https://github.com/brendanhay/gogol/issues
6+license: OtherLicense
7+license-file: LICENSE
8+author: Brendan Hay
9+maintainer: Brendan Hay <brendan.g.hay@gmail.com>
10+copyright: Copyright (c) 2015-2016 Brendan Hay
11+category: Network, Google, Cloud
12+build-type: Simple
13+cabal-version: >= 1.10
14+extra-source-files: README.md src/.gitkeep
15+
16+description:
17+ The Google Maps Engine API allows developers to store and query
18+ geospatial vector and raster data.
19+ .
20+ /Warning:/ This is an experimental prototype/preview release which is still
21+ under exploratory development and not intended for public use, caveat emptor!
22+ .
23+ This library is compatible with version @v1@
24+ of the API.
25+
26+source-repository head
27+ type: git
28+ location: git://github.com/brendanhay/gogol.git
29+
30+library
31+ default-language: Haskell2010
32+ hs-source-dirs: src gen
33+
34+ ghc-options: -Wall
35+
36+ exposed-modules:
37+ Network.Google.MapsEngine
38+ , Network.Google.MapsEngine.Types
39+ , Network.Google.Resource.MapsEngine.Assets.Get
40+ , Network.Google.Resource.MapsEngine.Assets.List
41+ , Network.Google.Resource.MapsEngine.Assets.Parents.List
42+ , Network.Google.Resource.MapsEngine.Assets.Permissions.List
43+ , Network.Google.Resource.MapsEngine.Layers.CancelProcessing
44+ , Network.Google.Resource.MapsEngine.Layers.Create
45+ , Network.Google.Resource.MapsEngine.Layers.Delete
46+ , Network.Google.Resource.MapsEngine.Layers.Get
47+ , Network.Google.Resource.MapsEngine.Layers.GetPublished
48+ , Network.Google.Resource.MapsEngine.Layers.List
49+ , Network.Google.Resource.MapsEngine.Layers.ListPublished
50+ , Network.Google.Resource.MapsEngine.Layers.Parents.List
51+ , Network.Google.Resource.MapsEngine.Layers.Patch
52+ , Network.Google.Resource.MapsEngine.Layers.Permissions.BatchDelete
53+ , Network.Google.Resource.MapsEngine.Layers.Permissions.BatchUpdate
54+ , Network.Google.Resource.MapsEngine.Layers.Permissions.List
55+ , Network.Google.Resource.MapsEngine.Layers.Process
56+ , Network.Google.Resource.MapsEngine.Layers.Publish
57+ , Network.Google.Resource.MapsEngine.Layers.UnPublish
58+ , Network.Google.Resource.MapsEngine.Maps.Create
59+ , Network.Google.Resource.MapsEngine.Maps.Delete
60+ , Network.Google.Resource.MapsEngine.Maps.Get
61+ , Network.Google.Resource.MapsEngine.Maps.GetPublished
62+ , Network.Google.Resource.MapsEngine.Maps.List
63+ , Network.Google.Resource.MapsEngine.Maps.ListPublished
64+ , Network.Google.Resource.MapsEngine.Maps.Patch
65+ , Network.Google.Resource.MapsEngine.Maps.Permissions.BatchDelete
66+ , Network.Google.Resource.MapsEngine.Maps.Permissions.BatchUpdate
67+ , Network.Google.Resource.MapsEngine.Maps.Permissions.List
68+ , Network.Google.Resource.MapsEngine.Maps.Publish
69+ , Network.Google.Resource.MapsEngine.Maps.UnPublish
70+ , Network.Google.Resource.MapsEngine.Projects.Icons.Create
71+ , Network.Google.Resource.MapsEngine.Projects.Icons.Get
72+ , Network.Google.Resource.MapsEngine.Projects.Icons.List
73+ , Network.Google.Resource.MapsEngine.Projects.List
74+ , Network.Google.Resource.MapsEngine.RasterCollections.CancelProcessing
75+ , Network.Google.Resource.MapsEngine.RasterCollections.Create
76+ , Network.Google.Resource.MapsEngine.RasterCollections.Delete
77+ , Network.Google.Resource.MapsEngine.RasterCollections.Get
78+ , Network.Google.Resource.MapsEngine.RasterCollections.List
79+ , Network.Google.Resource.MapsEngine.RasterCollections.Parents.List
80+ , Network.Google.Resource.MapsEngine.RasterCollections.Patch
81+ , Network.Google.Resource.MapsEngine.RasterCollections.Permissions.BatchDelete
82+ , Network.Google.Resource.MapsEngine.RasterCollections.Permissions.BatchUpdate
83+ , Network.Google.Resource.MapsEngine.RasterCollections.Permissions.List
84+ , Network.Google.Resource.MapsEngine.RasterCollections.Process
85+ , Network.Google.Resource.MapsEngine.RasterCollections.Rasters.BatchDelete
86+ , Network.Google.Resource.MapsEngine.RasterCollections.Rasters.BatchInsert
87+ , Network.Google.Resource.MapsEngine.RasterCollections.Rasters.List
88+ , Network.Google.Resource.MapsEngine.Rasters.Delete
89+ , Network.Google.Resource.MapsEngine.Rasters.Files.Insert
90+ , Network.Google.Resource.MapsEngine.Rasters.Get
91+ , Network.Google.Resource.MapsEngine.Rasters.List
92+ , Network.Google.Resource.MapsEngine.Rasters.Parents.List
93+ , Network.Google.Resource.MapsEngine.Rasters.Patch
94+ , Network.Google.Resource.MapsEngine.Rasters.Permissions.BatchDelete
95+ , Network.Google.Resource.MapsEngine.Rasters.Permissions.BatchUpdate
96+ , Network.Google.Resource.MapsEngine.Rasters.Permissions.List
97+ , Network.Google.Resource.MapsEngine.Rasters.Process
98+ , Network.Google.Resource.MapsEngine.Rasters.Upload
99+ , Network.Google.Resource.MapsEngine.Tables.Create
100+ , Network.Google.Resource.MapsEngine.Tables.Delete
101+ , Network.Google.Resource.MapsEngine.Tables.Features.BatchDelete
102+ , Network.Google.Resource.MapsEngine.Tables.Features.BatchInsert
103+ , Network.Google.Resource.MapsEngine.Tables.Features.BatchPatch
104+ , Network.Google.Resource.MapsEngine.Tables.Features.Get
105+ , Network.Google.Resource.MapsEngine.Tables.Features.List
106+ , Network.Google.Resource.MapsEngine.Tables.Files.Insert
107+ , Network.Google.Resource.MapsEngine.Tables.Get
108+ , Network.Google.Resource.MapsEngine.Tables.List
109+ , Network.Google.Resource.MapsEngine.Tables.Parents.List
110+ , Network.Google.Resource.MapsEngine.Tables.Patch
111+ , Network.Google.Resource.MapsEngine.Tables.Permissions.BatchDelete
112+ , Network.Google.Resource.MapsEngine.Tables.Permissions.BatchUpdate
113+ , Network.Google.Resource.MapsEngine.Tables.Permissions.List
114+ , Network.Google.Resource.MapsEngine.Tables.Process
115+ , Network.Google.Resource.MapsEngine.Tables.Upload
116+
117+ other-modules:
118+ Network.Google.MapsEngine.Types.Product
119+ , Network.Google.MapsEngine.Types.Sum
120+
121+ build-depends:
122+ gogol-core == 0.3.0.*
123+ , base >= 4.7 && < 5
test/golden-test-cases/gogol-maps-engine.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, fetchurl, gogol-core }:
2+mkDerivation {
3+ pname = "gogol-maps-engine";
4+ version = "0.3.0";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base gogol-core ];
10+ homepage = "https://github.com/brendanhay/gogol";
11+ description = "Google Maps Engine SDK";
12+ license = "unknown";
13+}
test/golden-test-cases/gogol-plus.cabalnew file+54
@@ -0,0 +1,54 @@
1+name: gogol-plus
2+version: 0.3.0
3+synopsis: Google + SDK.
4+homepage: https://github.com/brendanhay/gogol
5+bug-reports: https://github.com/brendanhay/gogol/issues
6+license: OtherLicense
7+license-file: LICENSE
8+author: Brendan Hay
9+maintainer: Brendan Hay <brendan.g.hay@gmail.com>
10+copyright: Copyright (c) 2015-2016 Brendan Hay
11+category: Network, Google, Cloud
12+build-type: Simple
13+cabal-version: >= 1.10
14+extra-source-files: README.md src/.gitkeep
15+
16+description:
17+ Builds on top of the Google+ platform.
18+ .
19+ /Warning:/ This is an experimental prototype/preview release which is still
20+ under exploratory development and not intended for public use, caveat emptor!
21+ .
22+ This library is compatible with version @v1@
23+ of the API.
24+
25+source-repository head
26+ type: git
27+ location: git://github.com/brendanhay/gogol.git
28+
29+library
30+ default-language: Haskell2010
31+ hs-source-dirs: src gen
32+
33+ ghc-options: -Wall
34+
35+ exposed-modules:
36+ Network.Google.Plus
37+ , Network.Google.Plus.Types
38+ , Network.Google.Resource.Plus.Activities.Get
39+ , Network.Google.Resource.Plus.Activities.List
40+ , Network.Google.Resource.Plus.Activities.Search
41+ , Network.Google.Resource.Plus.Comments.Get
42+ , Network.Google.Resource.Plus.Comments.List
43+ , Network.Google.Resource.Plus.People.Get
44+ , Network.Google.Resource.Plus.People.List
45+ , Network.Google.Resource.Plus.People.ListByActivity
46+ , Network.Google.Resource.Plus.People.Search
47+
48+ other-modules:
49+ Network.Google.Plus.Types.Product
50+ , Network.Google.Plus.Types.Sum
51+
52+ build-depends:
53+ gogol-core == 0.3.0.*
54+ , base >= 4.7 && < 5
test/golden-test-cases/gogol-plus.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, fetchurl, gogol-core }:
2+mkDerivation {
3+ pname = "gogol-plus";
4+ version = "0.3.0";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base gogol-core ];
10+ homepage = "https://github.com/brendanhay/gogol";
11+ description = "Google + SDK";
12+ license = "unknown";
13+}
test/golden-test-cases/gogol-resourceviews.cabalnew file+61
@@ -0,0 +1,61 @@
1+name: gogol-resourceviews
2+version: 0.3.0
3+synopsis: Google Compute Engine Instance Groups SDK.
4+homepage: https://github.com/brendanhay/gogol
5+bug-reports: https://github.com/brendanhay/gogol/issues
6+license: OtherLicense
7+license-file: LICENSE
8+author: Brendan Hay
9+maintainer: Brendan Hay <brendan.g.hay@gmail.com>
10+copyright: Copyright (c) 2015-2016 Brendan Hay
11+category: Network, Google, Cloud
12+build-type: Simple
13+cabal-version: >= 1.10
14+extra-source-files: README.md src/.gitkeep
15+
16+description:
17+ The Resource View API allows users to create and manage logical sets of
18+ Google Compute Engine instances.
19+ .
20+ /Warning:/ This is an experimental prototype/preview release which is still
21+ under exploratory development and not intended for public use, caveat emptor!
22+ .
23+ This library is compatible with version @v1beta2@
24+ of the API.
25+ .
26+ Labels:
27+ .
28+ * Limited Availability
29+
30+source-repository head
31+ type: git
32+ location: git://github.com/brendanhay/gogol.git
33+
34+library
35+ default-language: Haskell2010
36+ hs-source-dirs: src gen
37+
38+ ghc-options: -Wall
39+
40+ exposed-modules:
41+ Network.Google.Resource.ResourceViews.ZoneOperations.Get
42+ , Network.Google.Resource.ResourceViews.ZoneOperations.List
43+ , Network.Google.Resource.ResourceViews.ZoneViews.AddResources
44+ , Network.Google.Resource.ResourceViews.ZoneViews.Delete
45+ , Network.Google.Resource.ResourceViews.ZoneViews.Get
46+ , Network.Google.Resource.ResourceViews.ZoneViews.GetService
47+ , Network.Google.Resource.ResourceViews.ZoneViews.Insert
48+ , Network.Google.Resource.ResourceViews.ZoneViews.List
49+ , Network.Google.Resource.ResourceViews.ZoneViews.ListResources
50+ , Network.Google.Resource.ResourceViews.ZoneViews.RemoveResources
51+ , Network.Google.Resource.ResourceViews.ZoneViews.SetService
52+ , Network.Google.ResourceViews
53+ , Network.Google.ResourceViews.Types
54+
55+ other-modules:
56+ Network.Google.ResourceViews.Types.Product
57+ , Network.Google.ResourceViews.Types.Sum
58+
59+ build-depends:
60+ gogol-core == 0.3.0.*
61+ , base >= 4.7 && < 5
test/golden-test-cases/gogol-resourceviews.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, fetchurl, gogol-core }:
2+mkDerivation {
3+ pname = "gogol-resourceviews";
4+ version = "0.3.0";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base gogol-core ];
10+ homepage = "https://github.com/brendanhay/gogol";
11+ description = "Google Compute Engine Instance Groups SDK";
12+ license = "unknown";
13+}
test/golden-test-cases/gogol-translate.cabalnew file+48
@@ -0,0 +1,48 @@
1+name: gogol-translate
2+version: 0.3.0
3+synopsis: Google Translate SDK.
4+homepage: https://github.com/brendanhay/gogol
5+bug-reports: https://github.com/brendanhay/gogol/issues
6+license: OtherLicense
7+license-file: LICENSE
8+author: Brendan Hay
9+maintainer: Brendan Hay <brendan.g.hay@gmail.com>
10+copyright: Copyright (c) 2015-2016 Brendan Hay
11+category: Network, Google, Cloud
12+build-type: Simple
13+cabal-version: >= 1.10
14+extra-source-files: README.md src/.gitkeep
15+
16+description:
17+ Translates text from one language to another.
18+ .
19+ /Warning:/ This is an experimental prototype/preview release which is still
20+ under exploratory development and not intended for public use, caveat emptor!
21+ .
22+ This library is compatible with version @v2@
23+ of the API.
24+
25+source-repository head
26+ type: git
27+ location: git://github.com/brendanhay/gogol.git
28+
29+library
30+ default-language: Haskell2010
31+ hs-source-dirs: src gen
32+
33+ ghc-options: -Wall
34+
35+ exposed-modules:
36+ Network.Google.Resource.Language.Detections.List
37+ , Network.Google.Resource.Language.Languages.List
38+ , Network.Google.Resource.Language.Translations.List
39+ , Network.Google.Translate
40+ , Network.Google.Translate.Types
41+
42+ other-modules:
43+ Network.Google.Translate.Types.Product
44+ , Network.Google.Translate.Types.Sum
45+
46+ build-depends:
47+ gogol-core == 0.3.0.*
48+ , base >= 4.7 && < 5
test/golden-test-cases/gogol-translate.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, fetchurl, gogol-core }:
2+mkDerivation {
3+ pname = "gogol-translate";
4+ version = "0.3.0";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base gogol-core ];
10+ homepage = "https://github.com/brendanhay/gogol";
11+ description = "Google Translate SDK";
12+ license = "unknown";
13+}
test/golden-test-cases/gogol-webmaster-tools.cabalnew file+58
@@ -0,0 +1,58 @@
1+name: gogol-webmaster-tools
2+version: 0.3.0
3+synopsis: Google Search Console SDK.
4+homepage: https://github.com/brendanhay/gogol
5+bug-reports: https://github.com/brendanhay/gogol/issues
6+license: OtherLicense
7+license-file: LICENSE
8+author: Brendan Hay
9+maintainer: Brendan Hay <brendan.g.hay@gmail.com>
10+copyright: Copyright (c) 2015-2016 Brendan Hay
11+category: Network, Google, Cloud
12+build-type: Simple
13+cabal-version: >= 1.10
14+extra-source-files: README.md src/.gitkeep
15+
16+description:
17+ View Google Search Console data for your verified sites.
18+ .
19+ /Warning:/ This is an experimental prototype/preview release which is still
20+ under exploratory development and not intended for public use, caveat emptor!
21+ .
22+ This library is compatible with version @v3@
23+ of the API.
24+
25+source-repository head
26+ type: git
27+ location: git://github.com/brendanhay/gogol.git
28+
29+library
30+ default-language: Haskell2010
31+ hs-source-dirs: src gen
32+
33+ ghc-options: -Wall
34+
35+ exposed-modules:
36+ Network.Google.Resource.Webmasters.Searchanalytics.Query
37+ , Network.Google.Resource.Webmasters.Sitemaps.Delete
38+ , Network.Google.Resource.Webmasters.Sitemaps.Get
39+ , Network.Google.Resource.Webmasters.Sitemaps.List
40+ , Network.Google.Resource.Webmasters.Sitemaps.Submit
41+ , Network.Google.Resource.Webmasters.Sites.Add
42+ , Network.Google.Resource.Webmasters.Sites.Delete
43+ , Network.Google.Resource.Webmasters.Sites.Get
44+ , Network.Google.Resource.Webmasters.Sites.List
45+ , Network.Google.Resource.Webmasters.URLCrawlErrorsSamples.Get
46+ , Network.Google.Resource.Webmasters.URLCrawlErrorsSamples.List
47+ , Network.Google.Resource.Webmasters.URLCrawlErrorsSamples.MarkAsFixed
48+ , Network.Google.Resource.Webmasters.URLCrawlErrorscounts.Query
49+ , Network.Google.WebmasterTools
50+ , Network.Google.WebmasterTools.Types
51+
52+ other-modules:
53+ Network.Google.WebmasterTools.Types.Product
54+ , Network.Google.WebmasterTools.Types.Sum
55+
56+ build-depends:
57+ gogol-core == 0.3.0.*
58+ , base >= 4.7 && < 5
test/golden-test-cases/gogol-webmaster-tools.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, fetchurl, gogol-core }:
2+mkDerivation {
3+ pname = "gogol-webmaster-tools";
4+ version = "0.3.0";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base gogol-core ];
10+ homepage = "https://github.com/brendanhay/gogol";
11+ description = "Google Search Console SDK";
12+ license = "unknown";
13+}
test/golden-test-cases/gogol-youtube.cabalnew file+117
@@ -0,0 +1,117 @@
1+name: gogol-youtube
2+version: 0.3.0
3+synopsis: Google YouTube Data SDK.
4+homepage: https://github.com/brendanhay/gogol
5+bug-reports: https://github.com/brendanhay/gogol/issues
6+license: OtherLicense
7+license-file: LICENSE
8+author: Brendan Hay
9+maintainer: Brendan Hay <brendan.g.hay@gmail.com>
10+copyright: Copyright (c) 2015-2016 Brendan Hay
11+category: Network, Google, Cloud
12+build-type: Simple
13+cabal-version: >= 1.10
14+extra-source-files: README.md src/.gitkeep
15+
16+description:
17+ Supports core YouTube features, such as uploading videos, creating and
18+ managing playlists, searching for content, and much more.
19+ .
20+ /Warning:/ This is an experimental prototype/preview release which is still
21+ under exploratory development and not intended for public use, caveat emptor!
22+ .
23+ This library is compatible with version @v3@
24+ of the API.
25+
26+source-repository head
27+ type: git
28+ location: git://github.com/brendanhay/gogol.git
29+
30+library
31+ default-language: Haskell2010
32+ hs-source-dirs: src gen
33+
34+ ghc-options: -Wall
35+
36+ exposed-modules:
37+ Network.Google.Resource.YouTube.Activities.Insert
38+ , Network.Google.Resource.YouTube.Activities.List
39+ , Network.Google.Resource.YouTube.Captions.Delete
40+ , Network.Google.Resource.YouTube.Captions.Download
41+ , Network.Google.Resource.YouTube.Captions.Insert
42+ , Network.Google.Resource.YouTube.Captions.List
43+ , Network.Google.Resource.YouTube.Captions.Update
44+ , Network.Google.Resource.YouTube.ChannelBanners.Insert
45+ , Network.Google.Resource.YouTube.ChannelSections.Delete
46+ , Network.Google.Resource.YouTube.ChannelSections.Insert
47+ , Network.Google.Resource.YouTube.ChannelSections.List
48+ , Network.Google.Resource.YouTube.ChannelSections.Update
49+ , Network.Google.Resource.YouTube.Channels.List
50+ , Network.Google.Resource.YouTube.Channels.Update
51+ , Network.Google.Resource.YouTube.CommentThreads.Insert
52+ , Network.Google.Resource.YouTube.CommentThreads.List
53+ , Network.Google.Resource.YouTube.CommentThreads.Update
54+ , Network.Google.Resource.YouTube.Comments.Delete
55+ , Network.Google.Resource.YouTube.Comments.Insert
56+ , Network.Google.Resource.YouTube.Comments.List
57+ , Network.Google.Resource.YouTube.Comments.MarkAsSpam
58+ , Network.Google.Resource.YouTube.Comments.SetModerationStatus
59+ , Network.Google.Resource.YouTube.Comments.Update
60+ , Network.Google.Resource.YouTube.FanFundingEvents.List
61+ , Network.Google.Resource.YouTube.GuideCategories.List
62+ , Network.Google.Resource.YouTube.I18nLanguages.List
63+ , Network.Google.Resource.YouTube.I18nRegions.List
64+ , Network.Google.Resource.YouTube.LiveBroadcasts.Bind
65+ , Network.Google.Resource.YouTube.LiveBroadcasts.Control
66+ , Network.Google.Resource.YouTube.LiveBroadcasts.Delete
67+ , Network.Google.Resource.YouTube.LiveBroadcasts.Insert
68+ , Network.Google.Resource.YouTube.LiveBroadcasts.List
69+ , Network.Google.Resource.YouTube.LiveBroadcasts.Transition
70+ , Network.Google.Resource.YouTube.LiveBroadcasts.Update
71+ , Network.Google.Resource.YouTube.LiveChatBans.Delete
72+ , Network.Google.Resource.YouTube.LiveChatBans.Insert
73+ , Network.Google.Resource.YouTube.LiveChatMessages.Delete
74+ , Network.Google.Resource.YouTube.LiveChatMessages.Insert
75+ , Network.Google.Resource.YouTube.LiveChatMessages.List
76+ , Network.Google.Resource.YouTube.LiveChatModerators.Delete
77+ , Network.Google.Resource.YouTube.LiveChatModerators.Insert
78+ , Network.Google.Resource.YouTube.LiveChatModerators.List
79+ , Network.Google.Resource.YouTube.LiveStreams.Delete
80+ , Network.Google.Resource.YouTube.LiveStreams.Insert
81+ , Network.Google.Resource.YouTube.LiveStreams.List
82+ , Network.Google.Resource.YouTube.LiveStreams.Update
83+ , Network.Google.Resource.YouTube.PlayListItems.Delete
84+ , Network.Google.Resource.YouTube.PlayListItems.Insert
85+ , Network.Google.Resource.YouTube.PlayListItems.List
86+ , Network.Google.Resource.YouTube.PlayListItems.Update
87+ , Network.Google.Resource.YouTube.PlayLists.Delete
88+ , Network.Google.Resource.YouTube.PlayLists.Insert
89+ , Network.Google.Resource.YouTube.PlayLists.List
90+ , Network.Google.Resource.YouTube.PlayLists.Update
91+ , Network.Google.Resource.YouTube.Search.List
92+ , Network.Google.Resource.YouTube.Sponsors.List
93+ , Network.Google.Resource.YouTube.Subscriptions.Delete
94+ , Network.Google.Resource.YouTube.Subscriptions.Insert
95+ , Network.Google.Resource.YouTube.Subscriptions.List
96+ , Network.Google.Resource.YouTube.Thumbnails.Set
97+ , Network.Google.Resource.YouTube.VideoAbuseReportReasons.List
98+ , Network.Google.Resource.YouTube.VideoCategories.List
99+ , Network.Google.Resource.YouTube.Videos.Delete
100+ , Network.Google.Resource.YouTube.Videos.GetRating
101+ , Network.Google.Resource.YouTube.Videos.Insert
102+ , Network.Google.Resource.YouTube.Videos.List
103+ , Network.Google.Resource.YouTube.Videos.Rate
104+ , Network.Google.Resource.YouTube.Videos.ReportAbuse
105+ , Network.Google.Resource.YouTube.Videos.Update
106+ , Network.Google.Resource.YouTube.Watermarks.Set
107+ , Network.Google.Resource.YouTube.Watermarks.UnSet
108+ , Network.Google.YouTube
109+ , Network.Google.YouTube.Types
110+
111+ other-modules:
112+ Network.Google.YouTube.Types.Product
113+ , Network.Google.YouTube.Types.Sum
114+
115+ build-depends:
116+ gogol-core == 0.3.0.*
117+ , base >= 4.7 && < 5
test/golden-test-cases/gogol-youtube.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, fetchurl, gogol-core }:
2+mkDerivation {
3+ pname = "gogol-youtube";
4+ version = "0.3.0";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base gogol-core ];
10+ homepage = "https://github.com/brendanhay/gogol";
11+ description = "Google YouTube Data SDK";
12+ license = "unknown";
13+}
test/golden-test-cases/groundhog-mysql.cabalnew file+32
@@ -0,0 +1,32 @@
1+name: groundhog-mysql
2+version: 0.8
3+license: BSD3
4+license-file: LICENSE
5+author: Boris Lykah <lykahb@gmail.com>
6+maintainer: Boris Lykah <lykahb@gmail.com>
7+synopsis: MySQL backend for the groundhog library.
8+description: This package uses mysql-simple and mysql
9+category: Database
10+stability: Stable
11+cabal-version: >= 1.6
12+build-type: Simple
13+
14+extra-source-files:
15+ changelog
16+
17+library
18+ build-depends: base >= 4 && < 5
19+ , mysql-simple >= 0.2.2.3 && < 0.5
20+ , mysql >= 0.1.1.3 && < 0.2
21+ , bytestring >= 0.9
22+ , transformers >= 0.2.1 && < 0.6
23+ , groundhog >= 0.8 && < 0.9
24+ , monad-control >= 0.3 && < 1.1
25+ , monad-logger >= 0.3 && < 0.4
26+ , containers >= 0.2
27+ , text >= 0.8
28+ , resource-pool >= 0.2.1
29+ , time >= 1.1
30+ , resourcet >= 1.1.2
31+ exposed-modules: Database.Groundhog.MySQL
32+ ghc-options: -Wall -fno-warn-unused-do-bind
test/golden-test-cases/groundhog-mysql.nix.goldennew file+18
@@ -0,0 +1,18 @@
1+{ mkDerivation, base, bytestring, containers, fetchurl, groundhog
2+, monad-control, monad-logger, mysql, mysql-simple, resource-pool
3+, resourcet, text, time, transformers
4+}:
5+mkDerivation {
6+ pname = "groundhog-mysql";
7+ version = "0.8";
8+ src = fetchurl {
9+ url = "http://example.org/";
10+ sha256 = "abc";
11+ };
12+ libraryHaskellDepends = [
13+ base bytestring containers groundhog monad-control monad-logger
14+ mysql mysql-simple resource-pool resourcet text time transformers
15+ ];
16+ description = "MySQL backend for the groundhog library";
17+ license = stdenv.lib.licenses.bsd3;
18+}
test/golden-test-cases/gsasl.cabalnew file+38
@@ -0,0 +1,38 @@
1+name: gsasl
2+version: 0.3.6
3+license: GPL-3
4+license-file: license.txt
5+author: John Millikin <john@john-millikin.com>
6+maintainer: John Millikin <john@john-millikin.com>
7+build-type: Simple
8+cabal-version: >= 1.6
9+category: Network
10+stability: experimental
11+homepage: https://john-millikin.com/software/haskell-gsasl/
12+bug-reports: mailto:jmillikin@gmail.com
13+
14+synopsis: Bindings for GNU libgsasl
15+description:
16+
17+source-repository head
18+ type: git
19+ location: https://john-millikin.com/code/haskell-gsasl/
20+
21+source-repository this
22+ type: git
23+ location: https://john-millikin.com/code/haskell-gsasl/
24+ tag: haskell-gsasl_0.3.6
25+
26+library
27+ ghc-options: -Wall -O2
28+ hs-source-dirs: lib
29+ c-sources: cbits/hsgsasl-shim.c
30+
31+ build-depends:
32+ base >= 4.0 && < 5.0
33+ , transformers >= 0.2
34+ , bytestring >= 0.9
35+
36+ pkgconfig-depends: libgsasl >= 1.1
37+
38+ exposed-modules: Network.Protocol.SASL.GNU
test/golden-test-cases/gsasl.nix.goldennew file+14
@@ -0,0 +1,14 @@
1+{ mkDerivation, base, bytestring, fetchurl, gsasl, transformers }:
2+mkDerivation {
3+ pname = "gsasl";
4+ version = "0.3.6";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base bytestring transformers ];
10+ libraryPkgconfigDepends = [ gsasl ];
11+ homepage = "https://john-millikin.com/software/haskell-gsasl/";
12+ description = "Bindings for GNU libgsasl";
13+ license = stdenv.lib.licenses.gpl3;
14+}
test/golden-test-cases/hOpenPGP.cabalnew file+342
@@ -0,0 +1,342 @@
1+Name: hOpenPGP
2+Version: 2.5.5
3+Synopsis: native Haskell implementation of OpenPGP (RFC4880)
4+Description: native Haskell implementation of OpenPGP (RFC4880), plus Camellia (RFC5581)
5+Homepage: http://floss.scru.org/hOpenPGP/
6+License: MIT
7+License-file: LICENSE
8+Author: Clint Adams
9+Maintainer: Clint Adams <clint@debian.org>
10+Copyright: 2012-2016 Clint Adams
11+Category: Codec, Data
12+Build-type: Simple
13+Extra-source-files: tests/suite.hs
14+ , tests/data/000001-006.public_key
15+ , tests/data/000002-013.user_id
16+ , tests/data/000003-002.sig
17+ , tests/data/000004-012.ring_trust
18+ , tests/data/000005-002.sig
19+ , tests/data/000006-012.ring_trust
20+ , tests/data/000007-002.sig
21+ , tests/data/000008-012.ring_trust
22+ , tests/data/000009-002.sig
23+ , tests/data/000010-012.ring_trust
24+ , tests/data/000011-002.sig
25+ , tests/data/000012-012.ring_trust
26+ , tests/data/000013-014.public_subkey
27+ , tests/data/000014-002.sig
28+ , tests/data/000015-012.ring_trust
29+ , tests/data/000016-006.public_key
30+ , tests/data/000017-002.sig
31+ , tests/data/000018-012.ring_trust
32+ , tests/data/000019-013.user_id
33+ , tests/data/000020-002.sig
34+ , tests/data/000021-012.ring_trust
35+ , tests/data/000022-002.sig
36+ , tests/data/000023-012.ring_trust
37+ , tests/data/000024-014.public_subkey
38+ , tests/data/000025-002.sig
39+ , tests/data/000026-012.ring_trust
40+ , tests/data/000027-006.public_key
41+ , tests/data/000028-002.sig
42+ , tests/data/000029-012.ring_trust
43+ , tests/data/000030-013.user_id
44+ , tests/data/000031-002.sig
45+ , tests/data/000032-012.ring_trust
46+ , tests/data/000033-002.sig
47+ , tests/data/000034-012.ring_trust
48+ , tests/data/000035-006.public_key
49+ , tests/data/000036-013.user_id
50+ , tests/data/000037-002.sig
51+ , tests/data/000038-012.ring_trust
52+ , tests/data/000039-002.sig
53+ , tests/data/000040-012.ring_trust
54+ , tests/data/000041-017.attribute
55+ , tests/data/000042-002.sig
56+ , tests/data/000043-012.ring_trust
57+ , tests/data/000044-014.public_subkey
58+ , tests/data/000045-002.sig
59+ , tests/data/000046-012.ring_trust
60+ , tests/data/000047-005.secret_key
61+ , tests/data/000048-013.user_id
62+ , tests/data/000049-002.sig
63+ , tests/data/000050-012.ring_trust
64+ , tests/data/000051-007.secret_subkey
65+ , tests/data/000052-002.sig
66+ , tests/data/000053-012.ring_trust
67+ , tests/data/000054-005.secret_key
68+ , tests/data/000055-002.sig
69+ , tests/data/000056-012.ring_trust
70+ , tests/data/000057-013.user_id
71+ , tests/data/000058-002.sig
72+ , tests/data/000059-012.ring_trust
73+ , tests/data/000060-007.secret_subkey
74+ , tests/data/000061-002.sig
75+ , tests/data/000062-012.ring_trust
76+ , tests/data/000063-005.secret_key
77+ , tests/data/000064-002.sig
78+ , tests/data/000065-012.ring_trust
79+ , tests/data/000066-013.user_id
80+ , tests/data/000067-002.sig
81+ , tests/data/000068-012.ring_trust
82+ , tests/data/000069-005.secret_key
83+ , tests/data/000070-013.user_id
84+ , tests/data/000071-002.sig
85+ , tests/data/000072-012.ring_trust
86+ , tests/data/000073-017.attribute
87+ , tests/data/000074-002.sig
88+ , tests/data/000075-012.ring_trust
89+ , tests/data/000076-007.secret_subkey
90+ , tests/data/000077-002.sig
91+ , tests/data/000078-012.ring_trust
92+ , tests/data/pubring.gpg
93+ , tests/data/secring.gpg
94+ , tests/data/compressedsig.gpg
95+ , tests/data/msg1.asc
96+ , tests/data/uncompressed-ops-rsa.gpg
97+ , tests/data/uncompressed-ops-dsa.gpg
98+ , tests/data/uncompressed-ops-dsa-sha384.txt.gpg
99+ , tests/data/encryption.gpg
100+ , tests/data/compressedsig-zlib.gpg
101+ , tests/data/compressedsig-bzip2.gpg
102+ , tests/data/onepass_sig
103+ , tests/data/simple.seckey
104+ , tests/data/minimized.gpg
105+ , tests/data/subkey.gpg
106+ , tests/data/signing-subkey.gpg
107+ , tests/data/uat.gpg
108+ , tests/data/prikey-rev.gpg
109+ , tests/data/subkey-rev.gpg
110+ , tests/data/6F87040E.pubkey
111+ , tests/data/6F87040E-cr.pubkey
112+ , tests/data/v3.key
113+ , tests/data/primary-binding.gpg
114+ , tests/data/pki-password.txt
115+ , tests/data/symmetric-password.txt
116+ , tests/data/encryption-sym-aes256-s2k0.gpg
117+ , tests/data/encryption-sym-aes128-s2k0.gpg
118+ , tests/data/encryption-sym-aes128.gpg
119+ , tests/data/encryption-sym-aes256.gpg
120+ , tests/data/encryption-sym-3des-s2k0.gpg
121+ , tests/data/encryption-sym-3des.gpg
122+ , tests/data/encryption-sym-aes192-s2k0.gpg
123+ , tests/data/encryption-sym-aes192.gpg
124+ , tests/data/encryption-sym-blowfish-s2k0.gpg
125+ , tests/data/encryption-sym-blowfish.gpg
126+ , tests/data/encryption-sym-twofish-s2k0.gpg
127+ , tests/data/encryption-sym-twofish.gpg
128+ , tests/data/encryption-sym-cast5-mdc-s2k0.gpg
129+ , tests/data/encryption-sym-cast5-mdc.gpg
130+ , tests/data/encryption-sym-blowfish-mdc-s2k0.gpg
131+ , tests/data/encryption-sym-blowfish-mdc.gpg
132+ , tests/data/encryption-sym-3des-mdc-s2k0.gpg
133+ , tests/data/encryption-sym-3des-mdc.gpg
134+ , tests/data/encryption-sym-cast5.gpg
135+ , tests/data/encryption-sym-cast5-s2k0.gpg
136+ , tests/data/encryption-sym-camellia128.gpg
137+ , tests/data/encryption-sym-camellia128-s2k0.gpg
138+ , tests/data/encryption-sym-camellia192.gpg
139+ , tests/data/encryption-sym-camellia256.gpg
140+ , tests/data/16bitcksum.seckey
141+ , tests/data/aes256-sha512.seckey
142+ , tests/data/unencrypted.seckey
143+ , tests/data/v3-genericcert.sig
144+ , tests/data/revoked.pubkey
145+ , tests/data/expired.pubkey
146+ , tests/data/sigs-with-regexes
147+ , tests/data/gnu-dummy-s2k-101-secret-key.gpg
148+ , tests/data/anibal-ed25519.gpg
149+
150+Cabal-version: >= 1.10
151+
152+flag network-uri
153+ description: Get Network.URI from the network-uri package
154+ default: True
155+
156+Library
157+ Exposed-modules: Codec.Encryption.OpenPGP.Types
158+ , Codec.Encryption.OpenPGP.CFB
159+ , Codec.Encryption.OpenPGP.Compression
160+ , Codec.Encryption.OpenPGP.Expirations
161+ , Codec.Encryption.OpenPGP.Fingerprint
162+ , Codec.Encryption.OpenPGP.KeyInfo
163+ , Codec.Encryption.OpenPGP.KeyringParser
164+ , Codec.Encryption.OpenPGP.KeySelection
165+ , Codec.Encryption.OpenPGP.Ontology
166+ , Codec.Encryption.OpenPGP.S2K
167+ , Codec.Encryption.OpenPGP.SecretKey
168+ , Codec.Encryption.OpenPGP.Serialize
169+ , Codec.Encryption.OpenPGP.Signatures
170+ , Data.Conduit.OpenPGP.Compression
171+ , Data.Conduit.OpenPGP.Decrypt
172+ , Data.Conduit.OpenPGP.Filter
173+ , Data.Conduit.OpenPGP.Keyring
174+ , Data.Conduit.OpenPGP.Keyring.Instances
175+ , Data.Conduit.OpenPGP.Verify
176+ Other-Modules: Codec.Encryption.OpenPGP.Internal
177+ , Codec.Encryption.OpenPGP.Internal.CryptoCipherTypes
178+ , Codec.Encryption.OpenPGP.Internal.Cryptonite
179+ , Codec.Encryption.OpenPGP.Internal.HOBlockCipher
180+ , Codec.Encryption.OpenPGP.SerializeForSigs
181+ , Codec.Encryption.OpenPGP.Types.Internal.Base
182+ , Codec.Encryption.OpenPGP.Types.Internal.CryptoniteNewtypes
183+ , Codec.Encryption.OpenPGP.Types.Internal.PacketClass
184+ , Codec.Encryption.OpenPGP.Types.Internal.PKITypes
185+ , Codec.Encryption.OpenPGP.Types.Internal.Pkt
186+ , Codec.Encryption.OpenPGP.Types.Internal.TK
187+ , Codec.Encryption.OpenPGP.BlockCipher
188+ Build-depends: aeson
189+ , attoparsec
190+ , base > 4 && < 5
191+ , base16-bytestring
192+ , base64-bytestring
193+ , bifunctors
194+ , byteable
195+ , bytestring
196+ , bzlib
197+ , binary >= 0.6.4.0
198+ , binary-conduit
199+ , conduit >= 0.5 && < 1.3
200+ , conduit-extra >= 1.1
201+ , containers
202+ , cryptonite >= 0.5
203+ , crypto-cipher-types
204+ , data-default-class
205+ , errors
206+ , hashable
207+ , incremental-parser
208+ , ixset-typed
209+ , lens >= 3.0
210+ , memory
211+ , monad-loops
212+ , nettle
213+ , newtype
214+ , openpgp-asciiarmor >= 0.1
215+ , resourcet > 0.4
216+ , securemem
217+ , semigroups
218+ , split
219+ , text
220+ , time >= 1.1
221+ , time-locale-compat
222+ , transformers
223+ , unordered-containers
224+ , wl-pprint-extras
225+ , zlib
226+ if flag(network-uri)
227+ build-depends: network-uri >= 2.6, network >= 2.6
228+ else
229+ build-depends: network-uri < 2.6, network < 2.6
230+ default-language: Haskell2010
231+
232+
233+Test-Suite tests
234+ type: exitcode-stdio-1.0
235+ main-is: tests/suite.hs
236+ other-modules: Codec.Encryption.OpenPGP.Arbitrary
237+ Ghc-options: -Wall -with-rtsopts=-K1K
238+ Build-depends: hOpenPGP
239+ , aeson
240+ , attoparsec
241+ , base > 4 && < 5
242+ , base16-bytestring
243+ , bifunctors
244+ , byteable
245+ , bytestring
246+ , bzlib
247+ , binary >= 0.6.4.0
248+ , binary-conduit
249+ , conduit
250+ , conduit-extra
251+ , containers
252+ , cryptonite >= 0.5
253+ , crypto-cipher-types
254+ , data-default-class
255+ , errors
256+ , hashable
257+ , incremental-parser
258+ , ixset-typed
259+ , lens >= 3.0
260+ , memory
261+ , monad-loops
262+ , nettle
263+ , newtype
264+ , securemem
265+ , semigroups
266+ , split
267+ , text
268+ , time >= 1.1
269+ , time-locale-compat
270+ , transformers
271+ , unordered-containers
272+ , wl-pprint-extras
273+ , zlib
274+ , tasty
275+ , tasty-hunit
276+ , tasty-quickcheck
277+ , QuickCheck
278+ , quickcheck-instances
279+ , resourcet > 0.4
280+ if flag(network-uri)
281+ build-depends: network-uri >= 2.6, network >= 2.6
282+ else
283+ build-depends: network-uri < 2.6, network < 2.6
284+ default-language: Haskell2010
285+
286+Benchmark benchmark
287+ type: exitcode-stdio-1.0
288+ main-is: bench/mark.hs
289+ Ghc-options: -Wall
290+ Build-depends: hOpenPGP
291+ , aeson
292+ , base > 4 && < 5
293+ , base16-bytestring
294+ , base64-bytestring
295+ , bifunctors
296+ , byteable
297+ , bytestring
298+ , bzlib
299+ , binary >= 0.6.4.0
300+ , binary-conduit
301+ , conduit >= 0.5 && < 1.3
302+ , conduit-extra >= 1.1
303+ , containers
304+ , cryptonite >= 0.5
305+ , crypto-cipher-types
306+ , data-default-class
307+ , errors
308+ , hashable
309+ , incremental-parser
310+ , ixset-typed
311+ , lens >= 3.0
312+ , memory
313+ , monad-loops
314+ , nettle
315+ , newtype
316+ , openpgp-asciiarmor >= 0.1
317+ , resourcet > 0.4
318+ , securemem
319+ , semigroups
320+ , split
321+ , text
322+ , time >= 1.1
323+ , time-locale-compat
324+ , transformers
325+ , unordered-containers
326+ , wl-pprint-extras
327+ , zlib
328+ , criterion > 0.8
329+ if flag(network-uri)
330+ build-depends: network-uri >= 2.6, network >= 2.6
331+ else
332+ build-depends: network-uri < 2.6, network < 2.6
333+ default-language: Haskell2010
334+
335+source-repository head
336+ type: git
337+ location: git://git.debian.org/users/clint/hOpenPGP.git
338+
339+source-repository this
340+ type: git
341+ location: git://git.debian.org/users/clint/hOpenPGP.git
342+ tag: v2.5.5
test/golden-test-cases/hOpenPGP.nix.goldennew file+52
@@ -0,0 +1,52 @@
1+{ mkDerivation, aeson, attoparsec, base, base16-bytestring
2+, base64-bytestring, bifunctors, binary, binary-conduit, byteable
3+, bytestring, bzlib, conduit, conduit-extra, containers, criterion
4+, crypto-cipher-types, cryptonite, data-default-class, errors
5+, fetchurl, hashable, incremental-parser, ixset-typed, lens, memory
6+, monad-loops, nettle, network, network-uri, newtype
7+, openpgp-asciiarmor, QuickCheck, quickcheck-instances, resourcet
8+, securemem, semigroups, split, tasty, tasty-hunit
9+, tasty-quickcheck, text, time, time-locale-compat, transformers
10+, unordered-containers, wl-pprint-extras, zlib
11+}:
12+mkDerivation {
13+ pname = "hOpenPGP";
14+ version = "2.5.5";
15+ src = fetchurl {
16+ url = "http://example.org/";
17+ sha256 = "abc";
18+ };
19+ libraryHaskellDepends = [
20+ aeson attoparsec base base16-bytestring base64-bytestring
21+ bifunctors binary binary-conduit byteable bytestring bzlib conduit
22+ conduit-extra containers crypto-cipher-types cryptonite
23+ data-default-class errors hashable incremental-parser ixset-typed
24+ lens memory monad-loops nettle network network-uri newtype
25+ openpgp-asciiarmor resourcet securemem semigroups split text time
26+ time-locale-compat transformers unordered-containers
27+ wl-pprint-extras zlib
28+ ];
29+ testHaskellDepends = [
30+ aeson attoparsec base base16-bytestring bifunctors binary
31+ binary-conduit byteable bytestring bzlib conduit conduit-extra
32+ containers crypto-cipher-types cryptonite data-default-class errors
33+ hashable incremental-parser ixset-typed lens memory monad-loops
34+ nettle network network-uri newtype QuickCheck quickcheck-instances
35+ resourcet securemem semigroups split tasty tasty-hunit
36+ tasty-quickcheck text time time-locale-compat transformers
37+ unordered-containers wl-pprint-extras zlib
38+ ];
39+ benchmarkHaskellDepends = [
40+ aeson base base16-bytestring base64-bytestring bifunctors binary
41+ binary-conduit byteable bytestring bzlib conduit conduit-extra
42+ containers criterion crypto-cipher-types cryptonite
43+ data-default-class errors hashable incremental-parser ixset-typed
44+ lens memory monad-loops nettle network network-uri newtype
45+ openpgp-asciiarmor resourcet securemem semigroups split text time
46+ time-locale-compat transformers unordered-containers
47+ wl-pprint-extras zlib
48+ ];
49+ homepage = "http://floss.scru.org/hOpenPGP/";
50+ description = "native Haskell implementation of OpenPGP (RFC4880)";
51+ license = stdenv.lib.licenses.mit;
52+}
test/golden-test-cases/hPDB-examples.cabalnew file+97
@@ -0,0 +1,97 @@
1+name: hPDB-examples
2+version: 1.2.0.8
3+synopsis: Examples for hPDB library
4+stability: stable
5+homepage: https://github.com/BioHaskell/hPDB-examples
6+package-url: http://hackage.haskell.org/package/hPDB
7+description: Examples for handling Protein Data Bank file format.
8+category: Bioinformatics
9+license: BSD3
10+license-file: LICENSE
11+
12+author: Michal J. Gajda
13+copyright: Copyright by Michal J. Gajda '2009-'2013
14+maintainer: mjgajda@googlemail.com
15+bug-reports: mailto:mjgajda@googlemail.com
16+
17+build-type: Simple
18+cabal-version: >=1.8
19+tested-with: GHC==7.4.2, GHC==7.6.3, GHC==7.8.4,GHC==7.10.3,GHC==8.0.1,GHC==8.2.2
20+--data-files: 1CRN.pdb, 1HTQ.pdb, 3JYV.pdb
21+extra-source-files: README.md INSTALL AUTHORS
22+
23+source-repository head
24+ type: git
25+ location: https://github.com/BioHaskell/hPDB-examples.git
26+
27+Executable PDB2Fasta
28+ main-is: examples/PDB2Fasta.hs
29+ ghc-options: -fspec-constr-count=4 -O3 -threaded -rtsopts -with-rtsopts=-N
30+ build-depends: base>=4.0, base <4.11, bytestring, ghc-prim, directory, mtl, template-haskell, vector, AC-Vector, containers, deepseq, QuickCheck >= 2.5.0.0, text>=0.11.1.13, hPDB >= 1.2, iterable >=3.0
31+ other-extensions: ScopedTypeVariables OverloadedStrings BangPatterns NoMonomorphismRestriction EmptyDataDecls MagicHash
32+
33+Executable ShiftToCenter
34+ main-is: examples/ShiftToCenter.hs
35+ ghc-options: -fspec-constr-count=4 -O3 -threaded -rtsopts -with-rtsopts=-N
36+ build-depends: base>=4.0, base<4.11, ghc-prim, directory, mtl, template-haskell, vector, AC-Vector, containers, deepseq,QuickCheck >= 2.5.0.0, text>=0.11.1.13, hPDB >= 1.2, bytestring, iterable >=1.0
37+ other-extensions: ScopedTypeVariables OverloadedStrings BangPatterns NoMonomorphismRestriction EmptyDataDecls MagicHash
38+
39+Executable CleanPDB
40+ main-is: examples/CleanPDB.hs
41+ ghc-options: -fspec-constr-count=4 -O3 -threaded -rtsopts -with-rtsopts=-N
42+ build-depends: base>=4.0, base <4.11, bytestring, ghc-prim, directory, mtl, template-haskell, vector, AC-Vector, containers, deepseq,QuickCheck >= 2.5.0.0, text>=0.11.1.13, hPDB >= 1.2, iterable >=1.0
43+ other-extensions: ScopedTypeVariables OverloadedStrings BangPatterns NoMonomorphismRestriction EmptyDataDecls MagicHash
44+
45+Executable SplitModels
46+ main-is: examples/SplitModels.hs
47+ ghc-options: -fspec-constr-count=4 -O3 -threaded -rtsopts -with-rtsopts=-N
48+ build-depends: base>=4.0, base <4.11, ghc-prim, directory, mtl, template-haskell, vector, AC-Vector, containers, deepseq,QuickCheck >= 2.5.0.0, text>=0.11.1.13, hPDB >= 1.2, bytestring, iterable >=1.0
49+ other-extensions: ScopedTypeVariables OverloadedStrings BangPatterns NoMonomorphismRestriction EmptyDataDecls MagicHash
50+
51+Executable CanonicalAxes
52+ main-is: examples/CanonicalAxes.hs
53+ ghc-options: -fspec-constr-count=4 -O3 -threaded -rtsopts -with-rtsopts=-N
54+ Build-depends: base>=4.0, base <4.11, bytestring, ghc-prim, directory, mtl, template-haskell, vector, AC-Vector, containers, deepseq,QuickCheck >= 2.5.0.0, text>=0.11.1.13, hPDB >= 1.2, iterable >=1.0
55+ other-extensions: ScopedTypeVariables OverloadedStrings BangPatterns NoMonomorphismRestriction EmptyDataDecls MagicHash
56+
57+Executable PrintEvents
58+ Main-is: tests/PrintEvents.hs
59+ ghc-options: -fspec-constr-count=4 -O3 -threaded -rtsopts -with-rtsopts=-N
60+ Build-depends: base>=4.0, base <4.11, bytestring, ghc-prim, directory, mtl, template-haskell, vector, AC-Vector, containers, deepseq, QuickCheck >= 2.5.0.0, text>=0.11.1.13, hPDB >= 1.2, iterable >=1.0
61+ other-extensions: ScopedTypeVariables OverloadedStrings BangPatterns NoMonomorphismRestriction EmptyDataDecls
62+
63+Executable PrintStructureObject
64+ ghc-options: -fspec-constr-count=4 -O3 -threaded -rtsopts -with-rtsopts=-N
65+ Build-depends: base>=4.0, base <4.11, bytestring, ghc-prim, directory, mtl, template-haskell, vector, AC-Vector, containers, deepseq,QuickCheck >= 2.5.0.0, text>=0.11.1.13, hPDB >= 1.2, iterable >=1.0
66+ Main-is: tests/PrintStructureObject.hs
67+ other-extensions: ScopedTypeVariables OverloadedStrings BangPatterns NoMonomorphismRestriction EmptyDataDecls
68+
69+Executable Rg
70+ main-is: examples/Rg.hs
71+ ghc-options: -fspec-constr-count=4 -O3 -threaded -rtsopts -with-rtsopts=-N
72+ -fsimpl-tick-factor=150
73+ -- ^ To avoid difficulties with GHC 7.10.1:
74+ -- https://ghc.haskell.org/trac/ghc/ticket/10565
75+ Build-depends: base>=4.0, base <4.11, ghc-prim, bytestring, directory, mtl, template-haskell, vector, AC-Vector, containers, deepseq,QuickCheck >= 2.5.0.0, text>=0.11.1.13, hPDB >= 1.2, iterable >=1.0
76+ other-extensions: ScopedTypeVariables OverloadedStrings BangPatterns NoMonomorphismRestriction EmptyDataDecls
77+
78+Executable StericClashCheck
79+ main-is: examples/StericClashCheck.hs
80+ ghc-options: -fspec-constr-count=4 -O3 -threaded -rtsopts -with-rtsopts=-N
81+ Build-Depends: base>=4.0, base<4.11, bytestring, ghc-prim, directory, mtl, template-haskell, vector, AC-Vector, containers, deepseq, Octree >= 0.5, QuickCheck, text, text-format, hPDB >= 1.2, iterable >=1.0
82+ other-extensions: ScopedTypeVariables OverloadedStrings BangPatterns NoMonomorphismRestriction EmptyDataDecls
83+
84+-- if flag(haveOpenGL) -- why can't we make it conditionally available?
85+Executable Viewer
86+ main-is: examples/Viewer.hs
87+ ghc-options: -fspec-constr-count=4 -O3 -threaded -rtsopts -with-rtsopts=-N
88+ Build-depends: base>=4.0, base <4.11, ghc-prim, directory, mtl, template-haskell, vector, AC-Vector, containers, deepseq,QuickCheck >= 2.5.0.0, text>=0.11.1.13, OpenGL, GLUT, hPDB >= 1.2, bytestring, iterable >=1.0
89+ other-extensions: ScopedTypeVariables OverloadedStrings BangPatterns NoMonomorphismRestriction EmptyDataDecls MagicHash
90+
91+test-suite ParserPerformance
92+ main-is: tests/TestParser.hs
93+ type: exitcode-stdio-1.0
94+ ghc-options: -fspec-constr-count=4 -O3 -threaded -rtsopts "-with-rtsopts=-N -t"
95+ Build-depends: base>=4.0, base <4.11, ghc-prim, directory, mtl, template-haskell, vector, AC-Vector, containers, deepseq, text>=0.11.1.13, hPDB >= 1.2, bytestring, iterable >=1.0, IfElse >= 0.80, process >= 1.0, time >= 1.2
96+ other-extensions: ScopedTypeVariables OverloadedStrings BangPatterns NoMonomorphismRestriction EmptyDataDecls MagicHash
97+
test/golden-test-cases/hPDB-examples.nix.goldennew file+27
@@ -0,0 +1,27 @@
1+{ mkDerivation, AC-Vector, base, bytestring, containers, deepseq
2+, directory, fetchurl, ghc-prim, GLUT, hPDB, IfElse, iterable, mtl
3+, Octree, OpenGL, process, QuickCheck, template-haskell, text
4+, text-format, time, vector
5+}:
6+mkDerivation {
7+ pname = "hPDB-examples";
8+ version = "1.2.0.8";
9+ src = fetchurl {
10+ url = "http://example.org/";
11+ sha256 = "abc";
12+ };
13+ isLibrary = false;
14+ isExecutable = true;
15+ executableHaskellDepends = [
16+ AC-Vector base bytestring containers deepseq directory ghc-prim
17+ GLUT hPDB iterable mtl Octree OpenGL QuickCheck template-haskell
18+ text text-format vector
19+ ];
20+ testHaskellDepends = [
21+ AC-Vector base bytestring containers deepseq directory ghc-prim
22+ hPDB IfElse iterable mtl process template-haskell text time vector
23+ ];
24+ homepage = "https://github.com/BioHaskell/hPDB-examples";
25+ description = "Examples for hPDB library";
26+ license = stdenv.lib.licenses.bsd3;
27+}
test/golden-test-cases/hakyll.cabalnew file+321
@@ -0,0 +1,321 @@
1+Name: hakyll
2+Version: 4.10.0.0
3+
4+Synopsis: A static website compiler library
5+Description:
6+ Hakyll is a static website compiler library. It provides you with the tools to
7+ create a simple or advanced static website using a Haskell DSL and formats
8+ such as markdown or RST. You can find more information, including a tutorial,
9+ on the website:
10+
11+ .
12+
13+ * <http://jaspervdj.be/hakyll>
14+
15+ .
16+
17+ If you seek assistance, there's:
18+
19+ .
20+
21+ * A google group: <http://groups.google.com/group/hakyll>
22+
23+ .
24+
25+ * An IRC channel, @#hakyll@ on freenode
26+
27+ .
28+
29+ Additionally, there's the Haddock documentation in the different modules,
30+ meant as a reference.
31+
32+Author: Jasper Van der Jeugt <m@jaspervdj.be>
33+Maintainer: Jasper Van der Jeugt <m@jaspervdj.be>
34+Homepage: http://jaspervdj.be/hakyll
35+Bug-Reports: http://github.com/jaspervdj/Hakyll/issues
36+License: BSD3
37+License-File: LICENSE
38+Category: Web
39+
40+Cabal-Version: >= 1.8
41+Build-Type: Simple
42+Data-Dir: data
43+
44+Data-files:
45+ example/posts/2015-11-28-carpe-diem.markdown
46+ example/posts/2015-10-07-rosa-rosa-rosam.markdown
47+ example/posts/2015-12-07-tu-quoque.markdown
48+ example/posts/2015-08-12-spqr.markdown
49+ example/site.hs
50+ example/images/haskell-logo.png
51+ example/templates/post-list.html
52+ example/templates/default.html
53+ example/templates/archive.html
54+ example/templates/post.html
55+ example/css/default.css
56+ example/index.html
57+ example/about.rst
58+ example/contact.markdown
59+ templates/atom-item.xml
60+ templates/atom.xml
61+ templates/rss-item.xml
62+ templates/rss.xml
63+
64+Extra-source-files:
65+ CHANGELOG.md
66+ tests/data/example.md
67+ tests/data/example.md.metadata
68+ tests/data/images/favicon.ico
69+ tests/data/just-meta.html
70+ tests/data/just-meta.html.out
71+ tests/data/partial-helper.html
72+ tests/data/partial.html
73+ tests/data/partial.html.out
74+ tests/data/posts/2010-08-26-birthday.md
75+ tests/data/russian.md
76+ tests/data/strip.html
77+ tests/data/strip.html.out
78+ tests/data/template.html
79+ tests/data/template.html.out
80+
81+Source-Repository head
82+ Type: git
83+ Location: git://github.com/jaspervdj/hakyll.git
84+
85+Flag previewServer
86+ Description: Include the preview server
87+ Default: True
88+
89+Flag watchServer
90+ Description: Include the watch server
91+ Default: True
92+
93+Flag checkExternal
94+ Description: Include external link checking
95+ Default: True
96+
97+Library
98+ Ghc-Options: -Wall
99+ Hs-Source-Dirs: lib
100+
101+ Exposed-Modules:
102+ Hakyll
103+ Hakyll.Commands
104+ Hakyll.Core.Compiler
105+ Hakyll.Core.Compiler.Internal
106+ Hakyll.Core.Configuration
107+ Hakyll.Core.Dependencies
108+ Hakyll.Core.File
109+ Hakyll.Core.Identifier
110+ Hakyll.Core.Identifier.Pattern
111+ Hakyll.Core.Item
112+ Hakyll.Core.Logger
113+ Hakyll.Core.Metadata
114+ Hakyll.Core.Provider
115+ Hakyll.Core.Provider.Metadata
116+ Hakyll.Core.Routes
117+ Hakyll.Core.Rules
118+ Hakyll.Core.Rules.Internal
119+ Hakyll.Core.Runtime
120+ Hakyll.Core.Store
121+ Hakyll.Core.UnixFilter
122+ Hakyll.Core.Util.File
123+ Hakyll.Core.Util.String
124+ Hakyll.Core.Writable
125+ Hakyll.Main
126+ Hakyll.Web.CompressCss
127+ Hakyll.Web.Feed
128+ Hakyll.Web.Html
129+ Hakyll.Web.Html.RelativizeUrls
130+ Hakyll.Web.Paginate
131+ Hakyll.Web.Pandoc
132+ Hakyll.Web.Pandoc.Biblio
133+ Hakyll.Web.Pandoc.FileType
134+ Hakyll.Web.Redirect
135+ Hakyll.Web.Tags
136+ Hakyll.Web.Template
137+ Hakyll.Web.Template.Context
138+ Hakyll.Web.Template.Internal
139+ Hakyll.Web.Template.Internal.Element
140+ Hakyll.Web.Template.Internal.Trim
141+ Hakyll.Web.Template.List
142+
143+ Other-Modules:
144+ Data.List.Extended
145+ Data.Yaml.Extended
146+ Hakyll.Check
147+ Hakyll.Core.Compiler.Require
148+ Hakyll.Core.Item.SomeItem
149+ Hakyll.Core.Provider.Internal
150+ Hakyll.Core.Provider.MetadataCache
151+ Hakyll.Core.Util.Parser
152+ Hakyll.Web.Pandoc.Binary
153+ Paths_hakyll
154+
155+ Build-Depends:
156+ base >= 4.8 && < 5,
157+ binary >= 0.5 && < 0.9,
158+ blaze-html >= 0.5 && < 0.10,
159+ blaze-markup >= 0.5.1 && < 0.9,
160+ bytestring >= 0.9 && < 0.11,
161+ containers >= 0.3 && < 0.6,
162+ cryptohash >= 0.7 && < 0.12,
163+ data-default >= 0.4 && < 0.8,
164+ deepseq >= 1.3 && < 1.5,
165+ directory >= 1.0 && < 1.4,
166+ filepath >= 1.0 && < 1.5,
167+ lrucache >= 1.1.1 && < 1.3,
168+ mtl >= 1 && < 2.3,
169+ network >= 2.6 && < 2.7,
170+ network-uri >= 2.6 && < 2.7,
171+ pandoc >= 2.0.5 && < 2.1,
172+ pandoc-citeproc >= 0.12.1.1 && < 0.13,
173+ parsec >= 3.0 && < 3.2,
174+ process >= 1.6 && < 1.7,
175+ random >= 1.0 && < 1.2,
176+ regex-base >= 0.93 && < 0.94,
177+ regex-tdfa >= 1.1 && < 1.3,
178+ resourcet >= 1.1 && < 1.2,
179+ scientific >= 0.3.4 && < 0.4,
180+ tagsoup >= 0.13.1 && < 0.15,
181+ text >= 0.11 && < 1.3,
182+ time >= 1.8 && < 1.9,
183+ time-locale-compat >= 0.1 && < 0.2,
184+ unordered-containers >= 0.2 && < 0.3,
185+ vector >= 0.11 && < 0.13,
186+ yaml >= 0.8.11 && < 0.9,
187+ optparse-applicative >= 0.12 && < 0.15
188+
189+ If flag(previewServer)
190+ Build-depends:
191+ wai >= 3.2 && < 3.3,
192+ warp >= 3.2 && < 3.3,
193+ wai-app-static >= 3.1 && < 3.2,
194+ http-types >= 0.9 && < 0.10,
195+ fsnotify >= 0.2 && < 0.3,
196+ system-filepath >= 0.4.6 && <= 0.5
197+ Cpp-options:
198+ -DPREVIEW_SERVER
199+ Other-modules:
200+ Hakyll.Preview.Poll
201+ Hakyll.Preview.Server
202+
203+ If flag(watchServer)
204+ Build-depends:
205+ fsnotify >= 0.2 && < 0.3,
206+ system-filepath >= 0.4.6 && <= 0.5
207+ Cpp-options:
208+ -DWATCH_SERVER
209+ Other-modules:
210+ Hakyll.Preview.Poll
211+
212+ If flag(checkExternal)
213+ Build-depends:
214+ http-conduit >= 2.2 && < 2.3,
215+ http-types >= 0.7 && < 0.10
216+ Cpp-options:
217+ -DCHECK_EXTERNAL
218+
219+Test-suite hakyll-tests
220+ Type: exitcode-stdio-1.0
221+ Hs-source-dirs: tests
222+ Main-is: TestSuite.hs
223+ Ghc-options: -Wall
224+
225+ Other-modules:
226+ Hakyll.Core.Dependencies.Tests
227+ Hakyll.Core.Identifier.Tests
228+ Hakyll.Core.Provider.Metadata.Tests
229+ Hakyll.Core.Provider.Tests
230+ Hakyll.Core.Routes.Tests
231+ Hakyll.Core.Rules.Tests
232+ Hakyll.Core.Runtime.Tests
233+ Hakyll.Core.Store.Tests
234+ Hakyll.Core.UnixFilter.Tests
235+ Hakyll.Core.Util.String.Tests
236+ Hakyll.Web.CompressCss.Tests
237+ Hakyll.Web.Html.RelativizeUrls.Tests
238+ Hakyll.Web.Html.Tests
239+ Hakyll.Web.Pandoc.FileType.Tests
240+ Hakyll.Web.Template.Context.Tests
241+ Hakyll.Web.Template.Tests
242+ TestSuite.Util
243+
244+ Build-Depends:
245+ hakyll,
246+ QuickCheck >= 2.8 && < 2.11,
247+ tasty >= 0.11 && < 0.12,
248+ tasty-hunit >= 0.9 && < 0.10,
249+ tasty-quickcheck >= 0.8 && < 0.10,
250+ -- Copy pasted from hakyll dependencies:
251+ base >= 4.8 && < 5,
252+ binary >= 0.5 && < 0.9,
253+ blaze-html >= 0.5 && < 0.10,
254+ blaze-markup >= 0.5.1 && < 0.9,
255+ bytestring >= 0.9 && < 0.11,
256+ containers >= 0.3 && < 0.6,
257+ cryptohash >= 0.7 && < 0.12,
258+ data-default >= 0.4 && < 0.8,
259+ deepseq >= 1.3 && < 1.5,
260+ directory >= 1.0 && < 1.4,
261+ filepath >= 1.0 && < 1.5,
262+ lrucache >= 1.1.1 && < 1.3,
263+ mtl >= 1 && < 2.3,
264+ network >= 2.6 && < 2.7,
265+ network-uri >= 2.6 && < 2.7,
266+ pandoc >= 2.0.5 && < 2.1,
267+ pandoc-citeproc >= 0.12.1.1 && < 0.13,
268+ parsec >= 3.0 && < 3.2,
269+ process >= 1.6 && < 1.7,
270+ random >= 1.0 && < 1.2,
271+ regex-base >= 0.93 && < 0.94,
272+ regex-tdfa >= 1.1 && < 1.3,
273+ resourcet >= 1.1 && < 1.2,
274+ scientific >= 0.3.4 && < 0.4,
275+ tagsoup >= 0.13.1 && < 0.15,
276+ text >= 0.11 && < 1.3,
277+ time >= 1.8 && < 1.9,
278+ time-locale-compat >= 0.1 && < 0.2,
279+ unordered-containers >= 0.2 && < 0.3,
280+ vector >= 0.11 && < 0.13,
281+ yaml >= 0.8.11 && < 0.9,
282+ optparse-applicative >= 0.12 && < 0.15
283+
284+ If flag(previewServer)
285+ Build-depends:
286+ wai >= 3.2 && < 3.3,
287+ warp >= 3.2 && < 3.3,
288+ wai-app-static >= 3.1 && < 3.2,
289+ http-types >= 0.9 && < 0.10,
290+ fsnotify >= 0.2 && < 0.3,
291+ system-filepath >= 0.4.6 && <= 0.5
292+ Cpp-options:
293+ -DPREVIEW_SERVER
294+
295+ If flag(watchServer)
296+ Build-depends:
297+ fsnotify >= 0.2 && < 0.3,
298+ system-filepath >= 0.4.6 && <= 0.5
299+ Cpp-options:
300+ -DWATCH_SERVER
301+
302+ If flag(checkExternal)
303+ Build-depends:
304+ http-conduit >= 2.2 && < 2.3,
305+ http-types >= 0.7 && < 0.10
306+ Cpp-options:
307+ -DCHECK_EXTERNAL
308+
309+Executable hakyll-init
310+ Ghc-options: -Wall
311+ Hs-source-dirs: src
312+ Main-is: Init.hs
313+
314+ Other-modules:
315+ Paths_hakyll
316+
317+ Build-depends:
318+ hakyll,
319+ base >= 4 && < 5,
320+ directory >= 1.0 && < 1.4,
321+ filepath >= 1.0 && < 1.5
test/golden-test-cases/hakyll.nix.goldennew file+45
@@ -0,0 +1,45 @@
1+{ mkDerivation, base, binary, blaze-html, blaze-markup, bytestring
2+, containers, cryptohash, data-default, deepseq, directory
3+, fetchurl, filepath, fsnotify, http-conduit, http-types, lrucache
4+, mtl, network, network-uri, optparse-applicative, pandoc
5+, pandoc-citeproc, parsec, process, QuickCheck, random, regex-base
6+, regex-tdfa, resourcet, scientific, system-filepath, tagsoup
7+, tasty, tasty-hunit, tasty-quickcheck, text, time
8+, time-locale-compat, unordered-containers, utillinux, vector, wai
9+, wai-app-static, warp, yaml
10+}:
11+mkDerivation {
12+ pname = "hakyll";
13+ version = "4.10.0.0";
14+ src = fetchurl {
15+ url = "http://example.org/";
16+ sha256 = "abc";
17+ };
18+ isLibrary = true;
19+ isExecutable = true;
20+ enableSeparateDataOutput = true;
21+ libraryHaskellDepends = [
22+ base binary blaze-html blaze-markup bytestring containers
23+ cryptohash data-default deepseq directory filepath fsnotify
24+ http-conduit http-types lrucache mtl network network-uri
25+ optparse-applicative pandoc pandoc-citeproc parsec process random
26+ regex-base regex-tdfa resourcet scientific system-filepath tagsoup
27+ text time time-locale-compat unordered-containers vector wai
28+ wai-app-static warp yaml
29+ ];
30+ executableHaskellDepends = [ base directory filepath ];
31+ testHaskellDepends = [
32+ base binary blaze-html blaze-markup bytestring containers
33+ cryptohash data-default deepseq directory filepath fsnotify
34+ http-conduit http-types lrucache mtl network network-uri
35+ optparse-applicative pandoc pandoc-citeproc parsec process
36+ QuickCheck random regex-base regex-tdfa resourcet scientific
37+ system-filepath tagsoup tasty tasty-hunit tasty-quickcheck text
38+ time time-locale-compat unordered-containers vector wai
39+ wai-app-static warp yaml
40+ ];
41+ testToolDepends = [ utillinux ];
42+ homepage = "http://jaspervdj.be/hakyll";
43+ description = "A static website compiler library";
44+ license = stdenv.lib.licenses.bsd3;
45+}
test/golden-test-cases/happstack-hsp.cabalnew file+37
@@ -0,0 +1,37 @@
1+Name: happstack-hsp
2+Version: 7.3.7.3
3+Synopsis: Support for using HSP templates in Happstack
4+Description: Happstack is a web application framework. HSP is an XML templating solution. This package makes it easy to use HSP templates with Happstack.
5+Homepage: http://www.happstack.com/
6+License: BSD3
7+License-file: LICENSE
8+Author: Jeremy Shaw
9+Maintainer: Happstack team <happs@googlegroups.com>
10+Copyright: 2011-2015 Jeremy Shaw
11+Category: Web, Happstack
12+Build-type: Simple
13+Cabal-version: >=1.6
14+tested-with: GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.1
15+
16+source-repository head
17+ type: git
18+ location: https://github.com/Happstack/happstack-hsp.git
19+
20+Library
21+ Hs-source-dirs: src
22+
23+ Exposed-modules: Happstack.Server.HSP.HTML
24+ Happstack.Server.XMLGenT
25+ HSP.ServerPartT
26+ HSP.Google.Analytics
27+
28+ Build-depends: base >= 3.0 && < 5.0,
29+ bytestring >= 0.9 && < 0.11,
30+ happstack-server >= 6.0 && < 7.6,
31+ harp >= 0.4 && < 0.5,
32+ hsp >= 0.9.2 && < 0.11,
33+ hsx2hs >= 0.13.0 && < 0.15,
34+ mtl >= 1.1 && < 2.3,
35+ utf8-string >= 0.3 && < 1.1,
36+ syb >= 0.3 && < 0.8,
37+ text >= 0.10 && < 1.3
test/golden-test-cases/happstack-hsp.nix.goldennew file+18
@@ -0,0 +1,18 @@
1+{ mkDerivation, base, bytestring, fetchurl, happstack-server, harp
2+, hsp, hsx2hs, mtl, syb, text, utf8-string
3+}:
4+mkDerivation {
5+ pname = "happstack-hsp";
6+ version = "7.3.7.3";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [
12+ base bytestring happstack-server harp hsp hsx2hs mtl syb text
13+ utf8-string
14+ ];
15+ homepage = "http://www.happstack.com/";
16+ description = "Support for using HSP templates in Happstack";
17+ license = stdenv.lib.licenses.bsd3;
18+}
test/golden-test-cases/happy.cabalnew file+180
@@ -0,0 +1,180 @@
1+name: happy
2+version: 1.19.8
3+license: BSD2
4+license-file: LICENSE
5+copyright: (c) Andy Gill, Simon Marlow
6+author: Andy Gill and Simon Marlow
7+maintainer: Simon Marlow <marlowsd@gmail.com>
8+bug-reports: https://github.com/simonmar/happy/issues
9+stability: stable
10+homepage: https://www.haskell.org/happy/
11+synopsis: Happy is a parser generator for Haskell
12+category: Development
13+cabal-version: >= 1.8
14+build-type: Custom
15+
16+Description:
17+ Happy is a parser generator for Haskell. Given a grammar
18+ specification in BNF, Happy generates Haskell code to parse the
19+ grammar. Happy works in a similar way to the @yacc@ tool for C.
20+
21+tested-with: GHC==8.0.1, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3
22+
23+extra-source-files:
24+ ANNOUNCE
25+ CHANGES
26+ Makefile
27+ README.md
28+ TODO
29+ doc/Makefile
30+ doc/aclocal.m4
31+ doc/config.mk.in
32+ doc/configure.ac
33+ doc/docbook-xml.mk
34+ doc/fptools.css
35+ doc/happy.1.in
36+ doc/happy.xml
37+ examples/glr/nlp/Main.lhs
38+ examples/glr/nlp/Makefile
39+ examples/glr/nlp/README
40+ examples/glr/nlp/English.y
41+ examples/glr/nlp/Hugs.lhs
42+ examples/glr/Makefile
43+ examples/glr/Makefile.defs
44+ examples/glr/expr-eval/Main.lhs
45+ examples/glr/expr-eval/Makefile
46+ examples/glr/expr-eval/Expr.y
47+ examples/glr/expr-eval/README
48+ examples/glr/expr-eval/Hugs.lhs
49+ examples/glr/expr-tree/Main.lhs
50+ examples/glr/expr-tree/Makefile
51+ examples/glr/expr-tree/Expr.y
52+ examples/glr/expr-tree/README
53+ examples/glr/expr-tree/Tree.lhs
54+ examples/glr/expr-tree/Hugs.lhs
55+ examples/glr/highly-ambiguous/Main.lhs
56+ examples/glr/highly-ambiguous/Makefile
57+ examples/glr/highly-ambiguous/Expr.y
58+ examples/glr/highly-ambiguous/README
59+ examples/glr/highly-ambiguous/Hugs.lhs
60+ examples/glr/hidden-leftrec/Main.lhs
61+ examples/glr/hidden-leftrec/Makefile
62+ examples/glr/hidden-leftrec/Expr.y
63+ examples/glr/hidden-leftrec/README
64+ examples/glr/hidden-leftrec/Hugs.lhs
65+ examples/glr/expr-monad/Main.lhs
66+ examples/glr/expr-monad/Makefile
67+ examples/glr/expr-monad/Expr.y
68+ examples/glr/expr-monad/README
69+ examples/glr/expr-monad/Hugs.lhs
70+ examples/glr/bio-eg/Main.lhs
71+ examples/glr/bio-eg/Makefile
72+ examples/glr/bio-eg/Bio.y
73+ examples/glr/bio-eg/README
74+ examples/glr/bio-eg/1-1200.dna
75+ examples/glr/bio-eg/1-600.dna
76+ examples/glr/common/DV_lhs
77+ examples/glr/common/DaVinciTypes.hs
78+ examples/glr/packing/Main.lhs
79+ examples/glr/packing/Makefile
80+ examples/glr/packing/Expr.y
81+ examples/glr/packing/README
82+ examples/glr/packing/Hugs.lhs
83+ examples/PgnParser.ly
84+ examples/MonadTest.ly
85+ examples/igloo/ParserM.hs
86+ examples/igloo/Makefile
87+ examples/igloo/Parser.y
88+ examples/igloo/Foo.hs
89+ examples/igloo/README
90+ examples/igloo/Lexer.x
91+ examples/README
92+ examples/Calc.ly
93+ examples/DavesExample.ly
94+ examples/ErrorTest.ly
95+ examples/ErlParser.ly
96+ examples/SimonsExample.ly
97+ examples/LexerTest.ly
98+ happy.spec
99+ src/ARRAY-NOTES
100+ templates/GLR_Base.hs
101+ templates/GenericTemplate.hs
102+ templates/GLR_Lib.hs
103+ tests/AttrGrammar001.y
104+ tests/AttrGrammar002.y
105+ tests/Makefile
106+ tests/Partial.ly
107+ tests/Test.ly
108+ tests/TestMulti.ly
109+ tests/TestPrecedence.ly
110+ tests/bogus-token.y
111+ tests/bug001.ly
112+ tests/bug002.y
113+ tests/error001.stderr
114+ tests/error001.stdout
115+ tests/error001.y
116+ tests/monad001.y
117+ tests/monad002.ly
118+ tests/monaderror.y
119+ tests/precedence001.ly
120+ tests/precedence002.y
121+ tests/test_rules.y
122+ tests/issue91.y
123+ tests/issue93.y
124+ tests/issue94.y
125+ tests/issue95.y
126+ tests/monaderror-explist.y
127+ tests/typeclass_monad001.y
128+ tests/typeclass_monad002.ly
129+ tests/typeclass_monad_lexer.y
130+
131+custom-setup
132+ setup-depends: Cabal <2.1,
133+ base <5,
134+ directory <1.4,
135+ filepath <1.5
136+
137+source-repository head
138+ type: git
139+ location: https://github.com/simonmar/happy.git
140+
141+flag small_base
142+ description: Deprecated. Does nothing.
143+
144+executable happy
145+ hs-source-dirs: src
146+ main-is: Main.lhs
147+
148+ build-depends: base < 5,
149+ array,
150+ containers >= 0.4.2,
151+ mtl >= 2.2.1
152+ -- mtl-2.2.1 added Control.Monad.Except
153+
154+ extensions: CPP, MagicHash, FlexibleContexts
155+ ghc-options: -Wall
156+ other-modules:
157+ AbsSyn
158+ First
159+ GenUtils
160+ Grammar
161+ Info
162+ LALR
163+ Lexer
164+ Main
165+ ParseMonad
166+ Parser
167+ ProduceCode
168+ ProduceGLRCode
169+ NameSet
170+ Target
171+ AttrGrammar
172+ AttrGrammarParser
173+ ParamRules
174+ PrettyGrammar
175+
176+test-suite tests
177+ type: exitcode-stdio-1.0
178+ main-is: test.hs
179+ build-depends: base, process
180+
test/golden-test-cases/happy.nix.goldennew file+19
@@ -0,0 +1,19 @@
1+{ mkDerivation, array, base, Cabal, containers, directory, fetchurl
2+, filepath, mtl, process
3+}:
4+mkDerivation {
5+ pname = "happy";
6+ version = "1.19.8";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ isLibrary = false;
12+ isExecutable = true;
13+ setupHaskellDepends = [ base Cabal directory filepath ];
14+ executableHaskellDepends = [ array base containers mtl ];
15+ testHaskellDepends = [ base process ];
16+ homepage = "https://www.haskell.org/happy/";
17+ description = "Happy is a parser generator for Haskell";
18+ license = stdenv.lib.licenses.bsd2;
19+}
test/golden-test-cases/harp.cabalnew file+31
@@ -0,0 +1,31 @@
1+Name: harp
2+Version: 0.4.3
3+License: BSD3
4+License-File: LICENSE
5+Author: Niklas Broberg
6+Maintainer: David Fox <dsf@seereason.com>
7+
8+Stability: Experimental
9+Category: Language
10+Synopsis: HaRP allows pattern-matching with regular expressions
11+Description: HaRP, or Haskell Regular Patterns, is a Haskell extension
12+ that extends the normal pattern matching facility with
13+ the power of regular expressions. This expressive power
14+ is highly useful in a wide range of areas, including text parsing
15+ and XML processing. Regular expression patterns in HaRP work over
16+ ordinary Haskell lists ([]) of arbitrary type. We have implemented
17+ HaRP as a pre-processor to ordinary Haskell.
18+ .
19+ For details on usage, please see the website.
20+Homepage: https://github.com/seereason/harp
21+Build-Type: Simple
22+tested-with: GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.2, GHC==8.0.1
23+Cabal-Version: >= 1.8
24+
25+source-repository head
26+ type: git
27+ location: https://github.com/seereason/harp.git
28+
29+Library
30+ Build-Depends: base < 4.11
31+ Exposed-modules: Harp.Match
test/golden-test-cases/harp.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, fetchurl }:
2+mkDerivation {
3+ pname = "harp";
4+ version = "0.4.3";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base ];
10+ homepage = "https://github.com/seereason/harp";
11+ description = "HaRP allows pattern-matching with regular expressions";
12+ license = stdenv.lib.licenses.bsd3;
13+}
test/golden-test-cases/hashtables.cabalnew file+199
@@ -0,0 +1,199 @@
1+Name: hashtables
2+Version: 1.2.2.1
3+Synopsis: Mutable hash tables in the ST monad
4+Homepage: http://github.com/gregorycollins/hashtables
5+License: BSD3
6+License-file: LICENSE
7+Author: Gregory Collins
8+Maintainer: greg@gregorycollins.net
9+Copyright: (c) 2011-2014, Google, Inc., 2016-present contributors
10+Category: Data
11+Build-type: Simple
12+Cabal-version: >= 1.8
13+
14+Description:
15+ This package provides a couple of different implementations of mutable hash
16+ tables in the ST monad, as well as a typeclass abstracting their common
17+ operations, and a set of wrappers to use the hash tables in the IO monad.
18+ .
19+ /QUICK START/: documentation for the hash table operations is provided in the
20+ "Data.HashTable.Class" module, and the IO wrappers (which most users will
21+ probably prefer) are located in the "Data.HashTable.IO" module.
22+ .
23+ This package currently contains three hash table implementations:
24+ .
25+ 1. "Data.HashTable.ST.Cuckoo" contains an implementation of \"cuckoo
26+ hashing\" as introduced by Pagh and Rodler in 2001 (see
27+ <http://en.wikipedia.org/wiki/Cuckoo_hashing>). Cuckoo hashing has
28+ worst-case /O(1)/ lookups and can reach a high \"load factor\", in which
29+ the table can perform acceptably well even when approaching 90% full.
30+ Randomized testing shows this implementation of cuckoo hashing to be
31+ slightly faster on insert and slightly slower on lookup than
32+ "Data.Hashtable.ST.Basic", while being more space efficient by about a
33+ half-word per key-value mapping. Cuckoo hashing, like the basic hash
34+ table implementation using linear probing, can suffer from long delays
35+ when the table is resized.
36+ .
37+ 2. "Data.HashTable.ST.Basic" contains a basic open-addressing hash table
38+ using linear probing as the collision strategy. On a pure speed basis it
39+ should currently be the fastest available Haskell hash table
40+ implementation for lookups, although it has a higher memory overhead
41+ than the other tables and can suffer from long delays when the table is
42+ resized because all of the elements in the table need to be rehashed.
43+ .
44+ 3. "Data.HashTable.ST.Linear" contains a linear hash table (see
45+ <http://en.wikipedia.org/wiki/Linear_hashing>), which trades some insert
46+ and lookup performance for higher space efficiency and much shorter
47+ delays when expanding the table. In most cases, benchmarks show this
48+ table to be currently slightly faster than @Data.HashTable@ from the
49+ Haskell base library.
50+ .
51+ It is recommended to create a concrete type alias in your code when using this
52+ package, i.e.:
53+ .
54+ > import qualified Data.HashTable.IO as H
55+ >
56+ > type HashTable k v = H.BasicHashTable k v
57+ >
58+ > foo :: IO (HashTable Int Int)
59+ > foo = do
60+ > ht <- H.new
61+ > H.insert ht 1 1
62+ > return ht
63+ .
64+ Firstly, this makes it easy to switch to a different hash table implementation,
65+ and secondly, using a concrete type rather than leaving your functions abstract
66+ in the HashTable class should allow GHC to optimize away the typeclass
67+ dictionaries.
68+ .
69+ This package accepts a couple of different cabal flags:
70+ .
71+ * @unsafe-tricks@, default /ON/. If this flag is enabled, we use some
72+ unsafe GHC-specific tricks to save indirections (namely @unsafeCoerce#@
73+ and @reallyUnsafePtrEquality#@. These techniques rely on assumptions
74+ about the behaviour of the GHC runtime system and, although they've been
75+ tested and should be safe under normal conditions, are slightly
76+ dangerous. Caveat emptor. In particular, these techniques are
77+ incompatible with HPC code coverage reports.
78+ .
79+ * @sse42@, default /OFF/. If this flag is enabled, we use some SSE 4.2
80+ instructions (see <http://en.wikipedia.org/wiki/SSE4>, first available on
81+ Intel Core 2 processors) to speed up cache-line searches for cuckoo
82+ hashing.
83+ .
84+ * @bounds-checking@, default /OFF/. If this flag is enabled, array accesses
85+ are bounds-checked.
86+ .
87+ * @debug@, default /OFF/. If turned on, we'll rudely spew debug output to
88+ stdout.
89+ .
90+ * @portable@, default /OFF/. If this flag is enabled, we use only pure
91+ Haskell code and try not to use unportable GHC extensions. Turning this
92+ flag on forces @unsafe-tricks@ and @sse42@ /OFF/.
93+ .
94+ Please send bug reports to
95+ <https://github.com/gregorycollins/hashtables/issues>.
96+
97+Extra-Source-Files:
98+ README.md,
99+ haddock.sh,
100+ benchmark/hashtable-benchmark.cabal,
101+ benchmark/LICENSE,
102+ benchmark/src/Criterion/Collection/Internal/Types.hs,
103+ benchmark/src/Criterion/Collection/Chart.hs,
104+ benchmark/src/Criterion/Collection/Main.hs,
105+ benchmark/src/Criterion/Collection/Types.hs,
106+ benchmark/src/Criterion/Collection/Sample.hs,
107+ benchmark/src/Main.hs,
108+ benchmark/src/Data/Vector/Algorithms/Shuffle.hs,
109+ benchmark/src/Data/Benchmarks/UnorderedCollections/Distributions.hs,
110+ benchmark/src/Data/Benchmarks/UnorderedCollections/Types.hs,
111+ cbits/Makefile,
112+ cbits/check.c,
113+ cbits/defs.h,
114+ cbits/sse-42-check.c,
115+ changelog.md,
116+ test/compute-overhead/ComputeOverhead.hs,
117+ test/hashtables-test.cabal,
118+ test/runTestsAndCoverage.sh,
119+ test/runTestsNoCoverage.sh,
120+ test/suite/Data/HashTable/Test/Common.hs,
121+ test/suite/TestSuite.hs
122+
123+
124+------------------------------------------------------------------------------
125+Flag unsafe-tricks
126+ Description: turn on unsafe GHC tricks
127+ Default: True
128+
129+Flag bounds-checking
130+ Description: if on, use bounds-checking array accesses
131+ Default: False
132+
133+Flag debug
134+ Description: if on, spew debugging output to stdout
135+ Default: False
136+
137+Flag sse42
138+ Description: if on, use SSE 4.2 extensions to search cache lines very
139+ efficiently. The portable flag forces this off.
140+ Default: False
141+
142+Flag portable
143+ Description: if on, use only pure Haskell code and no GHC extensions.
144+ Default: False
145+
146+
147+Library
148+ hs-source-dirs: src
149+
150+ if flag(sse42) && !flag(portable)
151+ cc-options: -DUSE_SSE_4_2 -msse4.2
152+ cpp-options: -DUSE_SSE_4_2
153+ C-sources: cbits/sse-42.c
154+
155+ if !flag(portable) && !flag(sse42)
156+ C-sources: cbits/default.c
157+
158+ if !flag(portable)
159+ C-sources: cbits/common.c
160+
161+ Exposed-modules: Data.HashTable.Class,
162+ Data.HashTable.IO,
163+ Data.HashTable.ST.Basic,
164+ Data.HashTable.ST.Cuckoo,
165+ Data.HashTable.ST.Linear
166+
167+ Other-modules: Data.HashTable.Internal.Array,
168+ Data.HashTable.Internal.IntArray,
169+ Data.HashTable.Internal.CacheLine,
170+ Data.HashTable.Internal.CheapPseudoRandomBitStream,
171+ Data.HashTable.Internal.UnsafeTricks,
172+ Data.HashTable.Internal.Utils,
173+ Data.HashTable.Internal.Linear.Bucket
174+
175+ Build-depends: base >= 4.7 && <5,
176+ hashable >= 1.1 && <1.2 || >= 1.2.1 && <1.3,
177+ primitive,
178+ vector >= 0.7 && <0.13
179+
180+ if flag(portable)
181+ cpp-options: -DNO_C_SEARCH -DPORTABLE
182+
183+ if !flag(portable) && flag(unsafe-tricks) && impl(ghc)
184+ build-depends: ghc-prim
185+ cpp-options: -DUNSAFETRICKS
186+
187+ if flag(debug)
188+ cpp-options: -DDEBUG
189+
190+ if flag(bounds-checking)
191+ cpp-options: -DBOUNDS_CHECKING
192+
193+ ghc-prof-options: -auto-all
194+
195+ if impl(ghc >= 6.12.0)
196+ ghc-options: -Wall -fwarn-tabs -funbox-strict-fields -O2
197+ -fno-warn-unused-do-bind
198+ else
199+ ghc-options: -Wall -fwarn-tabs -funbox-strict-fields -O2
test/golden-test-cases/hashtables.nix.goldennew file+17
@@ -0,0 +1,17 @@
1+{ mkDerivation, base, fetchurl, ghc-prim, hashable, primitive
2+, vector
3+}:
4+mkDerivation {
5+ pname = "hashtables";
6+ version = "1.2.2.1";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [
12+ base ghc-prim hashable primitive vector
13+ ];
14+ homepage = "http://github.com/gregorycollins/hashtables";
15+ description = "Mutable hash tables in the ST monad";
16+ license = stdenv.lib.licenses.bsd3;
17+}
test/golden-test-cases/haskell-tools-debug.cabalnew file+38
@@ -0,0 +1,38 @@
1+name: haskell-tools-debug
2+version: 1.0.0.3
3+synopsis: Debugging Tools for Haskell-tools
4+description: Debugging Tools for Haskell-tools
5+homepage: https://github.com/haskell-tools/haskell-tools
6+license: BSD3
7+license-file: LICENSE
8+author: Boldizsar Nemeth
9+maintainer: nboldi@elte.hu
10+category: Language
11+build-type: Simple
12+cabal-version: >=1.10
13+
14+library
15+ exposed-modules: Language.Haskell.Tools.Debug
16+ other-modules: Language.Haskell.Tools.Debug.DebugGhcAST
17+ , Language.Haskell.Tools.Debug.RangeDebug
18+ , Language.Haskell.Tools.Debug.RangeDebugInstances
19+ build-depends: base >= 4.10 && < 4.11
20+ , filepath >= 1.4 && < 1.5
21+ , template-haskell >= 2.12 && < 2.13
22+ , references >= 0.3 && < 0.4
23+ , split >= 0.2 && < 0.3
24+ , ghc >= 8.2 && < 8.3
25+ , ghc-paths >= 0.1 && < 0.2
26+ , haskell-tools-ast >= 1.0 && < 1.1
27+ , haskell-tools-backend-ghc >= 1.0 && < 1.1
28+ , haskell-tools-refactor >= 1.0 && < 1.1
29+ , haskell-tools-prettyprint >= 1.0 && < 1.1
30+ , haskell-tools-builtin-refactorings >= 1.0 && < 1.1
31+ default-language: Haskell2010
32+
33+executable ht-debug
34+ build-depends: base >= 4.9 && < 5.0
35+ , haskell-tools-debug
36+ hs-source-dirs: exe
37+ main-is: Main.hs
38+ default-language: Haskell2010
test/golden-test-cases/haskell-tools-debug.nix.goldennew file+25
@@ -0,0 +1,25 @@
1+{ mkDerivation, base, fetchurl, filepath, ghc, ghc-paths
2+, haskell-tools-ast, haskell-tools-backend-ghc
3+, haskell-tools-builtin-refactorings, haskell-tools-prettyprint
4+, haskell-tools-refactor, references, split, template-haskell
5+}:
6+mkDerivation {
7+ pname = "haskell-tools-debug";
8+ version = "1.0.0.3";
9+ src = fetchurl {
10+ url = "http://example.org/";
11+ sha256 = "abc";
12+ };
13+ isLibrary = true;
14+ isExecutable = true;
15+ libraryHaskellDepends = [
16+ base filepath ghc ghc-paths haskell-tools-ast
17+ haskell-tools-backend-ghc haskell-tools-builtin-refactorings
18+ haskell-tools-prettyprint haskell-tools-refactor references split
19+ template-haskell
20+ ];
21+ executableHaskellDepends = [ base ];
22+ homepage = "https://github.com/haskell-tools/haskell-tools";
23+ description = "Debugging Tools for Haskell-tools";
24+ license = stdenv.lib.licenses.bsd3;
25+}
test/golden-test-cases/haskell-tools-rewrite.cabalnew file+64
@@ -0,0 +1,64 @@
1+name: haskell-tools-rewrite
2+version: 1.0.0.3
3+synopsis: Facilities for generating new parts of the Haskell-Tools AST
4+description: Contains utility functions to generate parts of the Haskell-Tools AST. Generates these elements to be compatible with the source annotations that are already present on the AST. The package is divided into modules based on which language elements can the given module generate. This packages should be used during the transformations to generate parts of the new AST.
5+homepage: https://github.com/haskell-tools/haskell-tools
6+license: BSD3
7+license-file: LICENSE
8+author: Boldizsar Nemeth
9+maintainer: nboldi@elte.hu
10+category: Language
11+build-type: Simple
12+cabal-version: >=1.10
13+
14+library
15+ exposed-modules: Language.Haskell.Tools.Rewrite
16+ , Language.Haskell.Tools.Rewrite.ElementTypes
17+ , Language.Haskell.Tools.Rewrite.Create
18+ , Language.Haskell.Tools.Rewrite.Match
19+ , Language.Haskell.Tools.Rewrite.Create.Modules
20+ , Language.Haskell.Tools.Rewrite.Create.Decls
21+ , Language.Haskell.Tools.Rewrite.Create.Binds
22+ , Language.Haskell.Tools.Rewrite.Create.Types
23+ , Language.Haskell.Tools.Rewrite.Create.Kinds
24+ , Language.Haskell.Tools.Rewrite.Create.Exprs
25+ , Language.Haskell.Tools.Rewrite.Create.Literals
26+ , Language.Haskell.Tools.Rewrite.Create.Stmts
27+ , Language.Haskell.Tools.Rewrite.Create.Patterns
28+ , Language.Haskell.Tools.Rewrite.Create.Names
29+ , Language.Haskell.Tools.Rewrite.Create.TH
30+ , Language.Haskell.Tools.Rewrite.Match.Modules
31+ , Language.Haskell.Tools.Rewrite.Match.Decls
32+ , Language.Haskell.Tools.Rewrite.Match.Binds
33+ , Language.Haskell.Tools.Rewrite.Match.Types
34+ , Language.Haskell.Tools.Rewrite.Match.Kinds
35+ , Language.Haskell.Tools.Rewrite.Match.Exprs
36+ , Language.Haskell.Tools.Rewrite.Match.Literals
37+ , Language.Haskell.Tools.Rewrite.Match.Stmts
38+ , Language.Haskell.Tools.Rewrite.Match.Patterns
39+ , Language.Haskell.Tools.Rewrite.Match.Names
40+ , Language.Haskell.Tools.Rewrite.Match.TH
41+ other-modules: Language.Haskell.Tools.Rewrite.Create.Utils
42+ build-depends: base >= 4.10 && < 4.11
43+ , mtl >= 2.2 && < 2.3
44+ , containers >= 0.5 && < 0.6
45+ , references >= 0.3 && < 0.4
46+ , ghc >= 8.2 && < 8.3
47+ , haskell-tools-ast >= 1.0 && < 1.1
48+ , haskell-tools-prettyprint >= 1.0 && < 1.1
49+ default-language: Haskell2010
50+
51+test-suite haskell-tools-rewrite-tests
52+ type: exitcode-stdio-1.0
53+ ghc-options: -with-rtsopts=-M2g
54+ hs-source-dirs: test
55+ main-is: Main.hs
56+ build-depends: base >= 4.10 && < 4.11
57+ , tasty >= 0.11 && < 0.13
58+ , tasty-hunit >= 0.9 && < 0.11
59+ , directory >= 1.2 && < 1.4
60+ , filepath >= 1.4 && < 2.0
61+ , haskell-tools-ast >= 1.0 && < 1.1
62+ , haskell-tools-prettyprint >= 1.0 && < 1.1
63+ , haskell-tools-rewrite
64+ default-language: Haskell2010
test/golden-test-cases/haskell-tools-rewrite.nix.goldennew file+23
@@ -0,0 +1,23 @@
1+{ mkDerivation, base, containers, directory, fetchurl, filepath
2+, ghc, haskell-tools-ast, haskell-tools-prettyprint, mtl
3+, references, tasty, tasty-hunit
4+}:
5+mkDerivation {
6+ pname = "haskell-tools-rewrite";
7+ version = "1.0.0.3";
8+ src = fetchurl {
9+ url = "http://example.org/";
10+ sha256 = "abc";
11+ };
12+ libraryHaskellDepends = [
13+ base containers ghc haskell-tools-ast haskell-tools-prettyprint mtl
14+ references
15+ ];
16+ testHaskellDepends = [
17+ base directory filepath haskell-tools-ast haskell-tools-prettyprint
18+ tasty tasty-hunit
19+ ];
20+ homepage = "https://github.com/haskell-tools/haskell-tools";
21+ description = "Facilities for generating new parts of the Haskell-Tools AST";
22+ license = stdenv.lib.licenses.bsd3;
23+}
test/golden-test-cases/hasql.cabalnew file+205
@@ -0,0 +1,205 @@
1+name:
2+ hasql
3+version:
4+ 1.1.1
5+category:
6+ Hasql, Database, PostgreSQL
7+synopsis:
8+ An efficient PostgreSQL driver and a flexible mapping API
9+description:
10+ This package is the root of the \"hasql\" ecosystem.
11+ .
12+ The API is completely disinfected from exceptions. All error-reporting is explicit and is presented using the 'Either' type.
13+ .
14+ The version 1 is completely backward-compatible with 0.19.
15+homepage:
16+ https://github.com/nikita-volkov/hasql
17+bug-reports:
18+ https://github.com/nikita-volkov/hasql/issues
19+author:
20+ Nikita Volkov <nikita.y.volkov@mail.ru>
21+maintainer:
22+ Nikita Volkov <nikita.y.volkov@mail.ru>
23+copyright:
24+ (c) 2014, Nikita Volkov
25+license:
26+ MIT
27+license-file:
28+ LICENSE
29+build-type:
30+ Simple
31+cabal-version:
32+ >=1.10
33+
34+
35+source-repository head
36+ type:
37+ git
38+ location:
39+ git://github.com/nikita-volkov/hasql.git
40+
41+
42+library
43+ hs-source-dirs:
44+ library
45+ ghc-options:
46+ default-extensions:
47+ Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
48+ default-language:
49+ Haskell2010
50+ other-modules:
51+ Hasql.Private.Prelude
52+ Hasql.Private.PTI
53+ Hasql.Private.IO
54+ Hasql.Private.Query
55+ Hasql.Private.Session
56+ Hasql.Private.Connection
57+ Hasql.Private.PreparedStatementRegistry
58+ Hasql.Private.Settings
59+ Hasql.Private.Commands
60+ Hasql.Private.Decoders.Array
61+ Hasql.Private.Decoders.Composite
62+ Hasql.Private.Decoders.Value
63+ Hasql.Private.Decoders.Row
64+ Hasql.Private.Decoders.Result
65+ Hasql.Private.Decoders.Results
66+ Hasql.Private.Encoders.Array
67+ Hasql.Private.Encoders.Value
68+ Hasql.Private.Encoders.Params
69+ exposed-modules:
70+ Hasql.Decoders
71+ Hasql.Encoders
72+ Hasql.Connection
73+ Hasql.Query
74+ Hasql.Session
75+ build-depends:
76+ -- parsing:
77+ attoparsec >= 0.10 && < 0.14,
78+ -- database:
79+ postgresql-binary >= 0.12.1 && < 0.13,
80+ postgresql-libpq == 0.9.*,
81+ -- builders:
82+ bytestring-strict-builder >= 0.4 && < 0.5,
83+ -- data:
84+ dlist >= 0.7 && < 0.9,
85+ vector >= 0.10 && < 0.13,
86+ hashtables >= 1.1 && < 2,
87+ text >= 1 && < 2,
88+ bytestring >= 0.10 && < 0.11,
89+ hashable >= 1.2 && < 1.3,
90+ -- control:
91+ semigroups >= 0.18 && < 0.20,
92+ data-default-class >= 0.0.1 && < 0.2,
93+ profunctors >= 5.1 && < 6,
94+ contravariant-extras == 0.3.*,
95+ contravariant >= 1.3 && < 2,
96+ mtl >= 2 && < 3,
97+ transformers >= 0.3 && < 0.6,
98+ -- errors:
99+ loch-th == 0.2.*,
100+ placeholders == 0.1.*,
101+ -- general:
102+ base-prelude >= 0.1.19 && < 2,
103+ base >= 4.6 && < 5
104+
105+
106+test-suite tasty
107+ type:
108+ exitcode-stdio-1.0
109+ hs-source-dirs:
110+ tasty
111+ main-is:
112+ Main.hs
113+ other-modules:
114+ Main.DSL
115+ Main.Connection
116+ Main.Queries
117+ Main.Prelude
118+ default-extensions:
119+ Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
120+ default-language:
121+ Haskell2010
122+ build-depends:
123+ -- database:
124+ hasql,
125+ -- testing:
126+ tasty >= 0.12 && < 0.13,
127+ tasty-quickcheck >= 0.9 && < 0.10,
128+ tasty-hunit >= 0.9 && < 0.10,
129+ quickcheck-instances >= 0.3.11 && < 0.4,
130+ QuickCheck >= 2.8.1 && < 3,
131+ -- general:
132+ data-default-class,
133+ --
134+ rerebase < 2
135+
136+
137+test-suite threads-test
138+ type:
139+ exitcode-stdio-1.0
140+ hs-source-dirs:
141+ threads-test
142+ main-is:
143+ Main.hs
144+ other-modules:
145+ Main.Queries
146+ ghc-options:
147+ -O2
148+ -threaded
149+ "-with-rtsopts=-N"
150+ default-extensions:
151+ Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
152+ default-language:
153+ Haskell2010
154+ build-depends:
155+ -- database:
156+ hasql,
157+ --
158+ rebase
159+
160+
161+benchmark benchmarks
162+ type:
163+ exitcode-stdio-1.0
164+ hs-source-dirs:
165+ benchmarks
166+ main-is:
167+ Main.hs
168+ ghc-options:
169+ -O2
170+ -threaded
171+ "-with-rtsopts=-N"
172+ -rtsopts
173+ -funbox-strict-fields
174+ default-extensions:
175+ Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
176+ default-language:
177+ Haskell2010
178+ build-depends:
179+ hasql,
180+ -- benchmarking:
181+ criterion >= 1.1 && < 2,
182+ -- general:
183+ bug == 1.*,
184+ rerebase < 2
185+
186+
187+test-suite profiling
188+ type:
189+ exitcode-stdio-1.0
190+ hs-source-dirs:
191+ profiling
192+ main-is:
193+ Main.hs
194+ ghc-options:
195+ -O2
196+ -threaded
197+ -rtsopts
198+ default-extensions:
199+ Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
200+ default-language:
201+ Haskell2010
202+ build-depends:
203+ hasql,
204+ bug == 1.*,
205+ rerebase == 1.*
test/golden-test-cases/hasql.nix.goldennew file+30
@@ -0,0 +1,30 @@
1+{ mkDerivation, attoparsec, base, base-prelude, bug, bytestring
2+, bytestring-strict-builder, contravariant, contravariant-extras
3+, criterion, data-default-class, dlist, fetchurl, hashable
4+, hashtables, loch-th, mtl, placeholders, postgresql-binary
5+, postgresql-libpq, profunctors, QuickCheck, quickcheck-instances
6+, rebase, rerebase, semigroups, tasty, tasty-hunit
7+, tasty-quickcheck, text, transformers, vector
8+}:
9+mkDerivation {
10+ pname = "hasql";
11+ version = "1.1.1";
12+ src = fetchurl {
13+ url = "http://example.org/";
14+ sha256 = "abc";
15+ };
16+ libraryHaskellDepends = [
17+ attoparsec base base-prelude bytestring bytestring-strict-builder
18+ contravariant contravariant-extras data-default-class dlist
19+ hashable hashtables loch-th mtl placeholders postgresql-binary
20+ postgresql-libpq profunctors semigroups text transformers vector
21+ ];
22+ testHaskellDepends = [
23+ bug data-default-class QuickCheck quickcheck-instances rebase
24+ rerebase tasty tasty-hunit tasty-quickcheck
25+ ];
26+ benchmarkHaskellDepends = [ bug criterion rerebase ];
27+ homepage = "https://github.com/nikita-volkov/hasql";
28+ description = "An efficient PostgreSQL driver and a flexible mapping API";
29+ license = stdenv.lib.licenses.mit;
30+}
test/golden-test-cases/hformat.cabalnew file+45
@@ -0,0 +1,45 @@
1+name: hformat
2+version: 0.3.1.0
3+synopsis: Simple Haskell formatting
4+description: String formatting
5+homepage: http://github.com/mvoidex/hformat
6+license: BSD3
7+license-file: LICENSE
8+author: Alexandr Ruchkin
9+maintainer: voidex@live.com
10+category: Text
11+build-type: Simple
12+cabal-version: >=1.10
13+
14+source-repository head
15+ type: git
16+ location: git://github.com/mvoidex/hformat.git
17+
18+library
19+ hs-source-dirs: src
20+ default-language: Haskell2010
21+ ghc-options: -Wall -fno-warn-tabs
22+ default-extensions: UnicodeSyntax
23+ exposed-modules:
24+ Text.Format
25+ Text.Format.Flags
26+ Text.Format.Colored
27+ build-depends:
28+ base >= 4.8 && < 5,
29+ base-unicode-symbols >= 0.2,
30+ ansi-terminal >= 0.6,
31+ text >= 1.2.1
32+
33+test-suite test
34+ type: exitcode-stdio-1.0
35+ main-is: Test.hs
36+ hs-source-dirs: tests
37+ ghc-options: -threaded -Wall -fno-warn-tabs
38+ default-language: Haskell2010
39+ default-extensions: UnicodeSyntax
40+ build-depends:
41+ base >= 4.8 && < 5,
42+ base-unicode-symbols >= 0.2,
43+ text >= 1.2.1,
44+ hspec,
45+ hformat
test/golden-test-cases/hformat.nix.goldennew file+18
@@ -0,0 +1,18 @@
1+{ mkDerivation, ansi-terminal, base, base-unicode-symbols, fetchurl
2+, hspec, text
3+}:
4+mkDerivation {
5+ pname = "hformat";
6+ version = "0.3.1.0";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [
12+ ansi-terminal base base-unicode-symbols text
13+ ];
14+ testHaskellDepends = [ base base-unicode-symbols hspec text ];
15+ homepage = "http://github.com/mvoidex/hformat";
16+ description = "Simple Haskell formatting";
17+ license = stdenv.lib.licenses.bsd3;
18+}
test/golden-test-cases/highlighting-kate.cabalnew file+276
@@ -0,0 +1,276 @@
1+Name: highlighting-kate
2+Version: 0.6.4
3+Cabal-Version: >= 1.10
4+Build-Type: Simple
5+Category: Text
6+Synopsis: Syntax highlighting
7+Description: highlighting-kate is a syntax highlighting library
8+ with support for nearly one hundred languages. The syntax
9+ parsers are automatically generated from Kate
10+ syntax descriptions (<http://kate-editor.org/>),
11+ so any syntax supported by Kate can be added.
12+ An (optional) command-line program is provided, along
13+ with a utility for generating new parsers from Kate
14+ XML syntax descriptions.
15+
16+ __This library has been deprecated.
17+ Please use skylighting instead.__
18+
19+License: GPL
20+License-file: LICENSE
21+Author: John MacFarlane
22+Maintainer: jgm@berkeley.edu
23+Homepage: http://github.com/jgm/highlighting-kate
24+Extra-Source-Files: README.md
25+ changelog
26+ Makefile
27+ ParseSyntaxFiles.hs
28+ Text/Highlighting/Kate/Syntax.hs.in
29+ css/hk-espresso.css
30+ css/hk-kate.css
31+ css/hk-pyg.css
32+ css/hk-tango.css
33+ xml/language.dtd
34+ xml/*.xml
35+ xml/*.xml.patch
36+ tests/abc.ada
37+ tests/abc.ada.html
38+ tests/abc.agda
39+ tests/abc.agda.html
40+ tests/abc.c
41+ tests/abc.c.html
42+ tests/abc.clojure
43+ tests/abc.clojure.html
44+ tests/abc.cpp
45+ tests/abc.cpp.html
46+ tests/abc.cs
47+ tests/abc.cs.html
48+ tests/abc.d
49+ tests/abc.d.html
50+ tests/abc.fortran
51+ tests/abc.fortran.html
52+ tests/abc.go
53+ tests/abc.go.html
54+ tests/abc.haskell
55+ tests/abc.haskell.html
56+ tests/abc.java
57+ tests/abc.java.html
58+ tests/abc.javascript
59+ tests/abc.javascript.html
60+ tests/abc.julia
61+ tests/abc.julia.html
62+ tests/abc.kotlin
63+ tests/abc.kotlin.html
64+ tests/abc.lisp
65+ tests/abc.lisp.html
66+ tests/abc.matlab
67+ tests/abc.matlab.html
68+ tests/abc.ocaml
69+ tests/abc.ocaml.html
70+ tests/abc.perl
71+ tests/abc.perl.html
72+ tests/abc.php
73+ tests/abc.php.html
74+ tests/abc.prolog
75+ tests/abc.prolog.html
76+ tests/abc.python
77+ tests/abc.python.html
78+ tests/abc.r
79+ tests/abc.r.html
80+ tests/abc.ruby
81+ tests/abc.ruby.html
82+ tests/abc.scala
83+ tests/abc.scala.html
84+ tests/abc.scheme
85+ tests/abc.scheme.html
86+ tests/abc.tcl
87+ tests/abc.tcl.html
88+ tests/archive.rhtml
89+ tests/archive.rhtml.html
90+ tests/life.lua
91+ tests/life.lua.html
92+Flag executable
93+ Description: Build the highlighting-kate executable.
94+ Default: False
95+Flag pcre-light
96+ Description: Use the pcre-light library instead of regex-pcre-builtin
97+ Default: False
98+
99+Source-repository head
100+ type: git
101+ location: git://github.com/jgm/highlighting-kate.git
102+
103+Library
104+ Build-Depends: base >= 4.4 && < 5, containers,
105+ parsec, mtl, blaze-html >= 0.4.2 && < 0.10,
106+ utf8-string
107+ if flag(pcre-light)
108+ Build-depends: pcre-light >= 0.4 && < 0.5, bytestring
109+ cpp-options: -D_PCRE_LIGHT
110+ else
111+ Build-depends: regex-pcre-builtin >= 0.94.4.8.8.35
112+ Exposed-Modules: Text.Highlighting.Kate
113+ Text.Highlighting.Kate.Syntax
114+ Text.Highlighting.Kate.Types
115+ Text.Highlighting.Kate.Styles
116+ Text.Highlighting.Kate.Format.HTML
117+ Text.Highlighting.Kate.Format.LaTeX
118+ Other-Modules: Text.Highlighting.Kate.Common
119+ Paths_highlighting_kate
120+ Text.Highlighting.Kate.Syntax.Abc
121+ Text.Highlighting.Kate.Syntax.Actionscript
122+ Text.Highlighting.Kate.Syntax.Ada
123+ Text.Highlighting.Kate.Syntax.Agda
124+ Text.Highlighting.Kate.Syntax.Alert
125+ Text.Highlighting.Kate.Syntax.Alert_indent
126+ Text.Highlighting.Kate.Syntax.Apache
127+ Text.Highlighting.Kate.Syntax.Asn1
128+ Text.Highlighting.Kate.Syntax.Asp
129+ Text.Highlighting.Kate.Syntax.Ats
130+ Text.Highlighting.Kate.Syntax.Awk
131+ Text.Highlighting.Kate.Syntax.Bash
132+ Text.Highlighting.Kate.Syntax.Bibtex
133+ Text.Highlighting.Kate.Syntax.Boo
134+ Text.Highlighting.Kate.Syntax.C
135+ Text.Highlighting.Kate.Syntax.Changelog
136+ Text.Highlighting.Kate.Syntax.Clojure
137+ Text.Highlighting.Kate.Syntax.Cmake
138+ Text.Highlighting.Kate.Syntax.Coffee
139+ Text.Highlighting.Kate.Syntax.Coldfusion
140+ Text.Highlighting.Kate.Syntax.Commonlisp
141+ Text.Highlighting.Kate.Syntax.Cpp
142+ Text.Highlighting.Kate.Syntax.Cs
143+ Text.Highlighting.Kate.Syntax.Css
144+ Text.Highlighting.Kate.Syntax.Curry
145+ Text.Highlighting.Kate.Syntax.D
146+ Text.Highlighting.Kate.Syntax.Diff
147+ Text.Highlighting.Kate.Syntax.Djangotemplate
148+ Text.Highlighting.Kate.Syntax.Dockerfile
149+ Text.Highlighting.Kate.Syntax.Dot
150+ Text.Highlighting.Kate.Syntax.Doxygen
151+ Text.Highlighting.Kate.Syntax.Doxygenlua
152+ Text.Highlighting.Kate.Syntax.Dtd
153+ Text.Highlighting.Kate.Syntax.Eiffel
154+ Text.Highlighting.Kate.Syntax.Elixir
155+ Text.Highlighting.Kate.Syntax.Email
156+ Text.Highlighting.Kate.Syntax.Erlang
157+ Text.Highlighting.Kate.Syntax.Fasm
158+ Text.Highlighting.Kate.Syntax.Fortran
159+ Text.Highlighting.Kate.Syntax.Fsharp
160+ Text.Highlighting.Kate.Syntax.Gcc
161+ Text.Highlighting.Kate.Syntax.Glsl
162+ Text.Highlighting.Kate.Syntax.Gnuassembler
163+ Text.Highlighting.Kate.Syntax.Go
164+ Text.Highlighting.Kate.Syntax.Hamlet
165+ Text.Highlighting.Kate.Syntax.Haskell
166+ Text.Highlighting.Kate.Syntax.Haxe
167+ Text.Highlighting.Kate.Syntax.Html
168+ Text.Highlighting.Kate.Syntax.Idris
169+ Text.Highlighting.Kate.Syntax.Ini
170+ Text.Highlighting.Kate.Syntax.Isocpp
171+ Text.Highlighting.Kate.Syntax.Java
172+ Text.Highlighting.Kate.Syntax.Javadoc
173+ Text.Highlighting.Kate.Syntax.Javascript
174+ Text.Highlighting.Kate.Syntax.Json
175+ Text.Highlighting.Kate.Syntax.Jsp
176+ Text.Highlighting.Kate.Syntax.Julia
177+ Text.Highlighting.Kate.Syntax.Kotlin
178+ Text.Highlighting.Kate.Syntax.Latex
179+ Text.Highlighting.Kate.Syntax.Lex
180+ Text.Highlighting.Kate.Syntax.Lilypond
181+ Text.Highlighting.Kate.Syntax.LiterateCurry
182+ Text.Highlighting.Kate.Syntax.LiterateHaskell
183+ Text.Highlighting.Kate.Syntax.Llvm
184+ Text.Highlighting.Kate.Syntax.Lua
185+ Text.Highlighting.Kate.Syntax.M4
186+ Text.Highlighting.Kate.Syntax.Makefile
187+ Text.Highlighting.Kate.Syntax.Mandoc
188+ Text.Highlighting.Kate.Syntax.Markdown
189+ Text.Highlighting.Kate.Syntax.Mathematica
190+ Text.Highlighting.Kate.Syntax.Matlab
191+ Text.Highlighting.Kate.Syntax.Maxima
192+ Text.Highlighting.Kate.Syntax.Mediawiki
193+ Text.Highlighting.Kate.Syntax.Metafont
194+ Text.Highlighting.Kate.Syntax.Mips
195+ Text.Highlighting.Kate.Syntax.Modelines
196+ Text.Highlighting.Kate.Syntax.Modula2
197+ Text.Highlighting.Kate.Syntax.Modula3
198+ Text.Highlighting.Kate.Syntax.Monobasic
199+ Text.Highlighting.Kate.Syntax.Nasm
200+ Text.Highlighting.Kate.Syntax.Noweb
201+ Text.Highlighting.Kate.Syntax.Objectivec
202+ Text.Highlighting.Kate.Syntax.Objectivecpp
203+ Text.Highlighting.Kate.Syntax.Ocaml
204+ Text.Highlighting.Kate.Syntax.Octave
205+ Text.Highlighting.Kate.Syntax.Opencl
206+ Text.Highlighting.Kate.Syntax.Pascal
207+ Text.Highlighting.Kate.Syntax.Perl
208+ Text.Highlighting.Kate.Syntax.Php
209+ Text.Highlighting.Kate.Syntax.Pike
210+ Text.Highlighting.Kate.Syntax.Postscript
211+ Text.Highlighting.Kate.Syntax.Prolog
212+ Text.Highlighting.Kate.Syntax.Pure
213+ Text.Highlighting.Kate.Syntax.Python
214+ Text.Highlighting.Kate.Syntax.R
215+ Text.Highlighting.Kate.Syntax.Relaxng
216+ Text.Highlighting.Kate.Syntax.Relaxngcompact
217+ Text.Highlighting.Kate.Syntax.Rest
218+ Text.Highlighting.Kate.Syntax.Rhtml
219+ Text.Highlighting.Kate.Syntax.Roff
220+ Text.Highlighting.Kate.Syntax.Ruby
221+ Text.Highlighting.Kate.Syntax.Rust
222+ Text.Highlighting.Kate.Syntax.Scala
223+ Text.Highlighting.Kate.Syntax.Scheme
224+ Text.Highlighting.Kate.Syntax.Sci
225+ Text.Highlighting.Kate.Syntax.Sed
226+ Text.Highlighting.Kate.Syntax.Sgml
227+ Text.Highlighting.Kate.Syntax.Sql
228+ Text.Highlighting.Kate.Syntax.SqlMysql
229+ Text.Highlighting.Kate.Syntax.SqlPostgresql
230+ Text.Highlighting.Kate.Syntax.Tcl
231+ Text.Highlighting.Kate.Syntax.Tcsh
232+ Text.Highlighting.Kate.Syntax.Texinfo
233+ Text.Highlighting.Kate.Syntax.Verilog
234+ Text.Highlighting.Kate.Syntax.Vhdl
235+ Text.Highlighting.Kate.Syntax.Xml
236+ Text.Highlighting.Kate.Syntax.Xorg
237+ Text.Highlighting.Kate.Syntax.Xslt
238+ Text.Highlighting.Kate.Syntax.Xul
239+ Text.Highlighting.Kate.Syntax.Yacc
240+ Text.Highlighting.Kate.Syntax.Yaml
241+ Text.Highlighting.Kate.Syntax.Zsh
242+ -- disable optimizations; it doesn't hurt performance much and
243+ -- massively improves compilation speed and memory usage
244+ Default-Language: Haskell98
245+ Ghc-Options: -W -O0
246+ Ghc-Prof-Options: -fprof-auto-exported
247+ -- the following line is needed to prevent gcc from consuming huge amounts of
248+ -- memory on platforms without a native code generator:
249+ Cc-Options: -O0
250+
251+Executable highlighting-kate
252+ Main-Is: highlighting-kate.hs
253+ Build-Depends: base, containers, blaze-html >= 0.4.2 && < 0.10, filepath,
254+ highlighting-kate
255+ Hs-Source-Dirs: extra
256+ Default-Language: Haskell98
257+ if flag(pcre-light)
258+ cpp-options: -D_PCRE_LIGHT
259+ Ghc-Options: -W -O0 -rtsopts
260+ Ghc-Prof-Options: -fprof-auto-exported
261+ -- the following line is needed to prevent gcc from consuming huge amounts of
262+ -- memory on platforms without a native code generator:
263+ Cc-Options: -O0
264+
265+ if flag(executable)
266+ Buildable: True
267+ else
268+ Buildable: False
269+
270+test-suite test-highlighting-kate
271+ Type: exitcode-stdio-1.0
272+ Main-Is: test-highlighting-kate.hs
273+ Hs-Source-Dirs: tests
274+ build-depends: base >= 4, directory, highlighting-kate, filepath,
275+ process, Diff, containers, blaze-html >= 0.4.2 && < 0.10
276+ default-language: Haskell98
test/golden-test-cases/highlighting-kate.nix.goldennew file+25
@@ -0,0 +1,25 @@
1+{ mkDerivation, base, blaze-html, containers, Diff, directory
2+, fetchurl, filepath, mtl, parsec, process, regex-pcre-builtin
3+, utf8-string
4+}:
5+mkDerivation {
6+ pname = "highlighting-kate";
7+ version = "0.6.4";
8+ src = fetchurl {
9+ url = "http://example.org/";
10+ sha256 = "abc";
11+ };
12+ isLibrary = true;
13+ isExecutable = true;
14+ libraryHaskellDepends = [
15+ base blaze-html containers mtl parsec regex-pcre-builtin
16+ utf8-string
17+ ];
18+ executableHaskellDepends = [ base blaze-html containers filepath ];
19+ testHaskellDepends = [
20+ base blaze-html containers Diff directory filepath process
21+ ];
22+ homepage = "http://github.com/jgm/highlighting-kate";
23+ description = "Syntax highlighting";
24+ license = "GPL";
25+}
test/golden-test-cases/hit.cabalnew file+125
@@ -0,0 +1,125 @@
1+Name: hit
2+Version: 0.6.3
3+Synopsis: Git operations in haskell
4+Description:
5+ .
6+ An haskell implementation of git storage operations, allowing users
7+ to manipulate git repositories (read and write).
8+ .
9+ This implementation is fully interoperable with the main C implementation.
10+ .
11+ This is stricly only manipulating the git store (what's inside the .git directory),
12+ and doesn't do anything with the index or your working directory files.
13+ .
14+License: BSD3
15+License-file: LICENSE
16+Copyright: Vincent Hanquez <vincent@snarc.org>
17+Author: Vincent Hanquez <vincent@snarc.org>
18+Maintainer: Vincent Hanquez <vincent@snarc.org>
19+Category: Development
20+Stability: experimental
21+Build-Type: Simple
22+Homepage: http://github.com/vincenthz/hit
23+Cabal-Version: >=1.8
24+data-files: README.md
25+extra-source-files: Tests/*.hs
26+
27+Flag executable
28+ Description: Build the executable
29+ Default: False
30+
31+Flag debug
32+ Description: Add some debugging options
33+ Default: False
34+
35+Library
36+ Build-Depends: base >= 4 && < 5
37+ , mtl
38+ , bytestring >= 0.9
39+ , byteable
40+ , attoparsec >= 0.10.1
41+ , parsec >= 3
42+ , containers
43+ , system-filepath
44+ , system-fileio
45+ , cryptohash
46+ , vector
47+ , random
48+ , zlib
49+ , zlib-bindings >= 0.1 && < 0.2
50+ , hourglass >= 0.2
51+ , unix-compat
52+ , utf8-string
53+ , patience
54+ Exposed-modules: Data.Git
55+ Data.Git.Types
56+ Data.Git.Storage
57+ Data.Git.Storage.PackIndex
58+ Data.Git.Storage.Pack
59+ Data.Git.Storage.Object
60+ Data.Git.Storage.Loose
61+ Data.Git.Named
62+ Data.Git.Delta
63+ Data.Git.Ref
64+ Data.Git.Revision
65+ Data.Git.Repository
66+ Data.Git.Diff
67+ Other-modules: Data.Git.Internal
68+ Data.Git.Config
69+ Data.Git.Storage.FileReader
70+ Data.Git.Storage.FileWriter
71+ Data.Git.Storage.CacheFile
72+ Data.Git.Path
73+ Data.Git.WorkTree
74+ ghc-options: -Wall -fno-warn-missing-signatures
75+
76+Executable Hit
77+ Main-Is: Hit.hs
78+ hs-source-dirs: Hit
79+ ghc-options: -Wall -fno-warn-orphans -fno-warn-missing-signatures
80+ if flag(debug)
81+ ghc-options: -rtsopts -auto-all -caf-all
82+ if flag(executable)
83+ Build-depends: base >= 4 && < 5
84+ , mtl
85+ , containers
86+ , hashable >= 1.2
87+ , hashtables
88+ , bytestring
89+ , attoparsec >= 0.10.1
90+ , parsec >= 3
91+ , filepath
92+ , directory
93+ , hit
94+ , hourglass
95+ , patience
96+ Buildable: True
97+ else
98+ Buildable: False
99+
100+Test-Suite test-unit
101+ type: exitcode-stdio-1.0
102+ hs-source-dirs: Tests
103+ Main-Is: Tests.hs
104+ Build-depends: base >= 3 && < 7
105+ , bytestring
106+ , tasty
107+ , tasty-quickcheck
108+ , hourglass
109+ , hit
110+
111+Test-Suite test-repository
112+ type: exitcode-stdio-1.0
113+ hs-source-dirs: Tests
114+ Main-Is: Repo.hs
115+ Build-depends: base >= 3 && < 7
116+ , bytestring
117+ , tasty
118+ , tasty-quickcheck
119+ , hourglass
120+ , bytedump >= 1.0
121+ , hit
122+
123+source-repository head
124+ type: git
125+ location: git://github.com/vincenthz/hit
test/golden-test-cases/hit.nix.goldennew file+28
@@ -0,0 +1,28 @@
1+{ mkDerivation, attoparsec, base, byteable, bytedump, bytestring
2+, containers, cryptohash, fetchurl, hourglass, mtl, parsec
3+, patience, random, system-fileio, system-filepath, tasty
4+, tasty-quickcheck, unix-compat, utf8-string, vector, zlib
5+, zlib-bindings
6+}:
7+mkDerivation {
8+ pname = "hit";
9+ version = "0.6.3";
10+ src = fetchurl {
11+ url = "http://example.org/";
12+ sha256 = "abc";
13+ };
14+ isLibrary = true;
15+ isExecutable = true;
16+ enableSeparateDataOutput = true;
17+ libraryHaskellDepends = [
18+ attoparsec base byteable bytestring containers cryptohash hourglass
19+ mtl parsec patience random system-fileio system-filepath
20+ unix-compat utf8-string vector zlib zlib-bindings
21+ ];
22+ testHaskellDepends = [
23+ base bytedump bytestring hourglass tasty tasty-quickcheck
24+ ];
25+ homepage = "http://github.com/vincenthz/hit";
26+ description = "Git operations in haskell";
27+ license = stdenv.lib.licenses.bsd3;
28+}
test/golden-test-cases/hjson.cabalnew file+19
@@ -0,0 +1,19 @@
1+Name: hjson
2+Version: 1.3.2
3+Synopsis: JSON parsing library
4+Category: Text
5+Description: JSON parsing library with simple and sane API
6+License: BSD3
7+License-file: COPYING
8+Author: Voker57
9+Maintainer: voker57@gmail.com
10+Build-type: Simple
11+Cabal-version: >= 1.6
12+
13+Source-repository head
14+ Type: git
15+ Location: git://git.bitcheese.net/hjson
16+
17+library
18+ Exposed-Modules: Text.HJson, Text.HJson.Pretty
19+ Build-Depends: base >= 4 && < 5, parsec >= 3.0.0, containers
test/golden-test-cases/hjson.nix.goldennew file+12
@@ -0,0 +1,12 @@
1+{ mkDerivation, base, containers, fetchurl, parsec }:
2+mkDerivation {
3+ pname = "hjson";
4+ version = "1.3.2";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base containers parsec ];
10+ description = "JSON parsing library";
11+ license = stdenv.lib.licenses.bsd3;
12+}
test/golden-test-cases/hmpfr.cabalnew file+83
@@ -0,0 +1,83 @@
1+name: hmpfr
2+version: 0.4.3
3+synopsis: Haskell binding to the MPFR library
4+description:
5+ Haskell binding to the MPFR library.
6+ .
7+ The library includes both a pure and a mutable interface.
8+ The mutable interface should have a lot less overhead
9+ than the pure one.
10+ .
11+ Some simple examples of usage can be found in demo/Demo.hs.
12+
13+category: Data, Math
14+license: BSD3
15+license-file: LICENSE
16+Stability: experimental
17+Tested-with:
18+ GHC==7.10.3
19+ GHC==8.0.1
20+author: Aleš Bizjak, Michal Konečný
21+maintainer: Michal Konečný <mikkonecny@gmail.com>
22+Homepage: https://github.com/michalkonecny/hmpfr
23+build-type: Simple
24+cabal-version: >= 1.6
25+Extra-source-files: demo/Demo.hs
26+
27+Data-files:
28+ README.md
29+ dict.txt
30+ ChangeLog
31+
32+source-repository head
33+ type: git
34+ location: https://github.com/michalkonecny/hmpfr
35+
36+flag use-integer-simple
37+ description: Use this when compiling using a ghc that uses integer-simple instead of integer-gmp.
38+ default: False
39+
40+Library
41+ build-Depends: base >= 4.8 && < 5
42+ if flag(use-integer-simple)
43+ build-Depends: integer-simple
44+ cpp-options: -DINTEGER_SIMPLE
45+ else
46+ build-Depends: integer-gmp >= 1.0 && < 1.1
47+ cpp-options: -DINTEGER_GMP
48+
49+ Exposed-modules:
50+ Data.Number.MPFR.FFIhelper
51+ Data.Number.MPFR.Internal
52+ Data.Number.MPFR.Mutable.Internal
53+
54+ Data.Number.MPFR.Mutable.Arithmetic
55+ Data.Number.MPFR.Mutable.Special
56+ Data.Number.MPFR.Mutable.Integer
57+ Data.Number.MPFR.Mutable.Misc
58+
59+ Data.Number.MPFR.Assignment
60+ Data.Number.MPFR.Conversion
61+ Data.Number.MPFR.Arithmetic
62+ Data.Number.MPFR.Comparison
63+ Data.Number.MPFR.Special
64+ Data.Number.MPFR.Integer
65+ Data.Number.MPFR.Misc
66+
67+ Data.Number.MPFR.Instances.Near
68+ Data.Number.MPFR.Instances.Up
69+ Data.Number.MPFR.Instances.Down
70+ Data.Number.MPFR.Instances.Zero
71+
72+ Data.Number.MPFR
73+
74+ Data.Number.MPFR.Mutable
75+
76+ GHC-options: -Wall -fno-warn-orphans
77+ hs-source-dirs: src
78+ include-dirs: cbits
79+ includes: mpfr.h
80+ install-includes: chsmpfr.h
81+ c-sources: cbits/chsmpfr.c
82+
83+ extra-libraries: mpfr
test/golden-test-cases/hmpfr.nix.goldennew file+15
@@ -0,0 +1,15 @@
1+{ mkDerivation, base, fetchurl, integer-gmp, mpfr }:
2+mkDerivation {
3+ pname = "hmpfr";
4+ version = "0.4.3";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ enableSeparateDataOutput = true;
10+ libraryHaskellDepends = [ base integer-gmp ];
11+ librarySystemDepends = [ mpfr ];
12+ homepage = "https://github.com/michalkonecny/hmpfr";
13+ description = "Haskell binding to the MPFR library";
14+ license = stdenv.lib.licenses.bsd3;
15+}
test/golden-test-cases/hoogle.cabalnew file+142
@@ -0,0 +1,142 @@
1+cabal-version: >= 1.18
2+build-type: Simple
3+name: hoogle
4+version: 5.0.14
5+license: BSD3
6+license-file: LICENSE
7+category: Development
8+author: Neil Mitchell <ndmitchell@gmail.com>
9+maintainer: Neil Mitchell <ndmitchell@gmail.com>
10+copyright: Neil Mitchell 2004-2017
11+synopsis: Haskell API Search
12+description:
13+ Hoogle is a Haskell API search engine, which allows you to
14+ search many standard Haskell libraries by either function name,
15+ or by approximate type signature.
16+homepage: http://hoogle.haskell.org/
17+bug-reports: https://github.com/ndmitchell/hoogle/issues
18+tested-with: GHC==8.2.1, GHC==8.0.2, GHC==7.10.3
19+extra-doc-files:
20+ README.md
21+ CHANGES.txt
22+extra-source-files:
23+ cbits/*.h
24+ cbits/*.c
25+data-files:
26+ misc/settings.txt
27+ html/*.js
28+ html/*.png
29+ html/*.css
30+ html/*.xml
31+ html/*.html
32+ html/plugin/*.css
33+ html/plugin/*.js
34+ html/plugin/*.png
35+
36+source-repository head
37+ type: git
38+ location: https://github.com/ndmitchell/hoogle.git
39+
40+flag network-uri
41+ default: True
42+ manual: False
43+ description: Get Network.URI from the network-uri package
44+
45+library
46+ hs-source-dirs: src
47+ default-language: Haskell2010
48+
49+ if flag(network-uri)
50+ build-depends: network-uri >= 2.6, network >= 2.6
51+ else
52+ build-depends: network-uri < 2.6, network < 2.6
53+
54+ build-depends:
55+ QuickCheck,
56+ aeson,
57+ base > 4 && < 5,
58+ binary,
59+ bytestring,
60+ cmdargs,
61+ conduit,
62+ conduit-extra,
63+ connection,
64+ containers >= 0.5,
65+ deepseq,
66+ directory,
67+ extra >= 1.4,
68+ filepath,
69+ old-locale,
70+ haskell-src-exts >= 1.18 && < 1.20,
71+ http-conduit,
72+ http-types,
73+ js-flot,
74+ js-jquery,
75+ mmap,
76+ process,
77+ process-extras,
78+ resourcet,
79+ storable-tuple,
80+ tar,
81+ template-haskell,
82+ text,
83+ time,
84+ transformers,
85+ uniplate,
86+ utf8-string,
87+ vector,
88+ wai,
89+ wai-logger,
90+ warp,
91+ warp-tls,
92+ zlib
93+
94+ c-sources: cbits/text_search.c
95+ include-dirs: cbits
96+ includes: include.h
97+ install-includes: include.h
98+ cc-options: -std=c99
99+
100+ ghc-options: -fno-state-hack
101+
102+ exposed-modules:
103+ Hoogle
104+
105+ other-modules:
106+ Paths_hoogle
107+ Action.CmdLine
108+ Action.Generate
109+ Action.Search
110+ Action.Server
111+ Action.Test
112+ Input.Cabal
113+ Input.Download
114+ Input.Haddock
115+ Input.Item
116+ Input.Reorder
117+ Input.Set
118+ Input.Settings
119+ Output.Items
120+ Output.Names
121+ Output.Tags
122+ Output.Types
123+ Query
124+ General.Conduit
125+ General.IString
126+ General.Log
127+ General.Store
128+ General.Str
129+ General.Template
130+ General.Timing
131+ General.Util
132+ General.Web
133+
134+
135+executable hoogle
136+ main-is: src/Main.hs
137+ default-language: Haskell2010
138+ ghc-options: -threaded
139+
140+ build-depends:
141+ base > 4 && < 5,
142+ hoogle
test/golden-test-cases/hoogle.nix.goldennew file+33
@@ -0,0 +1,33 @@
1+{ mkDerivation, aeson, base, binary, bytestring, cmdargs, conduit
2+, conduit-extra, connection, containers, deepseq, directory, extra
3+, fetchurl, filepath, haskell-src-exts, http-conduit, http-types
4+, js-flot, js-jquery, mmap, network, network-uri, old-locale
5+, process, process-extras, QuickCheck, resourcet, storable-tuple
6+, tar, template-haskell, text, time, transformers, uniplate
7+, utf8-string, vector, wai, wai-logger, warp, warp-tls, zlib
8+}:
9+mkDerivation {
10+ pname = "hoogle";
11+ version = "5.0.14";
12+ src = fetchurl {
13+ url = "http://example.org/";
14+ sha256 = "abc";
15+ };
16+ isLibrary = true;
17+ isExecutable = true;
18+ enableSeparateDataOutput = true;
19+ libraryHaskellDepends = [
20+ aeson base binary bytestring cmdargs conduit conduit-extra
21+ connection containers deepseq directory extra filepath
22+ haskell-src-exts http-conduit http-types js-flot js-jquery mmap
23+ network network-uri old-locale process process-extras QuickCheck
24+ resourcet storable-tuple tar template-haskell text time
25+ transformers uniplate utf8-string vector wai wai-logger warp
26+ warp-tls zlib
27+ ];
28+ executableHaskellDepends = [ base ];
29+ testTarget = "--test-option=--no-net";
30+ homepage = "http://hoogle.haskell.org/";
31+ description = "Haskell API Search";
32+ license = stdenv.lib.licenses.bsd3;
33+}
test/golden-test-cases/hostname-validate.cabalnew file+20
@@ -0,0 +1,20 @@
1+name: hostname-validate
2+version: 1.0.0
3+synopsis: Validate hostnames e.g. localhost or foo.co.uk.
4+description: Validate hostnames e.g. localhost or foo.co.uk. See also RFC 1123, RFC 952, and RFC 1035.
5+license: BSD3
6+license-file: LICENSE
7+author: Chris Done
8+maintainer: chrisdone@gmail.com
9+copyright: 2013 Chris Done
10+category: Network
11+build-type: Simple
12+cabal-version: >=1.8
13+
14+library
15+ hs-source-dirs: src/
16+ exposed-modules: Text.Hostname
17+ build-depends: base >= 4 && < 5,
18+ bytestring,
19+ attoparsec
20+ ghc-options: -O2
test/golden-test-cases/hostname-validate.nix.goldennew file+12
@@ -0,0 +1,12 @@
1+{ mkDerivation, attoparsec, base, bytestring, fetchurl }:
2+mkDerivation {
3+ pname = "hostname-validate";
4+ version = "1.0.0";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ attoparsec base bytestring ];
10+ description = "Validate hostnames e.g. localhost or foo.co.uk.";
11+ license = stdenv.lib.licenses.bsd3;
12+}
test/golden-test-cases/hsinstall.cabalnew file+45
@@ -0,0 +1,45 @@
1+name: hsinstall
2+version: 1.6
3+synopsis: Install Haskell software
4+description: This is a utility to install Haskell programs on a system using stack. Even though stack has an `install` command, I found it to be not enough for my needs. This software tries to install the binaries, the LICENSE file and also the resources directory if it finds one. There is also an optional library component to assist with locating installed data files at runtime.
5+homepage:
6+license: ISC
7+license-file: LICENSE
8+author: Dino Morelli
9+maintainer: Dino Morelli <dino@ui3.info>
10+copyright: 2016-2017 Dino Morelli
11+category: Utility
12+build-type: Simple
13+cabal-version: >=1.10
14+tested-with: GHC >= 8.0.1
15+data-files: resources/foo
16+extra-source-files: changelog.md
17+ doc/hcar/hsinstall.tex
18+ README.md
19+ resources/foo
20+ stack.yaml
21+ util/install.hs
22+ util/prefs/boring
23+
24+executable an-app
25+ hs-source-dirs: app
26+ main-is: Main.hs
27+ ghc-options: -Wall
28+ build-depends: base >= 4.8 && < 5.0
29+ , directory
30+ , filepath
31+ , hsinstall
32+ default-language: Haskell2010
33+
34+library
35+ hs-source-dirs: src
36+ exposed-modules: HSInstall
37+ ghc-options: -Wall
38+ build-depends: base >= 4.8 && < 5.0
39+ , directory
40+ , filepath
41+ default-language: Haskell2010
42+
43+source-repository head
44+ type: darcs
45+ location: http://hub.darcs.net/dino/hsinstall
test/golden-test-cases/hsinstall.nix.goldennew file+16
@@ -0,0 +1,16 @@
1+{ mkDerivation, base, directory, fetchurl, filepath }:
2+mkDerivation {
3+ pname = "hsinstall";
4+ version = "1.6";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ isLibrary = true;
10+ isExecutable = true;
11+ enableSeparateDataOutput = true;
12+ libraryHaskellDepends = [ base directory filepath ];
13+ executableHaskellDepends = [ base directory filepath ];
14+ description = "Install Haskell software";
15+ license = stdenv.lib.licenses.isc;
16+}
test/golden-test-cases/hstatsd.cabalnew file+24
@@ -0,0 +1,24 @@
1+name: hstatsd
2+version: 0.1
3+stability: quick-hack
4+
5+cabal-version: >= 1.2
6+build-type: Simple
7+
8+author: James Cook <mokus@deepbondi.net>
9+maintainer: James Cook <mokus@deepbondi.net>
10+license: PublicDomain
11+homepage: https://github.com/mokus0/hstatsd
12+
13+category: System
14+synopsis: Quick and dirty statsd interface
15+description: Quick and dirty statsd interface
16+
17+Library
18+ hs-source-dirs: src
19+ exposed-modules: Network.StatsD
20+ build-depends: base >= 3 && < 5,
21+ bytestring,
22+ mtl,
23+ network,
24+ text
test/golden-test-cases/hstatsd.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, bytestring, fetchurl, mtl, network, text }:
2+mkDerivation {
3+ pname = "hstatsd";
4+ version = "0.1";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base bytestring mtl network text ];
10+ homepage = "https://github.com/mokus0/hstatsd";
11+ description = "Quick and dirty statsd interface";
12+ license = stdenv.lib.licenses.publicDomain;
13+}
test/golden-test-cases/hsx-jmacro.cabalnew file+33
@@ -0,0 +1,33 @@
1+Name: hsx-jmacro
2+Version: 7.3.8
3+Synopsis: hsp+jmacro support
4+Description: HSP allows for the use of literal XML in Haskell program text. JMacro allows for the use of javascript-syntax for generating javascript in Haskell. This library makes it easy to embed JMacro generated javascript in HSX templates.
5+Homepage: http://www.happstack.com/
6+License: BSD3
7+License-file: LICENSE
8+Author: Jeremy Shaw
9+Maintainer: jeremy@n-heptane.com
10+Stability: Provisional
11+Category: Web
12+Build-type: Simple
13+Cabal-version: >=1.6
14+tested-with: GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.1
15+Extra-source-files: example.hs,
16+ example2.hs,
17+ README.md
18+
19+source-repository head
20+ type: git
21+ location: https://github.com/Happstack/hsx-jmacro.git
22+
23+Library
24+ Exposed-modules: HSP.JMacro
25+ HSP.JMacroT
26+
27+ Build-depends:
28+ base > 4 && <5,
29+ hsp >= 0.9 && < 0.11,
30+ jmacro >= 0.6 && < 0.7,
31+ mtl >= 2.0 && < 2.3,
32+ wl-pprint-text == 1.1.*,
33+ text >= 0.11 && < 1.3
test/golden-test-cases/hsx-jmacro.nix.goldennew file+17
@@ -0,0 +1,17 @@
1+{ mkDerivation, base, fetchurl, hsp, jmacro, mtl, text
2+, wl-pprint-text
3+}:
4+mkDerivation {
5+ pname = "hsx-jmacro";
6+ version = "7.3.8";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [
12+ base hsp jmacro mtl text wl-pprint-text
13+ ];
14+ homepage = "http://www.happstack.com/";
15+ description = "hsp+jmacro support";
16+ license = stdenv.lib.licenses.bsd3;
17+}
test/golden-test-cases/hsyslog.cabalnew file+77
@@ -0,0 +1,77 @@
1+name: hsyslog
2+version: 5.0.1
3+cabal-version: >= 1.10
4+build-type: Custom
5+license: BSD3
6+license-file: LICENSE
7+copyright: Copyright (c) 2004-2017 by Peter Simons
8+author: Peter Simons, John Lato, Jonathan Childress
9+maintainer: Peter Simons <simons@cryp.to>
10+homepage: http://github.com/peti/hsyslog
11+bug-reports: http://github.com/peti/hsyslog/issues
12+synopsis: FFI interface to syslog(3) from POSIX.1-2001
13+category: Foreign
14+tested-with: GHC > 7.6 && < 8.3
15+
16+extra-source-files:
17+ c-bits/simple-syslog.c
18+ c-bits/make-log-mask.c
19+
20+description:
21+ A Haskell interface to @syslog(3)@ as specified in
22+ <http://pubs.opengroup.org/onlinepubs/9699919799/functions/syslog.html POSIX.1-2008>.
23+ The entire public API lives in "System.Posix.Syslog". There is a set of exposed
24+ modules available underneath that one, which contain various implementation details
25+ that may be useful to other developers who want to implement syslog-related
26+ functionality. /Users/ of @syslog@, however, do not need them.
27+ .
28+ An example program that demonstrates how to use this library is available in the
29+ <https://github.com/peti/hsyslog/blob/master/example/Main.hs examples> directory of
30+ this package.
31+
32+custom-setup
33+ setup-depends: base >= 4 && <5,
34+ Cabal,
35+ cabal-doctest >= 1 && <1.1
36+
37+source-repository head
38+ type: git
39+ location: git://github.com/peti/hsyslog.git
40+
41+Flag install-examples
42+ Description: Build and install example programs.
43+ Default: False
44+
45+library
46+ exposed-modules: System.Posix.Syslog
47+ System.Posix.Syslog.Facility
48+ System.Posix.Syslog.Functions
49+ System.Posix.Syslog.LogMask
50+ System.Posix.Syslog.Options
51+ System.Posix.Syslog.Priority
52+ build-depends: base >= 4.6 && < 5
53+ other-extensions: ForeignFunctionInterface, DeriveGeneric
54+ hs-source-dirs: src
55+ c-sources: c-bits/simple-syslog.c
56+ c-bits/make-log-mask.c
57+ default-language: Haskell2010
58+ build-tools: hsc2hs
59+
60+test-suite doctests
61+ type: exitcode-stdio-1.0
62+ main-is: doctests.hs
63+ hs-source-dirs: test
64+ build-depends: hsyslog, base, doctest
65+ ghc-options: -threaded
66+ default-language: Haskell2010
67+
68+executable hsyslog-example
69+ main-is: Main.hs
70+ hs-source-dirs: example
71+ if flag(install-examples)
72+ buildable: True
73+ build-depends: base, hsyslog, bytestring
74+ other-extensions: TypeSynonymInstances, FlexibleInstances
75+ else
76+ buildable: False
77+ default-language: Haskell2010
test/golden-test-cases/hsyslog.nix.goldennew file+17
@@ -0,0 +1,17 @@
1+{ mkDerivation, base, Cabal, cabal-doctest, doctest, fetchurl }:
2+mkDerivation {
3+ pname = "hsyslog";
4+ version = "5.0.1";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ isLibrary = true;
10+ isExecutable = true;
11+ setupHaskellDepends = [ base Cabal cabal-doctest ];
12+ libraryHaskellDepends = [ base ];
13+ testHaskellDepends = [ base doctest ];
14+ homepage = "http://github.com/peti/hsyslog";
15+ description = "FFI interface to syslog(3) from POSIX.1-2001";
16+ license = stdenv.lib.licenses.bsd3;
17+}
test/golden-test-cases/htoml.cabalnew file+89
@@ -0,0 +1,89 @@
1+name: htoml
2+version: 1.0.0.3
3+synopsis: Parser for TOML files
4+description: TOML is an obvious and minimal format for config files.
5+ .
6+ This package provides a TOML parser,
7+ build with the Parsec library. It exposes a JSON
8+ interface using the Aeson library.
9+homepage: https://github.com/cies/htoml
10+bug-reports: https://github.com/cies/htoml/issues
11+license: BSD3
12+license-file: LICENSE
13+copyright: (c) 2013-2016 Cies Breijs
14+author: Cies Breijs
15+maintainer: Cies Breijs <cies % kde ! nl>
16+category: Data, Text, Parser, Configuration, JSON, Language
17+build-type: Simple
18+cabal-version: >= 1.10
19+extra-source-files: README.md
20+ , CHANGES.md
21+ , test/BurntSushi/fetch-toml-tests.sh
22+ , test/BurntSushi/valid/*.toml
23+ , test/BurntSushi/valid/*.json
24+ , test/BurntSushi/invalid/*.toml
25+ , benchmarks/example.toml
26+ , benchmarks/repeated.toml
27+
28+source-repository head
29+ type: git
30+ location: https://github.com/cies/htoml.git
31+
32+library
33+ exposed-modules: Text.Toml
34+ , Text.Toml.Parser
35+ , Text.Toml.Types
36+ ghc-options: -Wall
37+ hs-source-dirs: src
38+ default-language: Haskell2010
39+ build-depends: base >= 4.3 && < 5
40+ , parsec >= 3.1.2 && < 4
41+ , containers >= 0.5
42+ , unordered-containers >= 0.2
43+ , vector >= 0.10
44+ , aeson >= 0.8
45+ , text >= 1.0 && < 2
46+ , time -any
47+ , old-locale -any
48+
49+test-suite htoml-test
50+ hs-source-dirs: test
51+ ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
52+ main-is: Test.hs
53+ other-modules: BurntSushi
54+ , Text.Toml.Parser.Spec
55+ type: exitcode-stdio-1.0
56+ default-language: Haskell2010
57+ build-depends: base
58+ , parsec
59+ , containers
60+ , unordered-containers
61+ , vector
62+ , aeson
63+ , text
64+ , time
65+ -- from here non-lib deps
66+ , htoml
67+ , bytestring
68+ , file-embed
69+ , tasty
70+ , tasty-hspec
71+ , tasty-hunit
72+
73+benchmark benchmarks
74+ hs-source-dirs: benchmarks .
75+ ghc-options: -O2 -Wall -threaded -rtsopts -with-rtsopts=-N
76+ main-is: Benchmarks.hs
77+ type: exitcode-stdio-1.0
78+ default-language: Haskell2010
79+ build-depends: base
80+ , parsec
81+ , containers
82+ , unordered-containers
83+ , vector
84+ , aeson
85+ , text
86+ , time
87+ -- from here non-lib deps
88+ , htoml
89+ , criterion
test/golden-test-cases/htoml.nix.goldennew file+27
@@ -0,0 +1,27 @@
1+{ mkDerivation, aeson, base, bytestring, containers, criterion
2+, fetchurl, file-embed, old-locale, parsec, tasty, tasty-hspec
3+, tasty-hunit, text, time, unordered-containers, vector
4+}:
5+mkDerivation {
6+ pname = "htoml";
7+ version = "1.0.0.3";
8+ src = fetchurl {
9+ url = "http://example.org/";
10+ sha256 = "abc";
11+ };
12+ libraryHaskellDepends = [
13+ aeson base containers old-locale parsec text time
14+ unordered-containers vector
15+ ];
16+ testHaskellDepends = [
17+ aeson base bytestring containers file-embed parsec tasty
18+ tasty-hspec tasty-hunit text time unordered-containers vector
19+ ];
20+ benchmarkHaskellDepends = [
21+ aeson base containers criterion parsec text time
22+ unordered-containers vector
23+ ];
24+ homepage = "https://github.com/cies/htoml";
25+ description = "Parser for TOML files";
26+ license = stdenv.lib.licenses.bsd3;
27+}
test/golden-test-cases/http-conduit.cabalnew file+82
@@ -0,0 +1,82 @@
1+name: http-conduit
2+version: 2.2.4
3+license: BSD3
4+license-file: LICENSE
5+author: Michael Snoyman <michael@snoyman.com>
6+maintainer: Michael Snoyman <michael@snoyman.com>
7+synopsis: HTTP client package with conduit interface and HTTPS support.
8+description: Hackage documentation generation is not reliable. For up to date documentation, please see: <http://www.stackage.org/package/http-conduit>.
9+category: Web, Conduit
10+stability: Stable
11+cabal-version: >= 1.8
12+build-type: Simple
13+homepage: http://www.yesodweb.com/book/http-conduit
14+extra-source-files: test/main.hs
15+ , test/CookieTest.hs
16+ , multipart-example.bin
17+ , nyan.gif
18+ , certificate.pem
19+ , key.pem
20+ , README.md
21+ , ChangeLog.md
22+
23+library
24+ build-depends: base >= 4 && < 5
25+ , aeson >= 0.8
26+ , bytestring >= 0.9.1.4
27+ , transformers >= 0.2
28+ , resourcet >= 1.1 && < 1.2
29+ , conduit >= 0.5.5 && < 1.3
30+ , conduit-extra >= 1.1.5
31+ , http-types >= 0.7
32+ , lifted-base >= 0.1
33+ , http-client >= 0.5 && < 0.6
34+ , http-client-tls >= 0.3 && < 0.4
35+ , monad-control
36+ , mtl
37+ , exceptions >= 0.6
38+ exposed-modules: Network.HTTP.Conduit
39+ Network.HTTP.Client.Conduit
40+ Network.HTTP.Simple
41+ ghc-options: -Wall
42+
43+test-suite test
44+ main-is: main.hs
45+ other-modules: CookieTest
46+ type: exitcode-stdio-1.0
47+ hs-source-dirs: test
48+
49+ ghc-options: -Wall
50+ cpp-options: -DDEBUG
51+ build-depends: base >= 4 && < 5
52+ , HUnit
53+ , hspec >= 1.3
54+ , data-default-class
55+ , connection >= 0.2
56+ , warp-tls
57+ , time
58+ , blaze-builder
59+ , bytestring
60+ , text
61+ , transformers
62+ , conduit >= 1.1
63+ , utf8-string
64+ , case-insensitive
65+ , lifted-base
66+ , network
67+ , wai >= 3.0 && < 3.3
68+ , warp >= 3.0.0.2 && < 3.3
69+ , wai-conduit
70+ , http-types
71+ , cookie
72+ , http-client
73+ , http-conduit
74+ , conduit-extra
75+ , streaming-commons
76+ , aeson
77+ , temporary
78+ , resourcet
79+
80+source-repository head
81+ type: git
82+ location: git://github.com/snoyberg/http-client.git
test/golden-test-cases/http-conduit.nix.goldennew file+31
@@ -0,0 +1,31 @@
1+{ mkDerivation, aeson, base, blaze-builder, bytestring
2+, case-insensitive, conduit, conduit-extra, connection, cookie
3+, data-default-class, exceptions, fetchurl, hspec, http-client
4+, http-client-tls, http-types, HUnit, lifted-base, monad-control
5+, mtl, network, resourcet, streaming-commons, temporary, text, time
6+, transformers, utf8-string, wai, wai-conduit, warp, warp-tls
7+}:
8+mkDerivation {
9+ pname = "http-conduit";
10+ version = "2.2.4";
11+ src = fetchurl {
12+ url = "http://example.org/";
13+ sha256 = "abc";
14+ };
15+ libraryHaskellDepends = [
16+ aeson base bytestring conduit conduit-extra exceptions http-client
17+ http-client-tls http-types lifted-base monad-control mtl resourcet
18+ transformers
19+ ];
20+ testHaskellDepends = [
21+ aeson base blaze-builder bytestring case-insensitive conduit
22+ conduit-extra connection cookie data-default-class hspec
23+ http-client http-types HUnit lifted-base network resourcet
24+ streaming-commons temporary text time transformers utf8-string wai
25+ wai-conduit warp warp-tls
26+ ];
27+ doCheck = false;
28+ homepage = "http://www.yesodweb.com/book/http-conduit";
29+ description = "HTTP client package with conduit interface and HTTPS support";
30+ license = stdenv.lib.licenses.bsd3;
31+}
test/golden-test-cases/http-link-header.cabalnew file+74
@@ -0,0 +1,74 @@
1+name: http-link-header
2+version: 1.0.3
3+synopsis: A parser and writer for the HTTP Link header as specified in RFC 5988 "Web Linking".
4+description: https://github.com/myfreeweb/http-link-header
5+category: Web
6+homepage: https://github.com/myfreeweb/http-link-header
7+author: Greg V
8+copyright: 2014-2016 Greg V <greg@unrelenting.technology>
9+maintainer: greg@unrelenting.technology
10+license: PublicDomain
11+license-file: UNLICENSE
12+build-type: Simple
13+cabal-version: >= 1.10
14+extra-source-files:
15+ README.md
16+tested-with:
17+ GHC == 8.0.1
18+
19+source-repository head
20+ type: git
21+ location: git://github.com/myfreeweb/http-link-header.git
22+
23+library
24+ build-depends:
25+ base >= 4.3.0.0 && < 5
26+ , text
27+ , bytestring
28+ , errors
29+ , network-uri
30+ , http-api-data
31+ , attoparsec
32+ , bytestring-conversion
33+ default-language: Haskell2010
34+ exposed-modules:
35+ Network.HTTP.Link
36+ Network.HTTP.Link.Types
37+ Network.HTTP.Link.Parser
38+ Network.HTTP.Link.Writer
39+ ghc-options: -Wall
40+ hs-source-dirs: library
41+
42+test-suite tests
43+ build-depends:
44+ base >= 4.3.0.0 && < 5
45+ , text
46+ , http-link-header
47+ , hspec
48+ , QuickCheck
49+ , hspec-attoparsec
50+ default-language: Haskell2010
51+ ghc-options: -threaded -fhpc -Wall
52+ hs-source-dirs: test-suite
53+ main-is: Spec.hs
54+ other-modules:
55+ Network.HTTP.Link.ParserSpec
56+ Network.HTTP.Link.WriterSpec
57+ Network.HTTP.LinkSpec
58+ type: exitcode-stdio-1.0
59+
60+benchmark benchmarks
61+ build-depends:
62+ base >= 4.3.0.0 && < 5
63+ , text
64+ , http-link-header
65+ , directory
66+ , network-uri
67+ , transformers
68+ , criterion
69+ default-language: Haskell2010
70+ hs-source-dirs: benchmark
71+ main-is: Bench.hs
72+ other-modules: ParserBench
73+ WriterBench
74+ type: exitcode-stdio-1.0
test/golden-test-cases/http-link-header.nix.goldennew file+25
@@ -0,0 +1,25 @@
1+{ mkDerivation, attoparsec, base, bytestring, bytestring-conversion
2+, criterion, directory, errors, fetchurl, hspec, hspec-attoparsec
3+, http-api-data, network-uri, QuickCheck, text, transformers
4+}:
5+mkDerivation {
6+ pname = "http-link-header";
7+ version = "1.0.3";
8+ src = fetchurl {
9+ url = "http://example.org/";
10+ sha256 = "abc";
11+ };
12+ libraryHaskellDepends = [
13+ attoparsec base bytestring bytestring-conversion errors
14+ http-api-data network-uri text
15+ ];
16+ testHaskellDepends = [
17+ base hspec hspec-attoparsec QuickCheck text
18+ ];
19+ benchmarkHaskellDepends = [
20+ base criterion directory network-uri text transformers
21+ ];
22+ homepage = "https://github.com/myfreeweb/http-link-header";
23+ description = "A parser and writer for the HTTP Link header as specified in RFC 5988 \"Web Linking\"";
24+ license = stdenv.lib.licenses.publicDomain;
25+}
test/golden-test-cases/http-media.cabalnew file+128
@@ -0,0 +1,128 @@
1+name: http-media
2+version: 0.7.1.1
3+license: MIT
4+license-file: LICENSE
5+author: Timothy Jones
6+maintainer: Timothy Jones <tim@zmthy.net>
7+homepage: https://github.com/zmthy/http-media
8+bug-reports: https://github.com/zmthy/http-media/issues
9+copyright: (c) 2012-2017 Timothy Jones
10+category: Web
11+build-type: Simple
12+cabal-version: >= 1.10
13+synopsis: Processing HTTP Content-Type and Accept headers
14+description:
15+ This library is intended to be a comprehensive solution to parsing and
16+ selecting quality-indexed values in HTTP headers. It is capable of
17+ parsing both media types and language parameters from the Accept and
18+ Content header families, and can be extended to match against other
19+ accept headers as well. Selecting the appropriate header value is
20+ achieved by comparing a list of server options against the
21+ quality-indexed values supplied by the client.
22+ .
23+ In the following example, the Accept header is parsed and then matched
24+ against a list of server options to serve the appropriate media using
25+ 'mapAcceptMedia':
26+ .
27+ > getHeader >>= maybe send406Error sendResourceWith . mapAcceptMedia
28+ > [ ("text/html", asHtml)
29+ > , ("application/json", asJson)
30+ > ]
31+ .
32+ Similarly, the Content-Type header can be used to produce a parser for
33+ request bodies based on the given content type with 'mapContentMedia':
34+ .
35+ > getContentType >>= maybe send415Error readRequestBodyWith . mapContentMedia
36+ > [ ("application/json", parseJson)
37+ > , ("text/plain", parseText)
38+ > ]
39+ .
40+ The API is agnostic to your choice of server.
41+
42+extra-source-files:
43+ CHANGES.md
44+
45+library
46+ default-language: Haskell2010
47+
48+ ghc-options: -Wall
49+
50+ hs-source-dirs:
51+ src
52+
53+ default-extensions:
54+ OverloadedStrings
55+
56+ other-extensions:
57+ CPP
58+
59+ exposed-modules:
60+ Network.HTTP.Media
61+ Network.HTTP.Media.Accept
62+ Network.HTTP.Media.Language
63+ Network.HTTP.Media.MediaType
64+ Network.HTTP.Media.RenderHeader
65+
66+ other-modules:
67+ Network.HTTP.Media.Language.Internal
68+ Network.HTTP.Media.MediaType.Internal
69+ Network.HTTP.Media.Quality
70+ Network.HTTP.Media.Utils
71+
72+ build-depends:
73+ base >= 4.7 && < 4.11,
74+ bytestring >= 0.10 && < 0.11,
75+ case-insensitive >= 1.0 && < 1.3,
76+ containers >= 0.5 && < 0.6,
77+ utf8-string >= 0.3 && < 1.1
78+
79+test-suite test-http-media
80+ type: exitcode-stdio-1.0
81+ main-is: Test.hs
82+
83+ default-language: Haskell2010
84+
85+ ghc-options: -Wall
86+
87+ hs-source-dirs:
88+ src
89+ test
90+
91+ default-extensions:
92+ OverloadedStrings
93+
94+ other-extensions:
95+ CPP
96+ TupleSections
97+
98+ other-modules:
99+ Network.HTTP.Media
100+ Network.HTTP.Media.Accept
101+ Network.HTTP.Media.Accept.Tests
102+ Network.HTTP.Media.Gen
103+ Network.HTTP.Media.Language
104+ Network.HTTP.Media.Language.Gen
105+ Network.HTTP.Media.Language.Internal
106+ Network.HTTP.Media.Language.Tests
107+ Network.HTTP.Media.MediaType
108+ Network.HTTP.Media.MediaType.Gen
109+ Network.HTTP.Media.MediaType.Internal
110+ Network.HTTP.Media.MediaType.Tests
111+ Network.HTTP.Media.Quality
112+ Network.HTTP.Media.RenderHeader
113+ Network.HTTP.Media.Tests
114+ Network.HTTP.Media.Utils
115+
116+ build-depends:
117+ base >= 4.7 && < 4.11,
118+ bytestring >= 0.10 && < 0.11,
119+ case-insensitive >= 1.0 && < 1.3,
120+ containers >= 0.5 && < 0.6,
121+ utf8-string >= 0.3 && < 1.1,
122+ QuickCheck >= 2.6 && < 2.11,
123+ test-framework >= 0.8 && < 0.9,
124+ test-framework-quickcheck2 >= 0.3 && < 0.4
125+
126+source-repository head
127+ type: git
128+ location: https://github.com/zmthy/http-media
test/golden-test-cases/http-media.nix.goldennew file+22
@@ -0,0 +1,22 @@
1+{ mkDerivation, base, bytestring, case-insensitive, containers
2+, fetchurl, QuickCheck, test-framework, test-framework-quickcheck2
3+, utf8-string
4+}:
5+mkDerivation {
6+ pname = "http-media";
7+ version = "0.7.1.1";
8+ src = fetchurl {
9+ url = "http://example.org/";
10+ sha256 = "abc";
11+ };
12+ libraryHaskellDepends = [
13+ base bytestring case-insensitive containers utf8-string
14+ ];
15+ testHaskellDepends = [
16+ base bytestring case-insensitive containers QuickCheck
17+ test-framework test-framework-quickcheck2 utf8-string
18+ ];
19+ homepage = "https://github.com/zmthy/http-media";
20+ description = "Processing HTTP Content-Type and Accept headers";
21+ license = stdenv.lib.licenses.mit;
22+}
test/golden-test-cases/hxt-charproperties.cabalnew file+46
@@ -0,0 +1,46 @@
1+Name: hxt-charproperties
2+Version: 9.2.0.1
3+Synopsis: Character properties and classes for XML and Unicode
4+Description: Character proprties defined by XML and Unicode standards.
5+ These modules contain predicates for Unicode blocks and char proprties
6+ and character predicates defined by XML.
7+ Supported Unicode version is 7.0.0
8+Homepage: https://github.com/UweSchmidt/hxt
9+License: MIT
10+License-file: LICENSE
11+Author: Uwe Schmidt
12+Maintainer: Uwe Schmidt <uwe@fh-wedel.de>
13+Copyright: Copyright (c) 2010-2014 Uwe Schmidt
14+Stability: Stable
15+Category: Text
16+Build-type: Simple
17+
18+Cabal-version: >=1.6
19+
20+Extra-source-files:
21+ gen/Makefile
22+ gen/Blocks.txt
23+ gen/UnicodeData.txt
24+ gen/GenBlocks.hs
25+ gen/GenCharProps.hs
26+
27+Library
28+ Exposed-modules:
29+ Data.Char.Properties.UnicodeBlocks
30+ Data.Char.Properties.UnicodeCharProps
31+ Data.Char.Properties.XMLCharProps
32+ Data.Set.CharSet
33+
34+ Build-depends: base >= 4 && < 5
35+
36+ -- Modules not exported by this package.
37+ -- Other-modules:
38+
39+ hs-source-dirs: src
40+
41+ ghc-options: -Wall
42+ ghc-prof-options: -caf-all
43+
44+Source-Repository head
45+ Type: git
46+ Location: git://github.com/UweSchmidt/hxt.git
test/golden-test-cases/hxt-charproperties.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, fetchurl }:
2+mkDerivation {
3+ pname = "hxt-charproperties";
4+ version = "9.2.0.1";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base ];
10+ homepage = "https://github.com/UweSchmidt/hxt";
11+ description = "Character properties and classes for XML and Unicode";
12+ license = stdenv.lib.licenses.mit;
13+}
test/golden-test-cases/hxt-expat.cabalnew file+36
@@ -0,0 +1,36 @@
1+Name: hxt-expat
2+Version: 9.1.1
3+Synopsis: Expat parser for HXT
4+Description: The Expat interface for the HXT.
5+License: OtherLicense
6+License-file: LICENSE
7+Author: Uwe Schmidt
8+Maintainer: Uwe Schmidt <uwe@fh-wedel.de>
9+Stability: Experimental
10+Category: XML
11+Homepage: http://www.fh-wedel.de/~si/HXmlToolbox/index.html
12+Copyright: Copyright (c) 2010 Uwe Schmidt
13+Build-type: Simple
14+Cabal-version: >=1.6
15+
16+extra-source-files:
17+ examples/hparser/HXmlParser.hs
18+
19+library
20+ exposed-modules:
21+ Text.XML.HXT.Expat
22+
23+ other-modules:
24+ Text.XML.HXT.Arrow.ExpatInterface
25+
26+ hs-source-dirs: src
27+
28+ ghc-options: -Wall
29+ ghc-prof-options: -auto-all -caf-all
30+
31+ extensions: MultiParamTypeClasses DeriveDataTypeable FunctionalDependencies FlexibleInstances
32+
33+ build-depends: base >= 4 && < 5,
34+ bytestring >= 0.9 && < 1,
35+ hexpat >= 0.19.3 && < 1,
36+ hxt >= 9.1 && < 10
test/golden-test-cases/hxt-expat.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, bytestring, fetchurl, hexpat, hxt }:
2+mkDerivation {
3+ pname = "hxt-expat";
4+ version = "9.1.1";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base bytestring hexpat hxt ];
10+ homepage = "http://www.fh-wedel.de/~si/HXmlToolbox/index.html";
11+ description = "Expat parser for HXT";
12+ license = "unknown";
13+}
test/golden-test-cases/hxt-tagsoup.cabalnew file+42
@@ -0,0 +1,42 @@
1+-- arch-tag: Haskell XML Toolbox main description file
2+Name: hxt-tagsoup
3+Version: 9.1.4
4+Synopsis: TagSoup parser for HXT
5+Description: The Tagsoup interface for the HXT lazy HTML parser.
6+License: OtherLicense
7+License-file: LICENSE
8+Author: Uwe Schmidt
9+Maintainer: Uwe Schmidt <uwe@fh-wedel.de>
10+Stability: Stable
11+Category: XML
12+Homepage: https://github.com/UweSchmidt/hxt
13+Copyright: Copyright (c) 2016 Uwe Schmidt
14+Build-type: Simple
15+Cabal-version: >=1.6
16+
17+extra-source-files:
18+ examples/hparser/HXmlParser.hs
19+
20+library
21+ exposed-modules:
22+ Text.XML.HXT.TagSoup
23+
24+ other-modules:
25+ Text.XML.HXT.Arrow.TagSoupInterface,
26+ Text.XML.HXT.Parser.TagSoup
27+
28+ hs-source-dirs: src
29+
30+ ghc-options: -Wall
31+ ghc-prof-options: -caf-all
32+
33+ extensions: MultiParamTypeClasses DeriveDataTypeable FunctionalDependencies FlexibleInstances CPP
34+
35+ build-depends: base >= 4 && < 5,
36+ tagsoup >= 0.13,
37+ hxt-charproperties >= 9,
38+ hxt-unicode >= 9,
39+ hxt >= 9.1
40+Source-Repository head
41+ Type: git
42+ Location: git://github.com/UweSchmidt/hxt.git
test/golden-test-cases/hxt-tagsoup.nix.goldennew file+17
@@ -0,0 +1,17 @@
1+{ mkDerivation, base, fetchurl, hxt, hxt-charproperties
2+, hxt-unicode, tagsoup
3+}:
4+mkDerivation {
5+ pname = "hxt-tagsoup";
6+ version = "9.1.4";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [
12+ base hxt hxt-charproperties hxt-unicode tagsoup
13+ ];
14+ homepage = "https://github.com/UweSchmidt/hxt";
15+ description = "TagSoup parser for HXT";
16+ license = "unknown";
17+}
test/golden-test-cases/iconv.cabalnew file+34
@@ -0,0 +1,34 @@
1+name: iconv
2+version: 0.4.1.3
3+copyright: (c) 2006-20015 Duncan Coutts
4+license: BSD3
5+license-file: LICENSE
6+author: Duncan Coutts <duncan@community.haskell.org>
7+maintainer: Duncan Coutts <duncan@community.haskell.org>
8+category: Text
9+synopsis: String encoding conversion
10+description: Provides an interface to the POSIX iconv library functions
11+ for string encoding conversion.
12+build-type: Simple
13+cabal-version: >= 1.6
14+extra-source-files: changelog.md README.md examples/hiconv.hs cbits/hsiconv.h
15+
16+source-repository head
17+ type: darcs
18+ location: http://code.haskell.org/iconv/
19+
20+library
21+ exposed-modules: Codec.Text.IConv
22+ other-modules: Codec.Text.IConv.Internal
23+ build-depends: base >= 3 && < 5,
24+ bytestring == 0.9.* || ==0.10.*
25+ extensions: ForeignFunctionInterface
26+ includes: hsiconv.h
27+ include-dirs: cbits
28+ c-sources: cbits/hsiconv.c
29+ if os(darwin) || os(freebsd)
30+ -- on many systems the iconv api is part of the standard C library
31+ -- but on some others we have to link to an external libiconv:
32+ extra-libraries: iconv
33+
34+ ghc-options: -Wall
test/golden-test-cases/iconv.nix.goldennew file+12
@@ -0,0 +1,12 @@
1+{ mkDerivation, base, bytestring, fetchurl }:
2+mkDerivation {
3+ pname = "iconv";
4+ version = "0.4.1.3";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base bytestring ];
10+ description = "String encoding conversion";
11+ license = stdenv.lib.licenses.bsd3;
12+}
test/golden-test-cases/incremental-parser.cabalnew file+55
@@ -0,0 +1,55 @@
1+Name: incremental-parser
2+Version: 0.2.5.2
3+Cabal-Version: >= 1.10
4+Build-Type: Simple
5+Synopsis: Generic parser library capable of providing partial results from partial input.
6+Category: Parsing
7+Tested-With: GHC
8+Description:
9+
10+ This package defines yet another parser combinator library. This one is implemented using the concept of Brzozowski
11+ derivatives, tweaked and optimized to work with any monoidal input type. Lists, ByteString, and Text are supported out
12+ of the box, as well as any other data type for which the monoid-subclasses package defines instances. If the parser
13+ result is also a monoid, its chunks can be extracted incrementally, before the complete input is parsed.
14+
15+License: GPL
16+License-file: LICENSE.txt
17+Copyright: (c) 2011-2017 Mario Blazevic
18+Author: Mario Blazevic
19+Maintainer: blamario@yahoo.com
20+Homepage: https://github.com/blamario/incremental-parser
21+Extra-Source-Files: Benchmarks/airports.dat, README.md
22+
23+Source-repository head
24+ type: git
25+ location: https://github.com/blamario/incremental-parser
26+
27+Library
28+ Exposed-Modules: Text.ParserCombinators.Incremental,
29+ Text.ParserCombinators.Incremental.LeftBiasedLocal, Text.ParserCombinators.Incremental.Symmetric,
30+ Control.Applicative.Monoid
31+ Build-Depends: base < 5, monoid-subclasses < 0.5
32+ if impl(ghc >= 7.0.0)
33+ default-language: Haskell2010
34+
35+test-suite Main
36+ Type: exitcode-stdio-1.0
37+ x-uses-tf: true
38+ Default-Language: Haskell2010
39+ Build-Depends: base < 5, monoid-subclasses < 0.5,
40+ QuickCheck >= 2 && < 3, checkers >= 0.3.2 && < 0.5,
41+ tasty >= 0.7 && < 0.13, tasty-quickcheck >= 0.7 && < 1.0
42+ Main-is: Test/TestIncrementalParser.hs
43+ Other-Modules: Text.ParserCombinators.Incremental,
44+ Text.ParserCombinators.Incremental.LeftBiasedLocal, Text.ParserCombinators.Incremental.Symmetric,
45+ Control.Applicative.Monoid
46+ default-language: Haskell2010
47+
48+benchmark CSV
49+ type: exitcode-stdio-1.0
50+ Default-Language: Haskell2010
51+ hs-source-dirs: Benchmarks
52+ ghc-options: -O2 -Wall -rtsopts
53+ main-is: CSV.hs
54+ Build-Depends: base < 5, monoid-subclasses < 0.5, incremental-parser,
55+ bytestring >= 0.10.4.0, criterion >= 1.0, deepseq >= 1.1, text >= 1.1.1.0
test/golden-test-cases/incremental-parser.nix.goldennew file+22
@@ -0,0 +1,22 @@
1+{ mkDerivation, base, bytestring, checkers, criterion, deepseq
2+, fetchurl, monoid-subclasses, QuickCheck, tasty, tasty-quickcheck
3+, text
4+}:
5+mkDerivation {
6+ pname = "incremental-parser";
7+ version = "0.2.5.2";
8+ src = fetchurl {
9+ url = "http://example.org/";
10+ sha256 = "abc";
11+ };
12+ libraryHaskellDepends = [ base monoid-subclasses ];
13+ testHaskellDepends = [
14+ base checkers monoid-subclasses QuickCheck tasty tasty-quickcheck
15+ ];
16+ benchmarkHaskellDepends = [
17+ base bytestring criterion deepseq monoid-subclasses text
18+ ];
19+ homepage = "https://github.com/blamario/incremental-parser";
20+ description = "Generic parser library capable of providing partial results from partial input";
21+ license = "GPL";
22+}
test/golden-test-cases/indentation-core.cabalnew file+39
@@ -0,0 +1,39 @@
1+name: indentation-core
2+version: 0.0.0.1
3+synopsis: Indentation sensitive parsing combinators core library
4+description: Indentation sensitive parsing combinators core library
5+ .
6+ This is the core for the indentation package.
7+ For common use, consider one of the front-ends:
8+ indentation-parsec or indentation-trifecta. For
9+ both, or for backward compatability, install
10+ indentation.
11+
12+license: BSD3
13+license-file: LICENSE
14+author: Michael D. Adams <http://michaeldadams.org/>
15+maintainer: Ömer Sinan Ağacan <omeragacan@gmail.com>
16+ Aleksey Kliger <aleksey@lambdageek.org>
17+category: Parsing
18+build-type: Simple
19+cabal-version: >=1.10
20+extra-source-files: CHANGELOG.md
21+
22+homepage: https://bitbucket.org/adamsmd/indentation
23+bug-reports: https://bitbucket.org/adamsmd/indentation/issues
24+tested-with: GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.1, GHC == 8.2.1
25+
26+source-repository head
27+ type: git
28+ location: https://bitbucket.org/adamsmd/indentation.git
29+
30+library
31+ hs-source-dirs: src
32+ exposed-modules: Text.Parser.Indentation.Implementation
33+ build-depends: base >=4.6 && <4.12,
34+ mtl >=2.1
35+
36+ default-language: Haskell2010
37+
38+ ghc-options: -Wall
39+
test/golden-test-cases/indentation-core.nix.goldennew file+13
@@ -0,0 +1,13 @@
1+{ mkDerivation, base, fetchurl, mtl }:
2+mkDerivation {
3+ pname = "indentation-core";
4+ version = "0.0.0.1";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base mtl ];
10+ homepage = "https://bitbucket.org/adamsmd/indentation";
11+ description = "Indentation sensitive parsing combinators core library";
12+ license = stdenv.lib.licenses.bsd3;
13+}
test/golden-test-cases/indentation-parsec.cabalnew file+70
@@ -0,0 +1,70 @@
1+name: indentation-parsec
2+version: 0.0.0.1
3+synopsis: Indentation sensitive parsing combinators for Parsec
4+description: Indentation sensitive parsing combinators for Parsec
5+ .
6+ See
7+ .
8+ __Michael D. Adams and Ömer S. Ağacan__.
9+ Indentation-sensitive parsing for Parsec.
10+ In /Proceedings of the 2014 ACM SIGPLAN Symposium on Haskell/,
11+ Haskell ’14, pages 121–132.
12+ ACM, New York, NY, USA, September 2014. ISBN 978-1-4503-3041-1.
13+ <http://dx.doi.org/10.1145/2633357.2633369 doi:10.1145/2633357.2633369>.
14+ .
15+ This package provides indentation combinators for
16+ Parsec. For Trifecta, install
17+ indentation-trifecta. For backward compatability
18+ or to install both, install indentation.
19+
20+
21+license: BSD3
22+license-file: LICENSE
23+author: Michael D. Adams <http://michaeldadams.org/>
24+maintainer: Ömer Sinan Ağacan <omeragacan@gmail.com>
25+ Aleksey Kliger <aleksey@lambdageek.org>
26+category: Parsing
27+build-type: Simple
28+cabal-version: >=1.10
29+extra-source-files: CHANGELOG.md
30+ src/Text/Parsec/Indentation/Examples/*.hs
31+
32+homepage: https://bitbucket.org/adamsmd/indentation
33+bug-reports: https://bitbucket.org/adamsmd/indentation/issues
34+tested-with: GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.1, GHC == 8.2.1
35+
36+source-repository head
37+ type: git
38+ location: https://bitbucket.org/adamsmd/indentation.git
39+
40+library
41+ hs-source-dirs: src
42+ build-depends: base >=4.6 && <4.12,
43+ mtl >=2.1,
44+ indentation-core == 0.0.0.1,
45+ parsec >=3.1.5
46+ exposed-modules: Text.Parsec.Indentation
47+ , Text.Parsec.Indentation.Char
48+ , Text.Parsec.Indentation.Token
49+
50+ default-language: Haskell2010
51+
52+ ghc-options: -Wall
53+
54+test-suite test-indentation
55+ default-language:
56+ Haskell2010
57+ type:
58+ exitcode-stdio-1.0
59+ hs-source-dirs:
60+ tests
61+ main-is: all-tests.hs
62+ build-depends:
63+ parsec
64+ other-modules:
65+ ParensParsec
66+ build-depends:
67+ base >= 4 && < 5
68+ , tasty >= 0.10
69+ , tasty-hunit >= 0.9
70+ , indentation-parsec
test/golden-test-cases/indentation-parsec.nix.goldennew file+16
@@ -0,0 +1,16 @@
1+{ mkDerivation, base, fetchurl, indentation-core, mtl, parsec
2+, tasty, tasty-hunit
3+}:
4+mkDerivation {
5+ pname = "indentation-parsec";
6+ version = "0.0.0.1";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [ base indentation-core mtl parsec ];
12+ testHaskellDepends = [ base parsec tasty tasty-hunit ];
13+ homepage = "https://bitbucket.org/adamsmd/indentation";
14+ description = "Indentation sensitive parsing combinators for Parsec";
15+ license = stdenv.lib.licenses.bsd3;
16+}
test/golden-test-cases/inline-c-cpp.cabalnew file+41
@@ -0,0 +1,41 @@
1+name: inline-c-cpp
2+version: 0.2.1.0
3+synopsis: Lets you embed C++ code into Haskell.
4+description: Utilities to inline C++ code into Haskell using inline-c. See
5+ tests for example on how to build.
6+license: MIT
7+license-file: LICENSE
8+author: Francesco Mazzoli
9+maintainer: francesco@fpcomplete.com
10+copyright: (c) 2015-2016 FP Complete Corporation, (c) 2017 Francesco Mazzoli
11+category: FFI
12+tested-with: GHC == 8.2.1
13+build-type: Simple
14+cabal-version: >=1.10
15+
16+source-repository head
17+ type: git
18+ location: https://github.com/fpco/inline-c
19+
20+library
21+ exposed-modules: Language.C.Inline.Cpp
22+ Language.C.Inline.Cpp.Exceptions
23+ ghc-options: -Wall
24+ build-depends: base >=4.7 && <5
25+ , inline-c >= 0.6.0.0
26+ , template-haskell
27+ , safe-exceptions
28+ hs-source-dirs: src
29+ default-language: Haskell2010
30+
31+test-suite tests
32+ type: exitcode-stdio-1.0
33+ hs-source-dirs: test
34+ main-is: tests.hs
35+ build-depends: base >=4 && <5
36+ , inline-c
37+ , inline-c-cpp
38+ , safe-exceptions
39+ , hspec
40+ default-language: Haskell2010
41+ extra-libraries: stdc++
test/golden-test-cases/inline-c-cpp.nix.goldennew file+17
@@ -0,0 +1,17 @@
1+{ mkDerivation, base, fetchurl, hspec, inline-c, safe-exceptions
2+, template-haskell
3+}:
4+mkDerivation {
5+ pname = "inline-c-cpp";
6+ version = "0.2.1.0";
7+ src = fetchurl {
8+ url = "http://example.org/";
9+ sha256 = "abc";
10+ };
11+ libraryHaskellDepends = [
12+ base inline-c safe-exceptions template-haskell
13+ ];
14+ testHaskellDepends = [ base hspec inline-c safe-exceptions ];
15+ description = "Lets you embed C++ code into Haskell";
16+ license = stdenv.lib.licenses.mit;
17+}
test/golden-test-cases/integer-logarithms.cabalnew file+111
@@ -0,0 +1,111 @@
1+name: integer-logarithms
2+version: 1.0.2
3+cabal-version: >= 1.10
4+author: Daniel Fischer
5+copyright: (c) 2011 Daniel Fischer
6+license: MIT
7+license-file: LICENSE
8+maintainer: Oleg Grenrus <oleg.grenrus@iki.fi>
9+build-type: Simple
10+stability: Provisional
11+homepage: https://github.com/phadej/integer-logarithms
12+bug-reports: https://github.com/phadej/integer-logarithms/issues
13+
14+synopsis: Integer logarithms.
15+description:
16+ "Math.NumberTheory.Logarithms" and "Math.NumberTheory.Powers.Integer"
17+ from the arithmoi package.
18+ .
19+ Also provides "GHC.Integer.Logarithms.Compat" and
20+ "Math.NumberTheory.Power.Natural" modules, as well as some
21+ additional functions in migrated modules.
22+
23+category: Math, Algorithms, Number Theory
24+
25+tested-with :
26+ GHC==7.0.4,
27+ GHC==7.2.2,
28+ GHC==7.4.2,
29+ GHC==7.6.3,
30+ GHC==7.8.4,
31+ GHC==7.10.3,
32+ GHC==8.0.2,
33+ GHC==8.2.1
34+
35+extra-source-files : readme.md changelog.md
36+
37+flag integer-gmp
38+ description: integer-gmp or integer-simple
39+ default: True
40+ manual: False
41+
42+flag check-bounds
43+ description: Replace unsafe array operations with safe ones
44+ default: False
45+ manual: True
46+
47+library
48+ default-language: Haskell2010
49+ hs-source-dirs: src
50+ build-depends:
51+ base >= 4.3 && < 4.11,
52+ array >= 0.3 && < 0.6,
53+ ghc-prim < 0.6
54+ if impl(ghc >= 7.10)
55+ cpp-options: -DBase48
56+ else
57+ build-depends: nats >= 1.1 && <1.2
58+
59+ if flag(integer-gmp)
60+ build-depends:
61+ integer-gmp < 1.1
62+ else
63+ build-depends:
64+ integer-simple
65+
66+ exposed-modules:
67+ Math.NumberTheory.Logarithms
68+ Math.NumberTheory.Powers.Integer
69+ Math.NumberTheory.Powers.Natural
70+ GHC.Integer.Logarithms.Compat
71+ other-extensions:
72+ BangPatterns
73+ CPP
74+ MagicHash
75+
76+ ghc-options: -O2 -Wall
77+ if flag(check-bounds)
78+ cpp-options: -DCheckBounds
79+
80+source-repository head
81+ type: git
82+ location: https://github.com/phadej/integer-logarithms
83+
84+test-suite spec
85+ type: exitcode-stdio-1.0
86+ hs-source-dirs: test-suite
87+ ghc-options: -Wall
88+ main-is: Test.hs
89+ default-language: Haskell2010
90+ other-extensions:
91+ StandaloneDeriving
92+ FlexibleContexts
93+ FlexibleInstances
94+ GeneralizedNewtypeDeriving
95+ MultiParamTypeClasses
96+ build-depends:
97+ base,
98+ integer-logarithms,
99+ tasty >= 0.10 && < 0.12,
100+ tasty-smallcheck >= 0.8 && < 0.9,
101+ tasty-quickcheck >= 0.8 && < 0.10,
102+ tasty-hunit >= 0.9 && < 0.10,
103+ QuickCheck >= 2.10 && < 2.11,
104+ smallcheck >= 1.1 && < 1.2
105+ if !impl(ghc >= 7.10)
106+ build-depends: nats >= 1.1 && <1.2
107+
108+ other-modules:
109+ Math.NumberTheory.LogarithmsTests
110+ Math.NumberTheory.TestUtils
111+ Orphans
test/golden-test-cases/integer-logarithms.nix.goldennew file+20
@@ -0,0 +1,20 @@
1+{ mkDerivation, array, base, fetchurl, ghc-prim, integer-gmp
2+, QuickCheck, smallcheck, tasty, tasty-hunit, tasty-quickcheck
3+, tasty-smallcheck
4+}:
5+mkDerivation {
6+ pname = "integer-logarithms";
7+ version = "1.0.2";
8+ src = fetchurl {
9+ url = "http://example.org/";
10+ sha256 = "abc";
11+ };
12+ libraryHaskellDepends = [ array base ghc-prim integer-gmp ];
13+ testHaskellDepends = [
14+ base QuickCheck smallcheck tasty tasty-hunit tasty-quickcheck
15+ tasty-smallcheck
16+ ];
17+ homepage = "https://github.com/phadej/integer-logarithms";
18+ description = "Integer logarithms";
19+ license = stdenv.lib.licenses.mit;
20+}
test/golden-test-cases/intero.cabalnew file+116
@@ -0,0 +1,116 @@
1+name:
2+ intero
3+version:
4+ 0.1.24
5+synopsis:
6+ Complete interactive development program for Haskell
7+license:
8+ BSD3
9+homepage:
10+ https://github.com/commercialhaskell/intero
11+license-file:
12+ LICENSE
13+author:
14+ Chris Done, The University of Glasgow
15+maintainer:
16+ chrisdone@fpcomplete.com
17+copyright:
18+ 2016 FP Complete,
19+ 2016 Chris Done,
20+ 2012 Kazu Yamamoto,
21+ 2008 Claus Reinke,
22+ 2005 The University of Glasgow
23+category:
24+ Development
25+build-type:
26+ Simple
27+cabal-version:
28+ >= 1.14
29+stability:
30+ Stable
31+extra-source-files:
32+ cbits/HsVersions.h
33+ cbits/PosixSource.h
34+ CHANGELOG
35+ README.md
36+data-files:
37+ elisp/*.el
38+source-repository head
39+ type:
40+ git
41+ location:
42+ git://github.com/commercialhaskell/intero.git
43+
44+executable intero
45+ default-language:
46+ Haskell2010
47+ main-is:
48+ Main.hs
49+ ghc-options:
50+ -Wall -O2 -threaded -rtsopts
51+ include-dirs:
52+ cbits/
53+ hs-source-dirs:
54+ src/
55+ c-sources:
56+ cbits/hschooks.c
57+ cpp-options:
58+ -DGHCI
59+ cc-options:
60+ -fPIC
61+ other-modules:
62+ InteractiveUI
63+ GhciMonad
64+ GhciTags
65+ GhciTypes
66+ GhciInfo
67+ GhciFind
68+ Paths_intero
69+ build-depends:
70+ base < 5,
71+ array,
72+ bytestring,
73+ directory,
74+ filepath,
75+ -- We permit any 8.0.1.* or 8.0.2.* or 8.2.1
76+ ghc >= 7.8 && <= 8.2.2,
77+ ghc-paths,
78+ haskeline,
79+ process,
80+ transformers,
81+ syb,
82+ containers,
83+ time
84+
85+ if impl(ghc>=8.0.1)
86+ build-depends:
87+ ghci,
88+ ghc-boot-th
89+
90+ if os(windows)
91+ build-depends:
92+ Win32
93+ else
94+ build-depends:
95+ unix
96+ ghc-options:
97+ -dynamic
98+
99+test-suite intero-test
100+ default-language:
101+ Haskell2010
102+ type:
103+ exitcode-stdio-1.0
104+ hs-source-dirs:
105+ src/test
106+ main-is:
107+ Main.hs
108+ build-depends:
109+ base,
110+ hspec,
111+ temporary,
112+ process,
113+ transformers,
114+ directory,
115+ regex-compat,
116+ filepath
test/golden-test-cases/intero.nix.goldennew file+27
@@ -0,0 +1,27 @@
1+{ mkDerivation, array, base, bytestring, containers, directory
2+, fetchurl, filepath, ghc, ghc-boot-th, ghc-paths, ghci, haskeline
3+, hspec, process, regex-compat, syb, temporary, time, transformers
4+, unix
5+}:
6+mkDerivation {
7+ pname = "intero";
8+ version = "0.1.24";
9+ src = fetchurl {
10+ url = "http://example.org/";
11+ sha256 = "abc";
12+ };
13+ isLibrary = false;
14+ isExecutable = true;
15+ enableSeparateDataOutput = true;
16+ executableHaskellDepends = [
17+ array base bytestring containers directory filepath ghc ghc-boot-th
18+ ghc-paths ghci haskeline process syb time transformers unix
19+ ];
20+ testHaskellDepends = [
21+ base directory filepath hspec process regex-compat temporary
22+ transformers
23+ ];
24+ homepage = "https://github.com/commercialhaskell/intero";
25+ description = "Complete interactive development program for Haskell";
26+ license = stdenv.lib.licenses.bsd3;
27+}
test/golden-test-cases/invariant.cabalnew file+69
@@ -0,0 +1,69 @@
1+name: invariant
2+version: 0.5
3+synopsis: Haskell98 invariant functors
4+description: Haskell98 invariant functors (also known as exponential functors).
5+ .
6+ For more information, see Edward Kmett's article \"Rotten Bananas\":
7+ .
8+ <http://comonad.com/reader/2008/rotten-bananas/>
9+category: Control, Data
10+license: BSD2
11+license-file: LICENSE
12+homepage: https://github.com/nfrisby/invariant-functors
13+bug-reports: https://github.com/nfrisby/invariant-functors/issues
14+author: Nicolas Frisby <nicolas.frisby@gmail.com>
15+maintainer: Nicolas Frisby <nicolas.frisby@gmail.com>,
16+ Ryan Scott <ryan.gl.scott@gmail.com>
17+build-type: Simple
18+cabal-version: >= 1.9.2
19+tested-with: GHC == 7.0.4
20+ , GHC == 7.2.2
21+ , GHC == 7.4.2
22+ , GHC == 7.6.3
23+ , GHC == 7.8.4
24+ , GHC == 7.10.3
25+ , GHC == 8.0.2
26+ , GHC == 8.2.2
27+extra-source-files: CHANGELOG.md, README.md
28+
29+source-repository head
30+ type: git
31+ location: https://github.com/nfrisby/invariant-functors
32+
33+library
34+ exposed-modules: Data.Functor.Invariant
35+ , Data.Functor.Invariant.TH
36+ other-modules: Data.Functor.Invariant.TH.Internal
37+ , Paths_invariant
38+ hs-source-dirs: src
39+ build-depends: array >= 0.3 && < 0.6
40+ , base >= 4 && < 5
41+ , bifunctors >= 5.2 && < 6
42+ , comonad >= 5 && < 6
43+ , containers >= 0.1 && < 0.6
44+ , contravariant >= 0.5 && < 2
45+ , ghc-prim
46+ , profunctors >= 5.2.1 && < 6
47+ , semigroups >= 0.16.2 && < 1
48+ , StateVar >= 1.1 && < 2
49+ , stm >= 2.2 && < 3
50+ , tagged >= 0.7.3 && < 1
51+ , template-haskell >= 2.4 && < 2.13
52+ , th-abstraction >= 0.2.2 && < 1
53+ , transformers >= 0.2 && < 0.6
54+ , transformers-compat >= 0.3 && < 1
55+ , unordered-containers >= 0.2.4 && < 0.3
56+ ghc-options: -Wall
57+
58+test-suite spec
59+ type: exitcode-stdio-1.0
60+ hs-source-dirs: test
61+ main-is: Spec.hs
62+ other-modules: InvariantSpec
63+ THSpec
64+ build-depends: base >= 4 && < 5
65+ , hspec >= 1.8
66+ , invariant
67+ , QuickCheck >= 2 && < 3
68+ , template-haskell >= 2.4 && < 2.13
69+ ghc-options: -Wall
test/golden-test-cases/invariant.nix.goldennew file+24
@@ -0,0 +1,24 @@
1+{ mkDerivation, array, base, bifunctors, comonad, containers
2+, contravariant, fetchurl, ghc-prim, hspec, profunctors, QuickCheck
3+, semigroups, StateVar, stm, tagged, template-haskell
4+, th-abstraction, transformers, transformers-compat
5+, unordered-containers
6+}:
7+mkDerivation {
8+ pname = "invariant";
9+ version = "0.5";
10+ src = fetchurl {
11+ url = "http://example.org/";
12+ sha256 = "abc";
13+ };
14+ libraryHaskellDepends = [
15+ array base bifunctors comonad containers contravariant ghc-prim
16+ profunctors semigroups StateVar stm tagged template-haskell
17+ th-abstraction transformers transformers-compat
18+ unordered-containers
19+ ];
20+ testHaskellDepends = [ base hspec QuickCheck template-haskell ];
21+ homepage = "https://github.com/nfrisby/invariant-functors";
22+ description = "Haskell98 invariant functors";
23+ license = stdenv.lib.licenses.bsd2;
24+}
test/golden-test-cases/io-machine.cabalnew file+34
@@ -0,0 +1,34 @@
1+name: io-machine
2+version: 0.2.0.0
3+synopsis: Easy I/O model to learn IO monad
4+description: Please see README.md
5+homepage: https://github.com/YoshikuniJujo/io-machine#readme
6+license: BSD3
7+license-file: LICENSE
8+author: Yoshikuni Jujo
9+maintainer: PAF01143@nifty.ne.jp
10+copyright: Copyright (C) 2016 Yoshikuni Jujo All Rights Reserved
11+category: Education
12+build-type: Simple
13+-- extra-source-files:
14+cabal-version: >=1.10
15+
16+library
17+ hs-source-dirs: src
18+ exposed-modules: Machine, IOMcn
19+ build-depends: base >= 4.7 && < 5, time
20+ ghc-options: -fno-warn-tabs
21+ default-language: Haskell2010
22+
23+test-suite io-machine-test
24+ type: exitcode-stdio-1.0
25+ hs-source-dirs: test
26+ main-is: Spec.hs
27+ build-depends: base
28+ , io-machine
29+ ghc-options: -threaded -rtsopts -with-rtsopts=-N -fno-warn-tabs
30+ default-language: Haskell2010
31+
32+source-repository head
33+ type: git
34+ location: https://github.com/YoshikuniJujo/io-machine
test/golden-test-cases/io-machine.nix.goldennew file+14
@@ -0,0 +1,14 @@
1+{ mkDerivation, base, fetchurl, time }:
2+mkDerivation {
3+ pname = "io-machine";
4+ version = "0.2.0.0";
5+ src = fetchurl {
6+ url = "http://example.org/";
7+ sha256 = "abc";
8+ };
9+ libraryHaskellDepends = [ base time ];
10+ testHaskellDepends = [ base ];
11+ homepage = "https://github.com/YoshikuniJujo/io-machine#readme";
12+ description = "Easy I/O model to learn IO monad";
13+ license = stdenv.lib.licenses.bsd3;
14+}
test/golden-test-cases/io-streams-haproxy.cabalnew file+78
@@ -0,0 +1,78 @@
1+name: io-streams-haproxy
2+version: 1.0.0.2
3+synopsis: HAProxy protocol 1.5 support for io-streams
4+
5+description: HAProxy protocol version 1.5 support (see
6+ <http://haproxy.1wt.eu/download/1.5/doc/proxy-protocol.txt>) for applications
7+ using io-streams. The proxy protocol allows information about a networked
8+ peer (like remote address and port) to be propagated through a forwarding
9+ proxy that is configured to speak this protocol.
10+
11+homepage: http://snapframework.com/
12+license: BSD3
13+license-file: LICENSE
14+author: Gregory Collins
15+maintainer: greg@gregorycollins.net
16+copyright: (c) 2014 Google, Inc. and CONTRIBUTORS
17+category: Network, IO-Streams
18+build-type: Simple
19+extra-source-files:
20+ CONTRIBUTORS,
21+ cbits/byteorder.c
22+
23+cabal-version: >=1.10
24+Bug-Reports: https://github.com/snapframework/io-streams-haproxy/issues
25+Tested-With: GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3,
26+ GHC == 8.0.1
27+
28+source-repository head
29+ type: git
30+ location: https://github.com/snapframework/io-streams-haproxy.git
31+
32+library
33+ hs-source-dirs: src
34+ exposed-modules: System.IO.Streams.Network.HAProxy
35+ other-modules: System.IO.Streams.Network.Internal.Address
36+ c-sources: cbits/byteorder.c
37+
38+ build-depends: base >= 4.5 && < 4.11,
39+ attoparsec >= 0.7 && < 0.14,
40+ bytestring >= 0.9 && < 0.11,
41+ io-streams >= 1.3 && < 1.6,
42+ network >= 2.3 && < 2.7,
43+ transformers >= 0.3 && < 0.6
44+ default-language: Haskell2010
45+
46+ ghc-options: -Wall -fwarn-tabs -funbox-strict-fields
47+ -fno-warn-unused-do-bind
48+ if os(windows)
49+ cpp-options: -DWINDOWS
50+ cc-options: -DWINDOWS
51+
52+test-suite testsuite
53+ type: exitcode-stdio-1.0
54+ hs-source-dirs: src test
55+ Main-is: TestSuite.hs
56+ Default-language: Haskell2010
57+ c-sources: cbits/byteorder.c
58+
59+ ghc-options: -Wall -fwarn-tabs -funbox-strict-fields -threaded
60+ -fno-warn-unused-do-bind
61+
62+ Other-modules: System.IO.Streams.Network.HAProxy,
63+ System.IO.Streams.Network.HAProxy.Tests,
64+ System.IO.Streams.Network.Internal.Address
65+
66+ build-depends: base,
67+ attoparsec,
68+ bytestring,
69+ io-streams,
70+ network,
71+ transformers,
72+ ------------------------------
73+ HUnit >= 1.2 && <2,
74+ test-framework >= 0.8.0.3 && <0.9,
75+ test-framework-hunit >= 0.2.7 && <0.4
76+ if os(windows)
77+ cpp-options: -DWINDOWS
78+ cc-options: -DWINDOWS
test/golden-test-cases/io-streams-haproxy.nix.goldennew file+22
@@ -0,0 +1,22 @@
1+{ mkDerivation, attoparsec, base, bytestring, fetchurl, HUnit
2+, io-streams, network, test-framework, test-framework-hunit
3+, transformers
4+}:
5+mkDerivation {
6+ pname = "io-streams-haproxy";
7+ version = "1.0.0.2";
8+ src = fetchurl {
9+ url = "http://example.org/";
10+ sha256 = "abc";
11+ };
12+ libraryHaskellDepends = [
13+ attoparsec base bytestring io-streams network transformers
14+ ];
15+ testHaskellDepends = [
16+ attoparsec base bytestring HUnit io-streams network test-framework
17+ test-framework-hunit transformers
18+ ];
19+ homepage = "http://snapframework.com/";
20+ description = "HAProxy protocol 1.5 support for io-streams";
21+ license = stdenv.lib.licenses.bsd3;
22+}
test/golden-test-cases/ip.cabalnew file+124

This diff is too big to show here.

test/golden-test-cases/ip.nix.goldennew file+27

This diff is too big to show here.

test/golden-test-cases/iso639.cabalnew file+26

This diff is too big to show here.

test/golden-test-cases/iso639.nix.goldennew file+13

This diff is too big to show here.

test/golden-test-cases/iso8601-time.cabalnew file+60

This diff is too big to show here.

test/golden-test-cases/iso8601-time.nix.goldennew file+14

This diff is too big to show here.

test/golden-test-cases/jmacro-rpc-happstack.cabalnew file+29

This diff is too big to show here.

test/golden-test-cases/jmacro-rpc-happstack.nix.goldennew file+18

This diff is too big to show here.

test/golden-test-cases/jmacro-rpc.cabalnew file+26

This diff is too big to show here.

test/golden-test-cases/jmacro-rpc.nix.goldennew file+20

This diff is too big to show here.

test/golden-test-cases/jose.cabalnew file+147

This diff is too big to show here.

test/golden-test-cases/jose.nix.goldennew file+34

This diff is too big to show here.

test/golden-test-cases/katip-elasticsearch.cabalnew file+114

This diff is too big to show here.

test/golden-test-cases/katip-elasticsearch.nix.goldennew file+33

This diff is too big to show here.

test/golden-test-cases/katip.cabalnew file+151

This diff is too big to show here.

test/golden-test-cases/katip.nix.goldennew file+38

This diff is too big to show here.

test/golden-test-cases/katydid.cabalnew file+89

This diff is too big to show here.

test/golden-test-cases/katydid.nix.goldennew file+24

This diff is too big to show here.

test/golden-test-cases/kawhi.cabalnew file+66

This diff is too big to show here.

test/golden-test-cases/kawhi.nix.goldennew file+25

This diff is too big to show here.

test/golden-test-cases/kraken.cabalnew file+41

This diff is too big to show here.

test/golden-test-cases/kraken.nix.goldennew file+16

This diff is too big to show here.

test/golden-test-cases/l10n.cabalnew file+29

This diff is too big to show here.

test/golden-test-cases/l10n.nix.goldennew file+13

This diff is too big to show here.

test/golden-test-cases/lambdabot-social-plugins.cabalnew file+60

This diff is too big to show here.

test/golden-test-cases/lambdabot-social-plugins.nix.goldennew file+17

This diff is too big to show here.

test/golden-test-cases/lazy-csv.cabalnew file+36

This diff is too big to show here.

test/golden-test-cases/lazy-csv.nix.goldennew file+16

This diff is too big to show here.

test/golden-test-cases/lens-aeson.cabalnew file+80

This diff is too big to show here.

test/golden-test-cases/lens-aeson.nix.goldennew file+24

This diff is too big to show here.

test/golden-test-cases/lens.cabalnew file+503

This diff is too big to show here.

test/golden-test-cases/lens.nix.goldennew file+42

This diff is too big to show here.

test/golden-test-cases/libgit.cabalnew file+29

This diff is too big to show here.

test/golden-test-cases/libgit.nix.goldennew file+13

This diff is too big to show here.

test/golden-test-cases/librato.cabalnew file+52

This diff is too big to show here.

test/golden-test-cases/librato.nix.goldennew file+20

This diff is too big to show here.

test/golden-test-cases/lifted-async.cabalnew file+115

This diff is too big to show here.

test/golden-test-cases/lifted-async.nix.goldennew file+23

This diff is too big to show here.

test/golden-test-cases/lmdb.cabalnew file+51

This diff is too big to show here.

test/golden-test-cases/lmdb.nix.goldennew file+14

This diff is too big to show here.

test/golden-test-cases/logging-effect-extra-file.cabalnew file+63

This diff is too big to show here.

test/golden-test-cases/logging-effect-extra-file.nix.goldennew file+20

This diff is too big to show here.

test/golden-test-cases/lucid.cabalnew file+75

This diff is too big to show here.

test/golden-test-cases/lucid.nix.goldennew file+25

This diff is too big to show here.

test/golden-test-cases/mainland-pretty.cabalnew file+40

This diff is too big to show here.

test/golden-test-cases/mainland-pretty.nix.goldennew file+17

This diff is too big to show here.

test/golden-test-cases/matrices.cabalnew file+73

This diff is too big to show here.

test/golden-test-cases/matrices.nix.goldennew file+18

This diff is too big to show here.

test/golden-test-cases/median-stream.cabalnew file+38

This diff is too big to show here.

test/golden-test-cases/median-stream.nix.goldennew file+14

This diff is too big to show here.

test/golden-test-cases/megaparsec.cabalnew file+142

This diff is too big to show here.

test/golden-test-cases/megaparsec.nix.goldennew file+25

This diff is too big to show here.

test/golden-test-cases/mersenne-random.cabalnew file+111

This diff is too big to show here.

test/golden-test-cases/mersenne-random.nix.goldennew file+13

This diff is too big to show here.

test/golden-test-cases/messagepack.cabalnew file+48

This diff is too big to show here.

test/golden-test-cases/messagepack.nix.goldennew file+22

This diff is too big to show here.

test/golden-test-cases/microlens-ghc.cabalnew file+44

This diff is too big to show here.

test/golden-test-cases/microlens-ghc.nix.goldennew file+17

This diff is too big to show here.

test/golden-test-cases/microlens.cabalnew file+71

This diff is too big to show here.

test/golden-test-cases/microlens.nix.goldennew file+13

This diff is too big to show here.

test/golden-test-cases/minio-hs.cabalnew file+245

This diff is too big to show here.

test/golden-test-cases/minio-hs.nix.goldennew file+38

This diff is too big to show here.

test/golden-test-cases/mmorph.cabalnew file+28

This diff is too big to show here.

test/golden-test-cases/mmorph.nix.goldennew file+16

This diff is too big to show here.

test/golden-test-cases/mnist-idx.cabalnew file+83

This diff is too big to show here.

test/golden-test-cases/mnist-idx.nix.goldennew file+16

This diff is too big to show here.

test/golden-test-cases/mole.cabalnew file+98

This diff is too big to show here.

test/golden-test-cases/mole.nix.goldennew file+29

This diff is too big to show here.

test/golden-test-cases/monad-products.cabalnew file+30

This diff is too big to show here.

test/golden-test-cases/monad-products.nix.goldennew file+13

This diff is too big to show here.

test/golden-test-cases/monadcryptorandom.cabalnew file+41

This diff is too big to show here.

test/golden-test-cases/monadcryptorandom.nix.goldennew file+18

This diff is too big to show here.

test/golden-test-cases/monadloc.cabalnew file+43

This diff is too big to show here.

test/golden-test-cases/monadloc.nix.goldennew file+13

This diff is too big to show here.

test/golden-test-cases/mongoDB.cabalnew file+117

This diff is too big to show here.

test/golden-test-cases/mongoDB.nix.goldennew file+32

This diff is too big to show here.

test/golden-test-cases/monoid-extras.cabalnew file+57

This diff is too big to show here.

test/golden-test-cases/monoid-extras.nix.goldennew file+15

This diff is too big to show here.

test/golden-test-cases/mwc-random-monad.cabalnew file+41

This diff is too big to show here.

test/golden-test-cases/mwc-random-monad.nix.goldennew file+16

This diff is too big to show here.

test/golden-test-cases/mwc-random.cabalnew file+88

This diff is too big to show here.

test/golden-test-cases/mwc-random.nix.goldennew file+23

This diff is too big to show here.

test/golden-test-cases/nanospec.cabalnew file+45

This diff is too big to show here.

test/golden-test-cases/nanospec.nix.goldennew file+13

This diff is too big to show here.

test/golden-test-cases/netpbm.cabalnew file+166

This diff is too big to show here.

test/golden-test-cases/netpbm.nix.goldennew file+21

This diff is too big to show here.

test/golden-test-cases/network-protocol-xmpp.cabalnew file+57

This diff is too big to show here.

test/golden-test-cases/network-protocol-xmpp.nix.goldennew file+18

This diff is too big to show here.

test/golden-test-cases/network-transport-tcp.cabalnew file+93

This diff is too big to show here.

test/golden-test-cases/network-transport-tcp.nix.goldennew file+20

This diff is too big to show here.

test/golden-test-cases/nix-paths.cabalnew file+37

This diff is too big to show here.

test/golden-test-cases/nix-paths.nix.goldennew file+14

This diff is too big to show here.

test/golden-test-cases/nvim-hs.cabalnew file+201

This diff is too big to show here.

test/golden-test-cases/nvim-hs.nix.goldennew file+41

This diff is too big to show here.

test/golden-test-cases/once.cabalnew file+30

This diff is too big to show here.

test/golden-test-cases/once.nix.goldennew file+17

This diff is too big to show here.

test/golden-test-cases/one-liner.cabalnew file+50

This diff is too big to show here.

test/golden-test-cases/one-liner.nix.goldennew file+19

This diff is too big to show here.

test/golden-test-cases/online.cabalnew file+85

This diff is too big to show here.

test/golden-test-cases/online.nix.goldennew file+17

This diff is too big to show here.

test/golden-test-cases/openexr-write.cabalnew file+52

This diff is too big to show here.

test/golden-test-cases/openexr-write.nix.goldennew file+20

This diff is too big to show here.

test/golden-test-cases/openpgp-asciiarmor.cabalnew file+62

This diff is too big to show here.

test/golden-test-cases/openpgp-asciiarmor.nix.goldennew file+21

This diff is too big to show here.

test/golden-test-cases/pager.cabalnew file+69

This diff is too big to show here.

test/golden-test-cases/pager.nix.goldennew file+23

This diff is too big to show here.

test/golden-test-cases/partial-isomorphisms.cabalnew file+50

This diff is too big to show here.

test/golden-test-cases/partial-isomorphisms.nix.goldennew file+13

This diff is too big to show here.

test/golden-test-cases/partial-semigroup.cabalnew file+154

This diff is too big to show here.

test/golden-test-cases/partial-semigroup.nix.goldennew file+14

This diff is too big to show here.

test/golden-test-cases/pathtype.cabalnew file+150

This diff is too big to show here.

test/golden-test-cases/pathtype.nix.goldennew file+21

This diff is too big to show here.

test/golden-test-cases/pcap.cabalnew file+39

This diff is too big to show here.

test/golden-test-cases/pcap.nix.goldennew file+13

This diff is too big to show here.

test/golden-test-cases/pdfinfo.cabalnew file+30

This diff is too big to show here.

test/golden-test-cases/pdfinfo.nix.goldennew file+17

This diff is too big to show here.

test/golden-test-cases/pell.cabalnew file+54

This diff is too big to show here.

test/golden-test-cases/pell.nix.goldennew file+19

This diff is too big to show here.

test/golden-test-cases/persistable-types-HDBC-pg.cabalnew file+42

This diff is too big to show here.

test/golden-test-cases/persistable-types-HDBC-pg.nix.goldennew file+18

This diff is too big to show here.

test/golden-test-cases/persistent-mysql-haskell.cabalnew file+66

This diff is too big to show here.

test/golden-test-cases/persistent-mysql-haskell.nix.goldennew file+26

This diff is too big to show here.

test/golden-test-cases/picosat.cabalnew file+72

This diff is too big to show here.

test/golden-test-cases/picosat.nix.goldennew file+16

This diff is too big to show here.

test/golden-test-cases/pinch.cabalnew file+111

This diff is too big to show here.

test/golden-test-cases/pinch.nix.goldennew file+23

This diff is too big to show here.

test/golden-test-cases/pipes-network.cabalnew file+51

This diff is too big to show here.

test/golden-test-cases/pipes-network.nix.goldennew file+18

This diff is too big to show here.

test/golden-test-cases/pipes-safe.cabalnew file+52

This diff is too big to show here.

test/golden-test-cases/pipes-safe.nix.goldennew file+18

This diff is too big to show here.

test/golden-test-cases/pointed.cabalnew file+98

This diff is too big to show here.

test/golden-test-cases/pointed.nix.goldennew file+21

This diff is too big to show here.

test/golden-test-cases/poly-arity.cabalnew file+23

This diff is too big to show here.

test/golden-test-cases/poly-arity.nix.goldennew file+12

This diff is too big to show here.

test/golden-test-cases/polynomials-bernstein.cabalnew file+22

This diff is too big to show here.

test/golden-test-cases/polynomials-bernstein.nix.goldennew file+12

This diff is too big to show here.

test/golden-test-cases/postgresql-simple-url.cabalnew file+43

This diff is too big to show here.

test/golden-test-cases/postgresql-simple-url.nix.goldennew file+20

This diff is too big to show here.

test/golden-test-cases/prelude-safeenum.cabalnew file+59

This diff is too big to show here.

test/golden-test-cases/prelude-safeenum.nix.goldennew file+13

This diff is too big to show here.

test/golden-test-cases/presburger.cabalnew file+32

This diff is too big to show here.

test/golden-test-cases/presburger.nix.goldennew file+14

This diff is too big to show here.

test/golden-test-cases/prettyclass.cabalnew file+15

This diff is too big to show here.

test/golden-test-cases/prettyclass.nix.goldennew file+12

This diff is too big to show here.

test/golden-test-cases/prettyprinter-compat-ansi-wl-pprint.cabalnew file+36

This diff is too big to show here.

test/golden-test-cases/prettyprinter-compat-ansi-wl-pprint.nix.goldennew file+17

This diff is too big to show here.

test/golden-test-cases/prettyprinter-compat-wl-pprint.cabalnew file+35

This diff is too big to show here.

test/golden-test-cases/prettyprinter-compat-wl-pprint.nix.goldennew file+13

This diff is too big to show here.

test/golden-test-cases/primitive.cabalnew file+76

This diff is too big to show here.

test/golden-test-cases/primitive.nix.goldennew file+14

This diff is too big to show here.

test/golden-test-cases/product-profunctors.cabalnew file+53

This diff is too big to show here.

test/golden-test-cases/product-profunctors.nix.goldennew file+18

This diff is too big to show here.

test/golden-test-cases/profiterole.cabalnew file+44

This diff is too big to show here.

test/golden-test-cases/profiterole.nix.goldennew file+20

This diff is too big to show here.

test/golden-test-cases/projectroot.cabalnew file+43

This diff is too big to show here.

test/golden-test-cases/projectroot.nix.goldennew file+14

This diff is too big to show here.

test/golden-test-cases/proto-lens-optparse.cabalnew file+26

This diff is too big to show here.

test/golden-test-cases/proto-lens-optparse.nix.goldennew file+17

This diff is too big to show here.

test/golden-test-cases/proto-lens.cabalnew file+45

This diff is too big to show here.

test/golden-test-cases/proto-lens.nix.goldennew file+19

This diff is too big to show here.

test/golden-test-cases/psqueues.cabalnew file+156

This diff is too big to show here.

test/golden-test-cases/psqueues.nix.goldennew file+25

This diff is too big to show here.

test/golden-test-cases/pusher-http-haskell.cabalnew file+92

This diff is too big to show here.

test/golden-test-cases/pusher-http-haskell.nix.goldennew file+26

This diff is too big to show here.

test/golden-test-cases/quickcheck-arbitrary-adt.cabalnew file+40

This diff is too big to show here.

test/golden-test-cases/quickcheck-arbitrary-adt.nix.goldennew file+18

This diff is too big to show here.

test/golden-test-cases/quickcheck-combinators.cabalnew file+43

This diff is too big to show here.

test/golden-test-cases/quickcheck-combinators.nix.goldennew file+13

This diff is too big to show here.

test/golden-test-cases/rank1dynamic.cabalnew file+43

This diff is too big to show here.

test/golden-test-cases/rank1dynamic.nix.goldennew file+18

This diff is too big to show here.

test/golden-test-cases/rasterific-svg.cabalnew file+74

This diff is too big to show here.

test/golden-test-cases/rasterific-svg.nix.goldennew file+26

This diff is too big to show here.

test/golden-test-cases/ratio-int.cabalnew file+25

This diff is too big to show here.

test/golden-test-cases/ratio-int.nix.goldennew file+13

This diff is too big to show here.

test/golden-test-cases/rawstring-qm.cabalnew file+34

This diff is too big to show here.

test/golden-test-cases/rawstring-qm.nix.goldennew file+14

This diff is too big to show here.

test/golden-test-cases/reactive-banana.cabalnew file+88

This diff is too big to show here.

test/golden-test-cases/reactive-banana.nix.goldennew file+23

This diff is too big to show here.

test/golden-test-cases/readline.cabalnew file+33

This diff is too big to show here.

test/golden-test-cases/readline.nix.goldennew file+13

This diff is too big to show here.

test/golden-test-cases/rebase.cabalnew file+372

This diff is too big to show here.

test/golden-test-cases/rebase.nix.goldennew file+23

This diff is too big to show here.

test/golden-test-cases/reform-blaze.cabalnew file+29

This diff is too big to show here.

test/golden-test-cases/reform-blaze.nix.goldennew file+17

This diff is too big to show here.

test/golden-test-cases/reform-hsp.cabalnew file+28

This diff is too big to show here.

test/golden-test-cases/reform-hsp.nix.goldennew file+13

This diff is too big to show here.

test/golden-test-cases/regex-compat.cabalnew file+36

This diff is too big to show here.

test/golden-test-cases/regex-compat.nix.goldennew file+13

This diff is too big to show here.

test/golden-test-cases/regex-pcre.cabalnew file+68

This diff is too big to show here.

test/golden-test-cases/regex-pcre.nix.goldennew file+18

This diff is too big to show here.

test/golden-test-cases/relational-query.cabalnew file+171

This diff is too big to show here.

test/golden-test-cases/relational-query.nix.goldennew file+24

This diff is too big to show here.

test/golden-test-cases/relational-schemas.cabalnew file+100

This diff is too big to show here.

test/golden-test-cases/relational-schemas.nix.goldennew file+17

This diff is too big to show here.

test/golden-test-cases/repa-io.cabalnew file+40

This diff is too big to show here.

test/golden-test-cases/repa-io.nix.goldennew file+17

This diff is too big to show here.

test/golden-test-cases/repa.cabalnew file+98

This diff is too big to show here.

test/golden-test-cases/repa.nix.goldennew file+17

This diff is too big to show here.

test/golden-test-cases/rosezipper.cabalnew file+16

This diff is too big to show here.

test/golden-test-cases/rosezipper.nix.goldennew file+12

This diff is too big to show here.

test/golden-test-cases/rvar.cabalnew file+59

This diff is too big to show here.

test/golden-test-cases/rvar.nix.goldennew file+17

This diff is too big to show here.

test/golden-test-cases/scalpel-core.cabalnew file+87

This diff is too big to show here.

test/golden-test-cases/scalpel-core.nix.goldennew file+21

This diff is too big to show here.

test/golden-test-cases/sdl2.cabalnew file+452

This diff is too big to show here.

test/golden-test-cases/sdl2.nix.goldennew file+21

This diff is too big to show here.

test/golden-test-cases/selda-sqlite.cabalnew file+38

This diff is too big to show here.

test/golden-test-cases/selda-sqlite.nix.goldennew file+17

This diff is too big to show here.

test/golden-test-cases/selda.cabalnew file+110

This diff is too big to show here.

test/golden-test-cases/selda.nix.goldennew file+18

This diff is too big to show here.

test/golden-test-cases/servant-checked-exceptions.cabalnew file+145

This diff is too big to show here.

test/golden-test-cases/servant-checked-exceptions.nix.goldennew file+32

This diff is too big to show here.

test/golden-test-cases/set-cover.cabalnew file+253

This diff is too big to show here.

test/golden-test-cases/set-cover.nix.goldennew file+19

This diff is too big to show here.

test/golden-test-cases/sets.cabalnew file+85

This diff is too big to show here.

test/golden-test-cases/sets.nix.goldennew file+30

This diff is too big to show here.

test/golden-test-cases/simple-smt.cabalnew file+24

This diff is too big to show here.

test/golden-test-cases/simple-smt.nix.goldennew file+12

This diff is too big to show here.

test/golden-test-cases/slack-web.cabalnew file+97

This diff is too big to show here.

test/golden-test-cases/slack-web.nix.goldennew file+24

This diff is too big to show here.

test/golden-test-cases/slug.cabalnew file+65

This diff is too big to show here.

test/golden-test-cases/slug.nix.goldennew file+21

This diff is too big to show here.

test/golden-test-cases/soxlib.cabalnew file+70

This diff is too big to show here.

test/golden-test-cases/soxlib.nix.goldennew file+22

This diff is too big to show here.

test/golden-test-cases/speedy-slice.cabalnew file+80

This diff is too big to show here.

test/golden-test-cases/speedy-slice.nix.goldennew file+19

This diff is too big to show here.

test/golden-test-cases/splice.cabalnew file+66

This diff is too big to show here.

test/golden-test-cases/splice.nix.goldennew file+13

This diff is too big to show here.

test/golden-test-cases/spreadsheet.cabalnew file+108

This diff is too big to show here.

test/golden-test-cases/spreadsheet.nix.goldennew file+19

This diff is too big to show here.

test/golden-test-cases/stack-type.cabalnew file+25

This diff is too big to show here.

test/golden-test-cases/stack-type.nix.goldennew file+13

This diff is too big to show here.

test/golden-test-cases/state-codes.cabalnew file+60

This diff is too big to show here.

test/golden-test-cases/state-codes.nix.goldennew file+16

This diff is too big to show here.

test/golden-test-cases/stb-image-redux.cabalnew file+45

This diff is too big to show here.

test/golden-test-cases/stb-image-redux.nix.goldennew file+14

This diff is too big to show here.

test/golden-test-cases/stm-containers.cabalnew file+251

This diff is too big to show here.

test/golden-test-cases/stm-containers.nix.goldennew file+30

This diff is too big to show here.

test/golden-test-cases/streaming-commons.cabalnew file+161

This diff is too big to show here.

test/golden-test-cases/streaming-commons.nix.goldennew file+26

This diff is too big to show here.

test/golden-test-cases/strict-base-types.cabalnew file+130

This diff is too big to show here.

test/golden-test-cases/strict-base-types.nix.goldennew file+18

This diff is too big to show here.

test/golden-test-cases/strict-types.cabalnew file+34

This diff is too big to show here.

test/golden-test-cases/strict-types.nix.goldennew file+18

This diff is too big to show here.

test/golden-test-cases/string-class.cabalnew file+60

This diff is too big to show here.

test/golden-test-cases/string-class.nix.goldennew file+13

This diff is too big to show here.

test/golden-test-cases/stripe-haskell.cabalnew file+35

This diff is too big to show here.

test/golden-test-cases/stripe-haskell.nix.goldennew file+13

This diff is too big to show here.

test/golden-test-cases/svg-tree.cabalnew file+61

This diff is too big to show here.

test/golden-test-cases/svg-tree.nix.goldennew file+18

This diff is too big to show here.

test/golden-test-cases/swagger.cabalnew file+61

This diff is too big to show here.

test/golden-test-cases/swagger.nix.goldennew file+17

This diff is too big to show here.

test/golden-test-cases/system-argv0.cabalnew file+42

This diff is too big to show here.

test/golden-test-cases/system-argv0.nix.goldennew file+14

This diff is too big to show here.

test/golden-test-cases/system-fileio.cabalnew file+91

This diff is too big to show here.

test/golden-test-cases/system-fileio.nix.goldennew file+21

This diff is too big to show here.

test/golden-test-cases/system-filepath.cabalnew file+61

This diff is too big to show here.

test/golden-test-cases/system-filepath.nix.goldennew file+18

This diff is too big to show here.

test/golden-test-cases/tagged.cabalnew file+67

This diff is too big to show here.

test/golden-test-cases/tagged.nix.goldennew file+17

This diff is too big to show here.

test/golden-test-cases/taggy.cabalnew file+140

This diff is too big to show here.

test/golden-test-cases/taggy.nix.goldennew file+30

This diff is too big to show here.

test/golden-test-cases/tagstream-conduit.cabalnew file+62

This diff is too big to show here.

test/golden-test-cases/tagstream-conduit.nix.goldennew file+23

This diff is too big to show here.

test/golden-test-cases/tasty-hedgehog.cabalnew file+41

This diff is too big to show here.

test/golden-test-cases/tasty-hedgehog.nix.goldennew file+18

This diff is too big to show here.

test/golden-test-cases/tasty-rerun.cabalnew file+87

This diff is too big to show here.

test/golden-test-cases/tasty-rerun.nix.goldennew file+19

This diff is too big to show here.

test/golden-test-cases/tce-conf.cabalnew file+66

This diff is too big to show here.

test/golden-test-cases/tce-conf.nix.goldennew file+17

This diff is too big to show here.

test/golden-test-cases/terminal-progress-bar.cabalnew file+69

This diff is too big to show here.

test/golden-test-cases/terminal-progress-bar.nix.goldennew file+20

This diff is too big to show here.

test/golden-test-cases/test-fixture.cabalnew file+78

This diff is too big to show here.

test/golden-test-cases/test-fixture.nix.goldennew file+22

This diff is too big to show here.

test/golden-test-cases/texmath.cabalnew file+156

This diff is too big to show here.

test/golden-test-cases/texmath.nix.goldennew file+25

This diff is too big to show here.

test/golden-test-cases/text-icu.cabalnew file+118

This diff is too big to show here.

test/golden-test-cases/text-icu.nix.goldennew file+23

This diff is too big to show here.

test/golden-test-cases/text-postgresql.cabalnew file+50

This diff is too big to show here.

test/golden-test-cases/text-postgresql.nix.goldennew file+18

This diff is too big to show here.

test/golden-test-cases/th-expand-syns.cabalnew file+39

This diff is too big to show here.

test/golden-test-cases/th-expand-syns.nix.goldennew file+15

This diff is too big to show here.

test/golden-test-cases/these.cabalnew file+90

This diff is too big to show here.

test/golden-test-cases/these.nix.goldennew file+27

This diff is too big to show here.

test/golden-test-cases/timezone-series.cabalnew file+57

This diff is too big to show here.

test/golden-test-cases/timezone-series.nix.goldennew file+13

This diff is too big to show here.

test/golden-test-cases/transformers-compat.cabalnew file+99

This diff is too big to show here.

test/golden-test-cases/transformers-compat.nix.goldennew file+13

This diff is too big to show here.

test/golden-test-cases/transformers-lift.cabalnew file+36

This diff is too big to show here.

test/golden-test-cases/transformers-lift.nix.goldennew file+16

This diff is too big to show here.

test/golden-test-cases/tree-fun.cabalnew file+70

This diff is too big to show here.

test/golden-test-cases/tree-fun.nix.goldennew file+12

This diff is too big to show here.

test/golden-test-cases/ttrie.cabalnew file+68

This diff is too big to show here.

test/golden-test-cases/ttrie.nix.goldennew file+29

This diff is too big to show here.

test/golden-test-cases/tuple-th.cabalnew file+23

This diff is too big to show here.

test/golden-test-cases/tuple-th.nix.goldennew file+12

This diff is too big to show here.

test/golden-test-cases/tuples-homogenous-h98.cabalnew file+59

This diff is too big to show here.

test/golden-test-cases/tuples-homogenous-h98.nix.goldennew file+13

This diff is too big to show here.

test/golden-test-cases/turtle-options.cabalnew file+56

This diff is too big to show here.

test/golden-test-cases/turtle-options.nix.goldennew file+19

This diff is too big to show here.

test/golden-test-cases/type-operators.cabalnew file+26

This diff is too big to show here.

test/golden-test-cases/type-operators.nix.goldennew file+13

This diff is too big to show here.

test/golden-test-cases/type-spec.cabalnew file+102

This diff is too big to show here.

test/golden-test-cases/type-spec.nix.goldennew file+14

This diff is too big to show here.

test/golden-test-cases/unicode-show.cabalnew file+48

This diff is too big to show here.

test/golden-test-cases/unicode-show.nix.goldennew file+19

This diff is too big to show here.

test/golden-test-cases/unique.cabalnew file+31

This diff is too big to show here.

test/golden-test-cases/unique.nix.goldennew file+13

This diff is too big to show here.

test/golden-test-cases/unix-bytestring.cabalnew file+62

This diff is too big to show here.

test/golden-test-cases/unix-bytestring.nix.goldennew file+13

This diff is too big to show here.

test/golden-test-cases/unlit.cabalnew file+44

This diff is too big to show here.

test/golden-test-cases/unlit.nix.goldennew file+15

This diff is too big to show here.

test/golden-test-cases/utility-ht.cabalnew file+108

This diff is too big to show here.

test/golden-test-cases/utility-ht.nix.goldennew file+13

This diff is too big to show here.

test/golden-test-cases/validity-aeson.cabalnew file+33

This diff is too big to show here.

test/golden-test-cases/validity-aeson.nix.goldennew file+19

This diff is too big to show here.

test/golden-test-cases/validity-containers.cabalnew file+33

This diff is too big to show here.

test/golden-test-cases/validity-containers.nix.goldennew file+13

This diff is too big to show here.

test/golden-test-cases/vector-mmap.cabalnew file+33

This diff is too big to show here.

test/golden-test-cases/vector-mmap.nix.goldennew file+16

This diff is too big to show here.

test/golden-test-cases/vivid-supercollider.cabalnew file+69

This diff is too big to show here.

test/golden-test-cases/vivid-supercollider.nix.goldennew file+20

This diff is too big to show here.

test/golden-test-cases/vty.cabalnew file+624

This diff is too big to show here.

test/golden-test-cases/vty.nix.goldennew file+36

This diff is too big to show here.

test/golden-test-cases/wai-cors.cabalnew file+168

This diff is too big to show here.

test/golden-test-cases/wai-cors.nix.goldennew file+26

This diff is too big to show here.

test/golden-test-cases/wai-middleware-auth.cabalnew file+75

This diff is too big to show here.

test/golden-test-cases/wai-middleware-auth.nix.goldennew file+31

This diff is too big to show here.

test/golden-test-cases/wai-middleware-caching-redis.cabalnew file+40

This diff is too big to show here.

test/golden-test-cases/wai-middleware-caching-redis.nix.goldennew file+19

This diff is too big to show here.

test/golden-test-cases/wai-middleware-prometheus.cabalnew file+46

This diff is too big to show here.

test/golden-test-cases/wai-middleware-prometheus.nix.goldennew file+19

This diff is too big to show here.

test/golden-test-cases/warp.cabalnew file+208

This diff is too big to show here.

test/golden-test-cases/warp.nix.goldennew file+37

This diff is too big to show here.

test/golden-test-cases/weigh.cabalnew file+60

This diff is too big to show here.

test/golden-test-cases/weigh.nix.goldennew file+21

This diff is too big to show here.

test/golden-test-cases/xml-hamlet.cabalnew file+44

This diff is too big to show here.

test/golden-test-cases/xml-hamlet.nix.goldennew file+22

This diff is too big to show here.

test/golden-test-cases/xmonad-contrib.cabalnew file+338

This diff is too big to show here.

test/golden-test-cases/xmonad-contrib.nix.goldennew file+21

This diff is too big to show here.

test/golden-test-cases/yahoo-finance-api.cabalnew file+71

This diff is too big to show here.

test/golden-test-cases/yahoo-finance-api.nix.goldennew file+23

This diff is too big to show here.

test/golden-test-cases/yesod-form-bootstrap4.cabalnew file+31

This diff is too big to show here.

test/golden-test-cases/yesod-form-bootstrap4.nix.goldennew file+13

This diff is too big to show here.

test/golden-test-cases/yesod-gitrepo.cabalnew file+28

This diff is too big to show here.

test/golden-test-cases/yesod-gitrepo.nix.goldennew file+19

This diff is too big to show here.

test/golden-test-cases/yesod-recaptcha2.cabalnew file+37

This diff is too big to show here.

test/golden-test-cases/yesod-recaptcha2.nix.goldennew file+17

This diff is too big to show here.

test/golden-test-cases/zlib.cabalnew file+97

This diff is too big to show here.

test/golden-test-cases/zlib.nix.goldennew file+18

This diff is too big to show here.