rage: fix license for unstable

Beginning with the next development release (> 7.0.0.9)
Ragel is licensed under an MIT style license. Ragel 6
remains under GPL v2. Please see the file COPYING in the
source.

+4 -2
+4 -2
pkgs/development/tools/parsing/ragel/default.nix
··· 3 3 }: 4 4 5 5 let 6 - generic = { version, sha256 }: 6 + generic = { version, sha256, license }: 7 7 stdenv.mkDerivation rec { 8 8 name = "ragel-${version}"; 9 9 ··· 27 27 meta = with stdenv.lib; { 28 28 homepage = http://www.complang.org/ragel; 29 29 description = "State machine compiler"; 30 - license = licenses.gpl2; 30 + inherit license; 31 31 platforms = platforms.unix; 32 32 maintainers = with maintainers; [ pSub ]; 33 33 }; ··· 39 39 ragelStable = generic { 40 40 version = "6.10"; 41 41 sha256 = "0gvcsl62gh6sg73nwaxav4a5ja23zcnyxncdcdnqa2yjcpdnw5az"; 42 + license = stdenv.lib.licenses.gpl2; 42 43 }; 43 44 44 45 ragelDev = generic { 45 46 version = "7.0.0.10"; 46 47 sha256 = "1v4ddzxal4gf8l8nkn32qabba6nbpd2mg8sphgmdn8kaqv52nmj0"; 48 + license = stdenv.lib.licenses.mit; 47 49 }; 48 50 }