git.iko.soy/typeable/cabal2nix
on master help sign in
Merge pull request #61 from shlevy/fix-license-name

Give proper name for proprietary license

commitcdeaa1496606c1c74f72770449cc4e849e1f9f06 authorPeter Simons <simons@cryp.to> dateSat 8 Feb 2014, 13:49 (13 years ago) parentc69a3880dfb9e8
1 file changed+1−1
src/Cabal2Nix/License.hs+1−1
src/Cabal2Nix/License.hs+1−1
@@ -16,7 +16,7 @@ fromCabalLicense BSD3 = Known "self.stdenv.lib.lice
1616fromCabalLicense BSD4 = Known "self.stdenv.lib.licenses.bsd4"
1717fromCabalLicense MIT = Known "self.stdenv.lib.licenses.mit"
1818fromCabalLicense PublicDomain = Known "self.stdenv.lib.licenses.publicDomain"
19−fromCabalLicense AllRightsReserved = Known "self.stdenv.lib.licenses.proprietary"
19+fromCabalLicense AllRightsReserved = Known "self.stdenv.lib.licenses.unfree"
2020fromCabalLicense (Apache Nothing) = Known "self.stdenv.lib.licenses.asl20"
2121fromCabalLicense OtherLicense = Unknown Nothing
2222fromCabalLicense l = error $ "Cabal2Nix.License.fromCabalLicense: unknown license " ++ show l