git.iko.soy/typeable/cabal2nix
on master help sign in
Merge pull request #47 from Davorak/master

Added support for LGPL2

commite8c6ba5826d837b6e662bdb4d48704f603647a61 authorPeter Simons <simons@cryp.to> dateTue 5 Mar 2013, 01:42 (14 years ago) parentcf9c46523fc1e1
1 file changed+1
src/Cabal2Nix/License.hs+1
src/Cabal2Nix/License.hs+1
@@ -10,6 +10,7 @@ fromCabalLicense (GPL (Just (Version [2] []))) = Known "self.stdenv.lib.lice
1010fromCabalLicense (GPL (Just (Version [3] []))) = Known "self.stdenv.lib.licenses.gpl3"
1111fromCabalLicense (LGPL Nothing) = Unknown (Just "LGPL")
1212fromCabalLicense (LGPL (Just (Version [2,1] []))) = Known "self.stdenv.lib.licenses.lgpl21"
13+fromCabalLicense (LGPL (Just (Version [2] []))) = Known "self.stdenv.lib.licenses.lgpl2"
1314fromCabalLicense (LGPL (Just (Version [3] []))) = Known "self.stdenv.lib.licenses.gpl3"
1415fromCabalLicense BSD3 = Known "self.stdenv.lib.licenses.bsd3"
1516fromCabalLicense BSD4 = Known "self.stdenv.lib.licenses.bsd4"