git.iko.soy/typeable/cabal2nix
on master help sign in
Update License.hs
commitb317cf0643601f7616d9608da2acc3b2fd924b6f authorAycan iRiCAN <iricanaycan@gmail.com> dateThu 18 Sep 2014, 09:13 (12 years ago) parenta2b651c
1 file changed+1
src/Cabal2Nix/License.hs+1
src/Cabal2Nix/License.hs+1
@@ -12,6 +12,7 @@ fromCabalLicense (LGPL Nothing) = Unknown (Just "LGPL")
1212fromCabalLicense (LGPL (Just (Version [2,1] []))) = Known "self.stdenv.lib.licenses.lgpl21"
1313fromCabalLicense (LGPL (Just (Version [2] []))) = Known "self.stdenv.lib.licenses.lgpl2"
1414fromCabalLicense (LGPL (Just (Version [3] []))) = Known "self.stdenv.lib.licenses.gpl3"
15+fromCabalLicense (AGPL (Just (Version [3] []))) = Known "self.stdenv.lib.licenses.agpl3"
1516fromCabalLicense BSD3 = Known "self.stdenv.lib.licenses.bsd3"
1617fromCabalLicense BSD4 = Known "self.stdenv.lib.licenses.bsd4"
1718fromCabalLicense MIT = Known "self.stdenv.lib.licenses.mit"