git.iko.soy/typeable/cabal2nix
on master help sign in
Add support for the MPL-2.0 license.
commit372de7815f1b98ac04776ce7b3a46e7b824128a9 authorPeter Simons <simons@cryp.to> dateSun 14 Dec 2014, 13:44 (12 years ago) parent3061614
1 file changed+1
src/Cabal2Nix/License.hs+1
src/Cabal2Nix/License.hs+1
@@ -16,6 +16,7 @@ fromCabalLicense (AGPL Nothing) = Unknown (Just "AGPL")
1616fromCabalLicense (AGPL (Just (Version [3] []))) = Known "stdenv.lib.licenses.agpl3"
1717fromCabalLicense (AGPL (Just (Version [3,0] []))) = Known "stdenv.lib.licenses.agpl3"
1818fromCabalLicense (UnknownLicense "BSD2") = Known "stdenv.lib.licenses.bsd2"
19+fromCabalLicense (UnknownLicense "MPL-2.0") = Known "stdenv.lib.licenses.mpl20"
1920fromCabalLicense BSD3 = Known "stdenv.lib.licenses.bsd3"
2021fromCabalLicense BSD4 = Unknown (Just "BSD4")
2122fromCabalLicense MIT = Known "stdenv.lib.licenses.mit"