Add support for the ISC license.
commit6890fe65836845686fc06e66dee5a2f5cb60ebb9
authorPeter Simons <simons@cryp.to>
dateWed 17 Jun 2015, 12:53 (11 years ago)
parent0502416
src/Cabal2Nix/License.hs+1
@@ -25,5 +25,6 @@ fromCabalLicense UnspecifiedLicense = Known "stdenv.lib.lice
2525fromCabalLicense AllRightsReserved = Known "stdenv.lib.licenses.unfree"
2626fromCabalLicense (Apache Nothing) = Known "stdenv.lib.licenses.asl20"
2727fromCabalLicense (Apache (Just (Version [2,0] []))) = Known "stdenv.lib.licenses.asl20"
28+fromCabalLicense ISC = Known "stdenv.lib.licenses.isc"
2829fromCabalLicense OtherLicense = Unknown Nothing
2930fromCabalLicense l = error $ "Cabal2Nix.License.fromCabalLicense: unknown license " ++ show l