Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

ocamlPackages.menhir: 20170101 -> 20170418

+3 -3
+2 -2
pkgs/development/ocaml-modules/menhir/default.nix
··· 1 1 { stdenv, fetchurl, ocaml, findlib, ocamlbuild 2 - , version ? if stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.02" then "20170101" else "20140422" 2 + , version ? if stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.02" then "20170418" else "20140422" 3 3 }@args: 4 4 5 5 let 6 6 sha256 = 7 7 if version == "20140422" then "1ki1f2id6a14h9xpv2k8yb6px7dyw8cvwh39csyzj4qpzx7wia0d" 8 - else if version == "20170101" then "0ika46i9gn3sjvspa62fb5dnr20k783vg5fj30649q0ialv6yscr" 8 + else if version == "20170418" then "0avxkighxfr9x3vh2dkc5r1k2w7q2dz005w7syyzr7qjybpavpii" 9 9 else throw ("menhir: unknown version " ++ version); 10 10 in 11 11
+1 -1
pkgs/development/ocaml-modules/menhir/generic.nix
··· 36 36 and Yann Régis-Gianas. 37 37 ''; 38 38 license = with licenses; [ 39 - qpl /* generator */ 39 + (if versionAtLeast version "20170418" then gpl2 else qpl) /* generator */ 40 40 lgpl2 /* library */ 41 41 ]; 42 42 platforms = ocaml.meta.platforms or [];