mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
ocamlPackages.menhir: 20160526 -> 20161115
This commit is contained in:
parent
6f1308ba95
commit
5b59e91f73
@ -1,11 +1,11 @@
|
||||
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild
|
||||
, version ? if stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.02" then "20160526" else "20140422"
|
||||
, version ? if stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.02" then "20161115" else "20140422"
|
||||
}@args:
|
||||
|
||||
let
|
||||
sha256 =
|
||||
if version == "20140422" then "1ki1f2id6a14h9xpv2k8yb6px7dyw8cvwh39csyzj4qpzx7wia0d"
|
||||
else if version == "20160526" then "1i6yqxhs29n6qcvi6c5qbg5mh8752ywsyv1dr6x1qcv0ncqpxhns"
|
||||
else if version == "20161115" then "1j8nmcj2gq6hyyi16z27amiahplgrnk4ppchpm0v4qy80kwkf47k"
|
||||
else throw ("menhir: unknown version " ++ version);
|
||||
in
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user