coqPackages.QuickChick: add optional version parameter

This is the only package in coqPackages for which it was forgotten.
launchpad/nixpkgs/master
Théo Zimmermann 3 years ago
parent 44b0d80303
commit b8315c660b
No known key found for this signature in database
GPG Key ID: F1744A0942F536C7
  1. 3
      pkgs/development/coq-modules/QuickChick/default.nix

@ -1,9 +1,10 @@
{ lib, mkCoqDerivation, coq, ssreflect, coq-ext-lib, simple-io }:
{ lib, mkCoqDerivation, coq, ssreflect, coq-ext-lib, simple-io, version ? null }:
with lib;
let recent = versions.isGe "8.7" coq.coq-version; in
mkCoqDerivation {
pname = "QuickChick";
owner = "QuickChick";
inherit version;
defaultVersion = with versions; switch [ coq.coq-version ssreflect.version ] [
{ cases = [ "8.13" pred.true ]; out = "1.5.0"; }
{ cases = [ "8.12" pred.true ]; out = "1.4.0"; }

Loading…
Cancel
Save