git.iko.soy/typeable/cabal2nix
on master help sign in
Merge pull request #95 from aycanirican/patch-1

Update License.hs

commitbaa4880a6826743f81c33807a15ce08134b0157a authorPeter Simons <simons@cryp.to> dateFri 3 Oct 2014, 20:07 (12 years ago) parentff37bc7b317cf0
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"