git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
More robust license generator script

Changes: * Ensure that all responses are 200 OK responses, i.e. avoids errors such as a 404 error page being treated as the actual license file. * Use the license-file field of the package's Cabal file -- most packages simply use LICENSE as their license-file, but not all do, and this is safer than the previous approach of maintaining a list of packages that deviate from the convention of using LICENSE. * Exits with a nonzero code if at least one dependency returned a non-200 response for its license file. * Uses the license files from the actual versions of dependencies which we are using instead of the very latest one. * Use http-client instead of curl (mainly for the response code checking but this has the nice side effect that the script should work basically anywhere now). Packages who list their 'license' field as PublicDomain (at the time of writing, this is just monad-loops) will not be treated as failures if a license-file is not found.

commit9ed097452bacc512049b2003739896aa511d9454 authorHarry Garrood <harry@garrood.me> dateWed 28 Dec 2016, 03:22 (10 years ago) parentaec0ece
2 files changed+974−107
LICENSE+820−79 license-generator/generate.hs+154−28
LICENSE+820−79
@@ -16,6 +16,8 @@ PureScript uses the following Haskell library packages. Their license files foll
1616
1717 Glob
1818 SHA
19+ StateVar
20+ adjunctions
1921 aeson
2022 aeson-better-errors
2123 aeson-pretty
@@ -31,7 +33,9 @@ PureScript uses the following Haskell library packages. Their license files foll
3133 auto-update
3234 base
3335 base-compat
36+ base-orphans
3437 base64-bytestring
38+ bifunctors
3539 binary
3640 blaze-builder
3741 blaze-html
@@ -46,16 +50,19 @@ PureScript uses the following Haskell library packages. Their license files foll
4650 cereal
4751 clock
4852 cmdargs
53+ comonad
4954 conduit
5055 conduit-extra
5156 connection
5257 containers
58+ contravariant
5359 cookie
5460 cryptonite
5561 data-default-class
5662 data-ordlist
5763 deepseq
5864 directory
65+ distributive
5966 dlist
6067 easy-file
6168 edit-distance
@@ -65,12 +72,15 @@ PureScript uses the following Haskell library packages. Their license files foll
6572 fast-logger
6673 file-embed
6774 filepath
75+ foldl
76+ free
6877 fsnotify
6978 ghc-prim
7079 hashable
7180 haskeline
7281 hex
73− hfsevents
82+ hinotify
83+ hostname
7484 hourglass
7585 http-client
7686 http-client-tls
@@ -79,8 +89,11 @@ PureScript uses the following Haskell library packages. Their license files foll
7989 http2
8090 integer-gmp
8191 iproute
92+ kan-extensions
8293 language-javascript
94+ lens
8395 lifted-base
96+ managed
8497 memory
8598 mime-types
8699 mmorph
@@ -88,10 +101,12 @@ PureScript uses the following Haskell library packages. Their license files foll
88101 monad-logger
89102 monad-loops
90103 mtl
104+ mwc-random
91105 network
92106 network-uri
93107 old-locale
94108 old-time
109+ optional-args
95110 optparse-applicative
96111 parallel
97112 parsec
@@ -99,16 +114,20 @@ PureScript uses the following Haskell library packages. Their license files foll
99114 pem
100115 pipes
101116 pipes-http
117+ prelude-extras
102118 primitive
103119 process
120+ profunctors
104121 protolude
105122 psqueues
106123 random
124+ reflection
107125 regex-base
108126 regex-tdfa
109127 resourcet
110128 safe
111129 scientific
130+ semigroupoids
112131 semigroups
113132 simple-sendfile
114133 socks
@@ -120,16 +139,19 @@ PureScript uses the following Haskell library packages. Their license files foll
120139 streaming-commons
121140 stringsearch
122141 syb
142+ system-fileio
143+ system-filepath
123144 tagged
124145 template-haskell
146+ temporary
125147 terminfo
126148 text
127149 time
128− time-locale-compat
129150 tls
130151 transformers
131152 transformers-base
132153 transformers-compat
154+ turtle
133155 unix
134156 unix-compat
135157 unix-time
@@ -215,6 +237,67 @@ SHA LICENSE file:
215237 ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
216238 POSSIBILITY OF SUCH DAMAGE.
217239
240+StateVar LICENSE file:
241+
242+ Copyright (c) 2014-2015, Edward Kmett
243+ Copyright (c) 2009-2016, Sven Panne
244+ All rights reserved.
245+
246+ Redistribution and use in source and binary forms, with or without
247+ modification, are permitted provided that the following conditions are met:
248+
249+ 1. Redistributions of source code must retain the above copyright notice,
250+ this list of conditions and the following disclaimer.
251+
252+ 2. Redistributions in binary form must reproduce the above copyright
253+ notice, this list of conditions and the following disclaimer in the
254+ documentation and/or other materials provided with the distribution.
255+
256+ 3. Neither the name of the author nor the names of its contributors may be
257+ used to endorse or promote products derived from this software without
258+ specific prior written permission.
259+
260+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
261+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
262+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
263+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
264+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
265+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
266+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
267+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
268+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
269+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
270+ POSSIBILITY OF SUCH DAMAGE.
271+
272+adjunctions LICENSE file:
273+
274+ Copyright 2011-2014 Edward Kmett
275+
276+ All rights reserved.
277+
278+ Redistribution and use in source and binary forms, with or without
279+ modification, are permitted provided that the following conditions
280+ are met:
281+
282+ 1. Redistributions of source code must retain the above copyright
283+ notice, this list of conditions and the following disclaimer.
284+
285+ 2. Redistributions in binary form must reproduce the above copyright
286+ notice, this list of conditions and the following disclaimer in the
287+ documentation and/or other materials provided with the distribution.
288+
289+ THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR
290+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
291+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
292+ DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR
293+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
294+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
295+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
296+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
297+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
298+ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
299+ POSSIBILITY OF SUCH DAMAGE.
300+
218301aeson LICENSE file:
219302
220303 Copyright (c) 2011, MailRank, Inc.
@@ -762,6 +845,29 @@ base-compat LICENSE file:
762845 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
763846 THE SOFTWARE.
764847
848+base-orphans LICENSE file:
849+
850+ Copyright (c) 2015-2016 Simon Hengel <sol@typeful.net>, João Cristóvão <jmacristovao@gmail.com>, Ryan Scott <ryan.gl.scott@gmail.com>
851+
852+ Permission is hereby granted, free of charge, to any person obtaining
853+ a copy of this software and associated documentation files (the
854+ "Software"), to deal in the Software without restriction, including
855+ without limitation the rights to use, copy, modify, merge, publish,
856+ distribute, sublicense, and/or sell copies of the Software, and to
857+ permit persons to whom the Software is furnished to do so, subject to
858+ the following conditions:
859+
860+ The above copyright notice and this permission notice shall be included
861+ in all copies or substantial portions of the Software.
862+
863+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
864+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
865+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
866+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
867+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
868+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
869+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
870+
765871base64-bytestring LICENSE file:
766872
767873 Copyright (c) 2010 Bryan O'Sullivan <bos@serpentine.com>
@@ -795,6 +901,35 @@ base64-bytestring LICENSE file:
795901 ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
796902 POSSIBILITY OF SUCH DAMAGE.
797903
904+bifunctors LICENSE file:
905+
906+ Copyright 2008-2016 Edward Kmett
907+
908+ All rights reserved.
909+
910+ Redistribution and use in source and binary forms, with or without
911+ modification, are permitted provided that the following conditions
912+ are met:
913+
914+ 1. Redistributions of source code must retain the above copyright
915+ notice, this list of conditions and the following disclaimer.
916+
917+ 2. Redistributions in binary form must reproduce the above copyright
918+ notice, this list of conditions and the following disclaimer in the
919+ documentation and/or other materials provided with the distribution.
920+
921+ THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR
922+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
923+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
924+ DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR
925+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
926+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
927+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
928+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
929+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
930+ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
931+ POSSIBILITY OF SUCH DAMAGE.
932+
798933binary LICENSE file:
799934
800935 Copyright (c) Lennart Kolmodin
@@ -1244,6 +1379,36 @@ cmdargs LICENSE file:
12441379 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
12451380 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
12461381
1382+comonad LICENSE file:
1383+
1384+ Copyright 2008-2014 Edward Kmett
1385+ Copyright 2004-2008 Dave Menendez
1386+
1387+ All rights reserved.
1388+
1389+ Redistribution and use in source and binary forms, with or without
1390+ modification, are permitted provided that the following conditions
1391+ are met:
1392+
1393+ 1. Redistributions of source code must retain the above copyright
1394+ notice, this list of conditions and the following disclaimer.
1395+
1396+ 2. Redistributions in binary form must reproduce the above copyright
1397+ notice, this list of conditions and the following disclaimer in the
1398+ documentation and/or other materials provided with the distribution.
1399+
1400+ THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR
1401+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1402+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
1403+ DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR
1404+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1405+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
1406+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1407+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
1408+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
1409+ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
1410+ POSSIBILITY OF SUCH DAMAGE.
1411+
12471412conduit LICENSE file:
12481413
12491414 Copyright (c) 2012 Michael Snoyman, http://www.yesodweb.com/
@@ -1354,6 +1519,39 @@ containers LICENSE file:
13541519 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
13551520 DAMAGE.
13561521
1522+contravariant LICENSE file:
1523+
1524+ Copyright 2007-2015 Edward Kmett
1525+
1526+ All rights reserved.
1527+
1528+ Redistribution and use in source and binary forms, with or without
1529+ modification, are permitted provided that the following conditions
1530+ are met:
1531+
1532+ 1. Redistributions of source code must retain the above copyright
1533+ notice, this list of conditions and the following disclaimer.
1534+
1535+ 2. Redistributions in binary form must reproduce the above copyright
1536+ notice, this list of conditions and the following disclaimer in the
1537+ documentation and/or other materials provided with the distribution.
1538+
1539+ 3. Neither the name of the author nor the names of his contributors
1540+ may be used to endorse or promote products derived from this software
1541+ without specific prior written permission.
1542+
1543+ THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR
1544+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1545+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
1546+ DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR
1547+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1548+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
1549+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1550+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
1551+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
1552+ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
1553+ POSSIBILITY OF SUCH DAMAGE.
1554+
13571555cookie LICENSE file:
13581556
13591557 Copyright (c) 2010 Michael Snoyman, http://www.yesodweb.com/
@@ -1426,16 +1624,16 @@ data-default-class LICENSE file:
14261624 may be used to endorse or promote products derived from this software
14271625 without specific prior written permission.
14281626
1429− THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1430− ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1627+ THIS SOFTWARE IS PROVIDED BY LUKAS MAI AND CONTRIBUTORS "AS IS" AND ANY
1628+ EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
14311629 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
1432− DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE
1433− FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1434− DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
1435− SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
1436− CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
1437− OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1438− OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1630+ DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY
1631+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1632+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
1633+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
1634+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1635+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
1636+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
14391637
14401638data-ordlist LICENSE file:
14411639
@@ -1558,9 +1756,38 @@ directory LICENSE file:
15581756
15591757 -----------------------------------------------------------------------------
15601758
1759+distributive LICENSE file:
1760+
1761+ Copyright 2011-2016 Edward Kmett
1762+
1763+ All rights reserved.
1764+
1765+ Redistribution and use in source and binary forms, with or without
1766+ modification, are permitted provided that the following conditions
1767+ are met:
1768+
1769+ 1. Redistributions of source code must retain the above copyright
1770+ notice, this list of conditions and the following disclaimer.
1771+
1772+ 2. Redistributions in binary form must reproduce the above copyright
1773+ notice, this list of conditions and the following disclaimer in the
1774+ documentation and/or other materials provided with the distribution.
1775+
1776+ THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR
1777+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1778+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
1779+ DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR
1780+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1781+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
1782+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1783+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
1784+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
1785+ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
1786+ POSSIBILITY OF SUCH DAMAGE.
1787+
15611788dlist LICENSE file:
15621789
1563− Copyright (c) 2006-2009 Don Stewart, 2013-2016 Sean Leather
1790+ Copyright (c) 2006-2009 Don Stewart, 2013-2014 Sean Leather
15641791
15651792 All rights reserved.
15661793
@@ -1842,6 +2069,66 @@ filepath LICENSE file:
18422069 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
18432070 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
18442071
2072+foldl LICENSE file:
2073+
2074+ Copyright (c) 2013 Gabriel Gonzalez
2075+ All rights reserved.
2076+
2077+ Redistribution and use in source and binary forms, with or without modification,
2078+ are permitted provided that the following conditions are met:
2079+ * Redistributions of source code must retain the above copyright notice,
2080+ this list of conditions and the following disclaimer.
2081+ * Redistributions in binary form must reproduce the above copyright notice,
2082+ this list of conditions and the following disclaimer in the documentation
2083+ and/or other materials provided with the distribution.
2084+ * Neither the name of Gabriel Gonzalez nor the names of other contributors
2085+ may be used to endorse or promote products derived from this software
2086+ without specific prior written permission.
2087+
2088+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
2089+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
2090+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
2091+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
2092+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
2093+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
2094+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
2095+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2096+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
2097+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2098+
2099+free LICENSE file:
2100+
2101+ Copyright 2008-2013 Edward Kmett
2102+
2103+ All rights reserved.
2104+
2105+ Redistribution and use in source and binary forms, with or without
2106+ modification, are permitted provided that the following conditions
2107+ are met:
2108+
2109+ 1. Redistributions of source code must retain the above copyright
2110+ notice, this list of conditions and the following disclaimer.
2111+
2112+ 2. Redistributions in binary form must reproduce the above copyright
2113+ notice, this list of conditions and the following disclaimer in the
2114+ documentation and/or other materials provided with the distribution.
2115+
2116+ 3. Neither the name of the author nor the names of his contributors
2117+ may be used to endorse or promote products derived from this software
2118+ without specific prior written permission.
2119+
2120+ THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR
2121+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
2122+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
2123+ DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR
2124+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2125+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2126+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2127+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
2128+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
2129+ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2130+ POSSIBILITY OF SUCH DAMAGE.
2131+
18452132fsnotify LICENSE file:
18462133
18472134 Copyright (c) 2012, Mark Dittmer
@@ -2001,40 +2288,93 @@ haskeline LICENSE file:
20012288
20022289hex LICENSE file:
20032290
2004− Page not found: Sorry, it's just not here.
2291+ Copyright (c) 2008, Taru Karttunen
2292+ All rights reserved.
20052293
2006−hfsevents LICENSE file:
2294+ Redistribution and use in source and binary forms, with or without
2295+ modification, are permitted provided that the following conditions
2296+ are met:
2297+
2298+ Redistributions of source code must retain the above copyright
2299+ notice, this list of conditions and the following disclaimer.
2300+
2301+ Redistributions in binary form must reproduce the above copyright
2302+ notice, this list of conditions and the following disclaimer in the
2303+ documentation and/or other materials provided with the distribution.
2304+
2305+ Neither the name of the Taru Karttunen; nor the names of its contributors
2306+ may be used to endorse or promote products derived from this software
2307+ without specific prior written permission.
2308+
2309+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
2310+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
2311+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
2312+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
2313+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
2314+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
2315+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
2316+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
2317+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
2318+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
2319+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
20072320
2008− Copyright (c) 2012, Luite Stegeman
2321+hinotify LICENSE file:
2322+
2323+ Copyright (c) Lennart Kolmodin
20092324
20102325 All rights reserved.
20112326
20122327 Redistribution and use in source and binary forms, with or without
2013− modification, are permitted provided that the following conditions are met:
2328+ modification, are permitted provided that the following conditions
2329+ are met:
20142330
2015− * Redistributions of source code must retain the above copyright
2016− notice, this list of conditions and the following disclaimer.
2331+ 1. Redistributions of source code must retain the above copyright
2332+ notice, this list of conditions and the following disclaimer.
20172333
2018− * Redistributions in binary form must reproduce the above
2019− copyright notice, this list of conditions and the following
2020− disclaimer in the documentation and/or other materials provided
2021− with the distribution.
2334+ 2. Redistributions in binary form must reproduce the above copyright
2335+ notice, this list of conditions and the following disclaimer in the
2336+ documentation and/or other materials provided with the distribution.
20222337
2023− * Neither the name of Luite Stegeman nor the names of other
2024− contributors may be used to endorse or promote products derived
2025− from this software without specific prior written permission.
2338+ 3. Neither the name of the author nor the names of his contributors
2339+ may be used to endorse or promote products derived from this software
2340+ without specific prior written permission.
20262341
2027− THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
2028− "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
2029− LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
2030− A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
2031− OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2032− SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2033− LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2034− DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2035− THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2036− (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2037− OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2342+ THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS ``AS IS'' AND ANY EXPRESS
2343+ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
2344+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
2345+ DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR
2346+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2347+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2348+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2349+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
2350+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
2351+ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2352+ POSSIBILITY OF SUCH DAMAGE.
2353+
2354+hostname LICENSE file:
2355+
2356+ Copyright (c) 2008, Maximilian Bolingbroke
2357+ All rights reserved.
2358+
2359+ Redistribution and use in source and binary forms, with or without modification, are permitted
2360+ provided that the following conditions are met:
2361+
2362+ * Redistributions of source code must retain the above copyright notice, this list of
2363+ conditions and the following disclaimer.
2364+ * Redistributions in binary form must reproduce the above copyright notice, this list of
2365+ conditions and the following disclaimer in the documentation and/or other materials
2366+ provided with the distribution.
2367+ * Neither the name of Maximilian Bolingbroke nor the names of other contributors may be used to
2368+ endorse or promote products derived from this software without specific prior written permission.
2369+
2370+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
2371+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
2372+ FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
2373+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2374+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2375+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
2376+ IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
2377+ OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
20382378
20392379hourglass LICENSE file:
20402380
@@ -2275,6 +2615,39 @@ iproute LICENSE file:
22752615 ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
22762616 POSSIBILITY OF SUCH DAMAGE.
22772617
2618+kan-extensions LICENSE file:
2619+
2620+ Copyright 2008-2013 Edward Kmett
2621+
2622+ All rights reserved.
2623+
2624+ Redistribution and use in source and binary forms, with or without
2625+ modification, are permitted provided that the following conditions
2626+ are met:
2627+
2628+ 1. Redistributions of source code must retain the above copyright
2629+ notice, this list of conditions and the following disclaimer.
2630+
2631+ 2. Redistributions in binary form must reproduce the above copyright
2632+ notice, this list of conditions and the following disclaimer in the
2633+ documentation and/or other materials provided with the distribution.
2634+
2635+ 3. Neither the name of the author nor the names of his contributors
2636+ may be used to endorse or promote products derived from this software
2637+ without specific prior written permission.
2638+
2639+ THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR
2640+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
2641+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
2642+ DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR
2643+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2644+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2645+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2646+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
2647+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
2648+ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2649+ POSSIBILITY OF SUCH DAMAGE.
2650+
22782651language-javascript LICENSE file:
22792652
22802653 Copyright (c)2010, Alan Zimmerman
@@ -2308,6 +2681,39 @@ language-javascript LICENSE file:
23082681 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23092682 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23102683
2684+lens LICENSE file:
2685+
2686+ Copyright 2012-2015 Edward Kmett
2687+
2688+ All rights reserved.
2689+
2690+ Redistribution and use in source and binary forms, with or without
2691+ modification, are permitted provided that the following conditions
2692+ are met:
2693+
2694+ 1. Redistributions of source code must retain the above copyright
2695+ notice, this list of conditions and the following disclaimer.
2696+
2697+ 2. Redistributions in binary form must reproduce the above copyright
2698+ notice, this list of conditions and the following disclaimer in the
2699+ documentation and/or other materials provided with the distribution.
2700+
2701+ 3. Neither the name of the author nor the names of his contributors
2702+ may be used to endorse or promote products derived from this software
2703+ without specific prior written permission.
2704+
2705+ THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR
2706+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
2707+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
2708+ DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR
2709+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2710+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2711+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2712+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
2713+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
2714+ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2715+ POSSIBILITY OF SUCH DAMAGE.
2716+
23112717lifted-base LICENSE file:
23122718
23132719 Copyright © 2010-2012, Bas van Dijk, Anders Kaseorg
@@ -2340,6 +2746,33 @@ lifted-base LICENSE file:
23402746 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23412747 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23422748
2749+managed LICENSE file:
2750+
2751+ Copyright (c) 2014 Gabriel Gonzalez
2752+ All rights reserved.
2753+
2754+ Redistribution and use in source and binary forms, with or without modification,
2755+ are permitted provided that the following conditions are met:
2756+ * Redistributions of source code must retain the above copyright notice,
2757+ this list of conditions and the following disclaimer.
2758+ * Redistributions in binary form must reproduce the above copyright notice,
2759+ this list of conditions and the following disclaimer in the documentation
2760+ and/or other materials provided with the distribution.
2761+ * Neither the name of Gabriel Gonzalez nor the names of other contributors
2762+ may be used to endorse or promote products derived from this software
2763+ without specific prior written permission.
2764+
2765+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
2766+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
2767+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
2768+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
2769+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
2770+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
2771+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
2772+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2773+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
2774+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2775+
23432776memory LICENSE file:
23442777
23452778 Copyright (c) 2015 Vincent Hanquez <vincent@snarc.org>
@@ -2477,10 +2910,6 @@ monad-logger LICENSE file:
24772910 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
24782911 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24792912
2480−monad-loops LICENSE file:
2481−
2482− Page not found: Sorry, it's just not here.
2483−
24842913mtl LICENSE file:
24852914
24862915 The Glasgow Haskell Compiler License
@@ -2515,6 +2944,35 @@ mtl LICENSE file:
25152944 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
25162945 DAMAGE.
25172946
2947+mwc-random LICENSE file:
2948+
2949+ Copyright (c) 2009, Bryan O'Sullivan
2950+ All rights reserved.
2951+
2952+ Redistribution and use in source and binary forms, with or without
2953+ modification, are permitted provided that the following conditions
2954+ are met:
2955+
2956+ * Redistributions of source code must retain the above copyright
2957+ notice, this list of conditions and the following disclaimer.
2958+
2959+ * Redistributions in binary form must reproduce the above
2960+ copyright notice, this list of conditions and the following
2961+ disclaimer in the documentation and/or other materials provided
2962+ with the distribution.
2963+
2964+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
2965+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
2966+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
2967+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
2968+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2969+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2970+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2971+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2972+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2973+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2974+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2975+
25182976network LICENSE file:
25192977
25202978 Copyright (c) 2002-2010, The University Court of the University of Glasgow.
@@ -2711,6 +3169,33 @@ old-time LICENSE file:
27113169
27123170 -----------------------------------------------------------------------------
27133171
3172+optional-args LICENSE file:
3173+
3174+ Copyright (c) 2015 Gabriel Gonzalez
3175+ All rights reserved.
3176+
3177+ Redistribution and use in source and binary forms, with or without modification,
3178+ are permitted provided that the following conditions are met:
3179+ * Redistributions of source code must retain the above copyright notice,
3180+ this list of conditions and the following disclaimer.
3181+ * Redistributions in binary form must reproduce the above copyright notice,
3182+ this list of conditions and the following disclaimer in the documentation
3183+ and/or other materials provided with the distribution.
3184+ * Neither the name of Gabriel Gonzalez nor the names of other contributors
3185+ may be used to endorse or promote products derived from this software
3186+ without specific prior written permission.
3187+
3188+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
3189+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
3190+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
3191+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
3192+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
3193+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
3194+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
3195+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3196+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
3197+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3198+
27143199optparse-applicative LICENSE file:
27153200
27163201 Copyright (c) 2012, Paolo Capriotti
@@ -2865,7 +3350,7 @@ pem LICENSE file:
28653350
28663351pipes LICENSE file:
28673352
2868− Copyright (c) 2012-2016 Gabriel Gonzalez
3353+ Copyright (c) 2012-2014 Gabriel Gonzalez
28693354 All rights reserved.
28703355
28713356 Redistribution and use in source and binary forms, with or without modification,
@@ -2917,6 +3402,39 @@ pipes-http LICENSE file:
29173402 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
29183403 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29193404
3405+prelude-extras LICENSE file:
3406+
3407+ Copyright 2011-2016 Edward Kmett
3408+
3409+ All rights reserved.
3410+
3411+ Redistribution and use in source and binary forms, with or without
3412+ modification, are permitted provided that the following conditions
3413+ are met:
3414+
3415+ 1. Redistributions of source code must retain the above copyright
3416+ notice, this list of conditions and the following disclaimer.
3417+
3418+ 2. Redistributions in binary form must reproduce the above copyright
3419+ notice, this list of conditions and the following disclaimer in the
3420+ documentation and/or other materials provided with the distribution.
3421+
3422+ 3. Neither the name of the author nor the names of his contributors
3423+ may be used to endorse or promote products derived from this software
3424+ without specific prior written permission.
3425+
3426+ THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR
3427+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
3428+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
3429+ DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR
3430+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
3431+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
3432+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
3433+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
3434+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
3435+ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
3436+ POSSIBILITY OF SUCH DAMAGE.
3437+
29203438primitive LICENSE file:
29213439
29223440 Copyright (c) 2008-2009, Roman Leshchinskiy
@@ -3016,6 +3534,39 @@ process LICENSE file:
30163534
30173535 -----------------------------------------------------------------------------
30183536
3537+profunctors LICENSE file:
3538+
3539+ Copyright 2011-2015 Edward Kmett
3540+
3541+ All rights reserved.
3542+
3543+ Redistribution and use in source and binary forms, with or without
3544+ modification, are permitted provided that the following conditions
3545+ are met:
3546+
3547+ 1. Redistributions of source code must retain the above copyright
3548+ notice, this list of conditions and the following disclaimer.
3549+
3550+ 2. Redistributions in binary form must reproduce the above copyright
3551+ notice, this list of conditions and the following disclaimer in the
3552+ documentation and/or other materials provided with the distribution.
3553+
3554+ 3. Neither the name of the author nor the names of his contributors
3555+ may be used to endorse or promote products derived from this software
3556+ without specific prior written permission.
3557+
3558+ THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR
3559+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
3560+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
3561+ DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR
3562+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
3563+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
3564+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
3565+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
3566+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
3567+ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
3568+ POSSIBILITY OF SUCH DAMAGE.
3569+
30193570protolude LICENSE file:
30203571
30213572 Copyright (c) 2016, Stephen Diehl
@@ -3138,6 +3689,40 @@ random LICENSE file:
31383689
31393690 -----------------------------------------------------------------------------
31403691
3692+reflection LICENSE file:
3693+
3694+ Copyright (c) 2009-2013 Edward Kmett
3695+ Copyright (c) 2004 Oleg Kiselyov and Chung-chieh Shan
3696+ All rights reserved.
3697+
3698+ Redistribution and use in source and binary forms, with or without
3699+ modification, are permitted provided that the following conditions are
3700+ met:
3701+
3702+ * Redistributions of source code must retain the above copyright
3703+ notice, this list of conditions and the following disclaimer.
3704+
3705+ * Redistributions in binary form must reproduce the above
3706+ copyright notice, this list of conditions and the following
3707+ disclaimer in the documentation and/or other materials provided
3708+ with the distribution.
3709+
3710+ * Neither the name of Edward Kmett nor the names of other
3711+ contributors may be used to endorse or promote products derived
3712+ from this software without specific prior written permission.
3713+
3714+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
3715+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
3716+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
3717+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
3718+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
3719+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
3720+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
3721+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
3722+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3723+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3724+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3725+
31413726regex-base LICENSE file:
31423727
31433728 This modile is under this "3 clause" BSD license:
@@ -3203,7 +3788,7 @@ resourcet LICENSE file:
32033788
32043789safe LICENSE file:
32053790
3206− Copyright Neil Mitchell 2007-2015.
3791+ Copyright Neil Mitchell 2007-2016.
32073792 All rights reserved.
32083793
32093794 Redistribution and use in source and binary forms, with or without
@@ -3267,6 +3852,35 @@ scientific LICENSE file:
32673852 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
32683853 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32693854
3855+semigroupoids LICENSE file:
3856+
3857+ Copyright 2011-2015 Edward Kmett
3858+
3859+ All rights reserved.
3860+
3861+ Redistribution and use in source and binary forms, with or without
3862+ modification, are permitted provided that the following conditions
3863+ are met:
3864+
3865+ 1. Redistributions of source code must retain the above copyright
3866+ notice, this list of conditions and the following disclaimer.
3867+
3868+ 2. Redistributions in binary form must reproduce the above copyright
3869+ notice, this list of conditions and the following disclaimer in the
3870+ documentation and/or other materials provided with the distribution.
3871+
3872+ THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR
3873+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
3874+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
3875+ DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR
3876+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
3877+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
3878+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
3879+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
3880+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
3881+ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
3882+ POSSIBILITY OF SUCH DAMAGE.
3883+
32703884semigroups LICENSE file:
32713885
32723886 Copyright 2011-2015 Edward Kmett
@@ -3552,7 +4166,36 @@ streaming-commons LICENSE file:
35524166
35534167stringsearch LICENSE file:
35544168
3555− Page not found: Sorry, it's just not here.
4169+ Copyright (c)2010, Daniel Fischer
4170+
4171+ All rights reserved.
4172+
4173+ Redistribution and use in source and binary forms, with or without
4174+ modification, are permitted provided that the following conditions are met:
4175+
4176+ * Redistributions of source code must retain the above copyright
4177+ notice, this list of conditions and the following disclaimer.
4178+
4179+ * Redistributions in binary form must reproduce the above
4180+ copyright notice, this list of conditions and the following
4181+ disclaimer in the documentation and/or other materials provided
4182+ with the distribution.
4183+
4184+ * Neither the name of Daniel Fischer nor the names of other
4185+ contributors may be used to endorse or promote products derived
4186+ from this software without specific prior written permission.
4187+
4188+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
4189+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
4190+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
4191+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
4192+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
4193+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
4194+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
4195+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
4196+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
4197+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
4198+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35564199
35574200syb LICENSE file:
35584201
@@ -3640,6 +4283,56 @@ syb LICENSE file:
36404283
36414284 -----------------------------------------------------------------------------
36424285
4286+system-fileio LICENSE file:
4287+
4288+ Copyright (c) 2011 John Millikin
4289+
4290+ Permission is hereby granted, free of charge, to any person
4291+ obtaining a copy of this software and associated documentation
4292+ files (the "Software"), to deal in the Software without
4293+ restriction, including without limitation the rights to use,
4294+ copy, modify, merge, publish, distribute, sublicense, and/or sell
4295+ copies of the Software, and to permit persons to whom the
4296+ Software is furnished to do so, subject to the following
4297+ conditions:
4298+
4299+ The above copyright notice and this permission notice shall be
4300+ included in all copies or substantial portions of the Software.
4301+
4302+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
4303+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
4304+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
4305+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
4306+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
4307+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
4308+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
4309+ OTHER DEALINGS IN THE SOFTWARE.
4310+
4311+system-filepath LICENSE file:
4312+
4313+ Copyright (c) 2010 John Millikin
4314+
4315+ Permission is hereby granted, free of charge, to any person
4316+ obtaining a copy of this software and associated documentation
4317+ files (the "Software"), to deal in the Software without
4318+ restriction, including without limitation the rights to use,
4319+ copy, modify, merge, publish, distribute, sublicense, and/or sell
4320+ copies of the Software, and to permit persons to whom the
4321+ Software is furnished to do so, subject to the following
4322+ conditions:
4323+
4324+ The above copyright notice and this permission notice shall be
4325+ included in all copies or substantial portions of the Software.
4326+
4327+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
4328+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
4329+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
4330+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
4331+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
4332+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
4333+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
4334+ OTHER DEALINGS IN THE SOFTWARE.
4335+
36434336tagged LICENSE file:
36444337
36454338 Copyright (c) 2009-2015 Edward Kmett
@@ -3709,6 +4402,31 @@ template-haskell LICENSE file:
37094402 DAMAGE.
37104403
37114404
4405+temporary LICENSE file:
4406+
4407+ Copyright (c) 2008, Maximilian Bolingbroke
4408+ All rights reserved.
4409+
4410+ Redistribution and use in source and binary forms, with or without modification, are permitted
4411+ provided that the following conditions are met:
4412+
4413+ * Redistributions of source code must retain the above copyright notice, this list of
4414+ conditions and the following disclaimer.
4415+ * Redistributions in binary form must reproduce the above copyright notice, this list of
4416+ conditions and the following disclaimer in the documentation and/or other materials
4417+ provided with the distribution.
4418+ * Neither the name of Maximilian Bolingbroke nor the names of other contributors may be used to
4419+ endorse or promote products derived from this software without specific prior written permission.
4420+
4421+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
4422+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
4423+ FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
4424+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
4425+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
4426+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
4427+ IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
4428+ OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4429+
37124430terminfo LICENSE file:
37134431
37144432 Copyright 2007, Judah Jacobson.
@@ -3777,39 +4495,6 @@ time LICENSE file:
37774495
37784496 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37794497
3780−time-locale-compat LICENSE file:
3781−
3782− Copyright (c) 2014, Kei Hibino
3783−
3784− All rights reserved.
3785−
3786− Redistribution and use in source and binary forms, with or without
3787− modification, are permitted provided that the following conditions are met:
3788−
3789− * Redistributions of source code must retain the above copyright
3790− notice, this list of conditions and the following disclaimer.
3791−
3792− * Redistributions in binary form must reproduce the above
3793− copyright notice, this list of conditions and the following
3794− disclaimer in the documentation and/or other materials provided
3795− with the distribution.
3796−
3797− * Neither the name of Kei Hibino nor the names of other
3798− contributors may be used to endorse or promote products derived
3799− from this software without specific prior written permission.
3800−
3801− THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
3802− "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
3803− LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
3804− A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
3805− OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
3806− SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
3807− LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
3808− DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
3809− THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3810− (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3811− OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3812−
38134498tls LICENSE file:
38144499
38154500 Copyright (c) 2010-2015 Vincent Hanquez <vincent@snarc.org>
@@ -3906,7 +4591,7 @@ transformers-base LICENSE file:
39064591
39074592transformers-compat LICENSE file:
39084593
3909− Copyright 2012-2015 Edward Kmett
4594+ Copyright 2012 Edward Kmett
39104595
39114596 All rights reserved.
39124597
@@ -3937,6 +4622,33 @@ transformers-compat LICENSE file:
39374622 ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
39384623 POSSIBILITY OF SUCH DAMAGE.
39394624
4625+turtle LICENSE file:
4626+
4627+ Copyright (c) 2015 Gabriel Gonzalez
4628+ All rights reserved.
4629+
4630+ Redistribution and use in source and binary forms, with or without modification,
4631+ are permitted provided that the following conditions are met:
4632+ * Redistributions of source code must retain the above copyright notice,
4633+ this list of conditions and the following disclaimer.
4634+ * Redistributions in binary form must reproduce the above copyright notice,
4635+ this list of conditions and the following disclaimer in the documentation
4636+ and/or other materials provided with the distribution.
4637+ * Neither the name of Gabriel Gonzalez nor the names of other contributors
4638+ may be used to endorse or promote products derived from this software
4639+ without specific prior written permission.
4640+
4641+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
4642+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
4643+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
4644+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
4645+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
4646+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
4647+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
4648+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
4649+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
4650+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4651+
39404652unix LICENSE file:
39414653
39424654 The Glasgow Haskell Compiler License
@@ -4343,7 +5055,36 @@ warp LICENSE file:
43435055
43445056websockets LICENSE file:
43455057
4346− Page not found: Sorry, it's just not here.
5058+ Copyright Jasper Van der Jeugt, 2011
5059+
5060+ All rights reserved.
5061+
5062+ Redistribution and use in source and binary forms, with or without
5063+ modification, are permitted provided that the following conditions are met:
5064+
5065+ * Redistributions of source code must retain the above copyright
5066+ notice, this list of conditions and the following disclaimer.
5067+
5068+ * Redistributions in binary form must reproduce the above
5069+ copyright notice, this list of conditions and the following
5070+ disclaimer in the documentation and/or other materials provided
5071+ with the distribution.
5072+
5073+ * Neither the name of Siniša Biđin nor the names of other
5074+ contributors may be used to endorse or promote products derived
5075+ from this software without specific prior written permission.
5076+
5077+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
5078+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
5079+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
5080+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
5081+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
5082+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
5083+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
5084+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
5085+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
5086+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
5087+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
43475088
43485089word8 LICENSE file:
43495090
@@ -4499,7 +5240,7 @@ x509-validation LICENSE file:
44995240
45005241zlib LICENSE file:
45015242
4502− Copyright (c) 2006-2015, Duncan Coutts
5243+ Copyright (c) 2006-2016, Duncan Coutts
45035244 All rights reserved.
45045245
45055246 Redistribution and use in source and binary forms, with or without
license-generator/generate.hs+154−28
@@ -1,3 +1,4 @@
1+{-# LANGUAGE TupleSections #-}
12-- |
23-- A small script which regenerates the LICENSE file with all
34-- dependencies' licenses, when the dependencies are provided via standard
@@ -5,42 +6,167 @@
56--
67-- It is recommended to run this as follows:
78--
8−-- stack list-dependencies | cut -f 1 -d ' ' | stack exec runhaskell license-generator/generate.hs > LICENSE
9+-- stack list-dependencies | stack exec runhaskell license-generator/generate.hs > LICENSE
910--
1011
1112module Main (main) where
1213
13−import Control.Monad (forM_)
14−import Data.Char (isSpace)
14+import Control.Monad (forM_, when)
15+import Data.Char (isSpace, toLower)
16+import Data.Maybe (mapMaybe)
1517import Data.List
16−import System.Process
18+import Data.List.Split (splitOn)
19+import Data.Foldable
20+import Data.Traversable
21+import qualified Data.ByteString.Lazy as LBS
22+import qualified Data.Text.Lazy as TL
23+import qualified Data.Text.Lazy.Encoding as TLE
24+import Network.HTTP.Types (ok200)
25+import Network.HTTP.Client (Manager, newManager, httpLbs, parseRequest, responseBody, responseStatus)
26+import Network.HTTP.Client.TLS (tlsManagerSettings)
1727import System.IO (hPutStrLn, stderr, getContents)
28+import System.Exit (exitFailure)
29+
30+main :: IO ()
31+main = do
32+ deps <- depsNamesAndVersions
33+ echoHeader
34+ putStrLn ""
35+ forM_ deps $ \(d, _) -> putStr " " >> putStrLn d
36+ putStrLn ""
37+ manager <- newManager tlsManagerSettings
38+ results <- traverse (\d -> (d,) <$> depsLicense manager d) deps
39+ let failures = filter (not . snd) results
40+ if not (null failures)
41+ then do
42+ hPutStrLn stderr "Licenses were not found for the following packages:"
43+ traverse_ (hPutStrLn stderr . showPair . fst) failures
44+ exitFailure
45+ else
46+ hPutStrLn stderr "Everything looks ok."
47+
48+ where
49+ showPair (pkg, version) = pkg ++ " " ++ version
1850
1951echoHeader :: IO ()
2052echoHeader =
21− readFile "license-generator/header.txt" >>= putStr
22−
23−depsNames :: IO [String]
24−depsNames =
25− fmap (filter (/= "purescript") . lines) getContents
26−
27−depsLicense :: String -> IO ()
28−depsLicense dep = do
29− let licenseFile = if dep == "Glob" then "LICENSE.txt" else "LICENSE"
30− hPutStrLn stderr dep
31− license <- readProcess "curl" ["--silent", "https://hackage.haskell.org/package/" ++ dep ++ "/src/" ++ licenseFile] ""
32− putStrLn $ dep ++ " LICENSE file:"
33− putStrLn ""
34− putStrLn $ f license
53+ readFile "license-generator/header.txt" >>= putStr
54+
55+depsNamesAndVersions :: IO [(String, String)]
56+depsNamesAndVersions = do
57+ contents <- lines <$> getContents
58+ deps <- traverse parse contents
59+ pure (filter ((/= "purescript") . fst) deps)
60+
3561 where
36− f = unlines . map (trimEnd . (" " ++)) . lines
37− trimEnd = reverse . dropWhile isSpace . reverse
62+ parse line =
63+ case splitOn " " line of
64+ [pkg, vers] -> pure (pkg, vers)
65+ _ -> fail $ "Unable to parse input line: " ++ line
3866
39−main :: IO ()
40−main = do
41− deps <-depsNames
42− echoHeader
43− putStrLn ""
44− forM_ deps $ \d -> putStr " " >> putStrLn d
45− putStrLn ""
46− forM_ deps depsLicense
67+-- Returns True on success, False on failure.
68+depsLicense :: Manager -> (String, String) -> IO Bool
69+depsLicense manager dep = do
70+ hPutStrLn stderr (fst dep)
71+ result <- downloadLicenseFromHackage manager dep
72+ case result of
73+ FoundLicense license -> do
74+ putStrLn $ fst dep ++ " LICENSE file:"
75+ putStrLn ""
76+ putStrLn $ f license
77+ pure True
78+ LicenseNotNeeded ->
79+ pure True
80+ Failed ->
81+ pure False
82+ where
83+ f = unlines . map (trimEnd . (" " ++)) . lines
84+ trimEnd = reverse . dropWhile isSpace . reverse
85+
86+data LicenseResult
87+ = FoundLicense String
88+ | LicenseNotNeeded
89+ | Failed
90+ deriving (Show, Eq, Ord)
91+
92+downloadLicenseFromHackage :: Manager -> (String, String) -> IO LicenseResult
93+downloadLicenseFromHackage manager dep = do
94+ mcabalFile <- downloadCabalFileFromHackage manager dep
95+ case mcabalFile of
96+ Nothing ->
97+ pure Failed
98+ Just cabalFile ->
99+ let
100+ field f = extractCabalField f cabalFile
101+ in
102+ case (field "license", field "license-file") of
103+ (_, Just licenseFile) -> do
104+ getLicense licenseFile
105+ (Just "PublicDomain", _) -> do
106+ pure LicenseNotNeeded
107+ _ -> do
108+ hPutStrLn stderr $
109+ "Unable to extract license information from cabal file for " ++
110+ fst dep
111+ pure Failed
112+
113+ where
114+ getLicense licenseFile = do
115+ r <- downloadFromHackage ("/src/" ++ licenseFile) manager dep
116+ pure $ maybe Failed FoundLicense r
117+
118+-- Attempt to extract a field from a cabal file. Note that this only works for
119+-- fields which are at the top level, not inside subsections such as
120+-- 'executable' or 'test-suite'.
121+extractCabalField :: String -> String -> Maybe String
122+extractCabalField fieldName cabalFile =
123+ case mapMaybe (stripPrefixCaseInsensitive fieldName) (lines cabalFile) of
124+ [line] ->
125+ Just $
126+ line
127+ |> dropWhile isSpace
128+ |> drop 1 -- colon
129+ |> trim
130+ _ ->
131+ Nothing
132+ where
133+ x |> f = f x
134+
135+ trim =
136+ reverse . dropWhile isSpace . reverse . dropWhile isSpace
137+
138+ stripPrefixCaseInsensitive prefix str =
139+ if map toLower prefix `isPrefixOf` map toLower str
140+ then Just (drop (length prefix) str)
141+ else Nothing
142+
143+downloadCabalFileFromHackage :: Manager -> (String, String) -> IO (Maybe String)
144+downloadCabalFileFromHackage manager dep = do
145+ downloadFromHackage ("/src/" ++ fst dep ++ ".cabal") manager dep
146+
147+downloadFromHackage :: String -> Manager -> (String, String) -> IO (Maybe String)
148+downloadFromHackage urlpath manager dep = do
149+ let url = hackageBaseUrl dep ++ urlpath
150+ req <- parseRequest url
151+ resp <- httpLbs req manager
152+
153+ let status = responseStatus resp
154+ if (status /= ok200)
155+ then do
156+ hPutStrLn stderr $ "Bad status code for " ++ url
157+ hPutStrLn stderr $ "Expected 200, got " ++ show status
158+ pure Nothing
159+ else
160+ pure (Just (toString (responseBody resp)))
161+
162+ where
163+ toString = TL.unpack . TLE.decodeUtf8
164+
165+hackageBaseUrl :: (String, String) -> String
166+hackageBaseUrl (dep, version) =
167+ concat
168+ [ "https://hackage.haskell.org/package/"
169+ , dep
170+ , "-"
171+ , version
172+ ]