{ coq, mkCoqDerivation, mathcomp-boot, lib, version ? null, }: mkCoqDerivation { namePrefix = [ "coq" "mathcomp" ]; pname = "bigenough"; owner = "math-comp"; release = { "1.0.0".sha256 = "10g0gp3hk7wri7lijkrqna263346wwf6a3hbd4qr9gn8hmsx70wg"; "1.0.1".sha256 = "sha256:02f4dv4rz72liciwxb2k7acwx6lgqz4381mqyq5854p3nbyn06aw"; "1.0.2".sha256 = "sha256-fJ/5xr91VtvpIoaFwb3PlnKl6UHG6GEeBRVGZrVLMU0="; }; inherit version; defaultVersion = let case = case: out: { inherit case out; }; in with lib.versions; lib.switch coq.coq-version [ (case (range "8.10" "9.1") "1.0.2") (case (range "8.5" "8.14") "1.0.0") ] null; propagatedBuildInputs = [ mathcomp-boot ]; meta = { description = "Small library to do epsilon - N reasonning"; license = lib.licenses.cecill-b; }; }