3 ms·
Your question intrigued me, so I ran a quick script against the current Hackage database (the list of packages you download from Hackage when you run `cabal upd
by ionfish 15y ago
Your question intrigued me, so I ran a quick script against the current Hackage database (the list of packages you download from Hackage when you run `cabal update`). Here are my results:
BSD3: 2159 (72.38%)
GPL: 345 (11.57%)
LGPL: 117 (3.92%)
OtherLicense: 107 (3.59%)
PublicDomain: 85 (2.85%)
MIT: 67 (2.25%)
GPL-3: 64 (2.15%)
LGPL-2.1: 16 (0.54%)
GPL-2: 12 (0.4%)
LGPL-3: 8 (0.27%)
BSD4: 3 (0.1%)
Two libraries didn't list their license in their .cabal file. One of these is (from looking at their license file) available under a simple permissive license; the other doesn't make it clear.
- sigzero 15y agoWas it a Haskell script? :-)
- ionfish 15y agohttps://gist.github.com/943054 https://gist.github.com/943054 I've tidied it up and added some comments explaining what it does. The only dependency outside libraries which come with GHC is the 'text' package, which is included in the Haskell Platform.