git.iko.soy/typeable/cabal2nix
on master help sign in
Added support for LGPL2
commit23fc1e169be78e72f8be68473a7722aec768a822 authorPatrick John Wheeler <Patrick.John.Wheeler@gmail.com> dateTue 5 Mar 2013, 01:03 (14 years ago) parentcf9c465
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"