Unverified Commit e144040f authored by Vincent Laporte's avatar Vincent Laporte Committed by GitHub
Browse files

coqPackages.ConCert: init at 1.0.0 (#498919)

parents 270900d4 e9660216
Loading
Loading
Loading
Loading
+53 −0
Original line number Diff line number Diff line
{
  lib,
  mkCoqDerivation,
  which,
  coq,
  metarocq,
  bignums,
  QuickChick,
  stdpp,
  TypedExtraction,
  version ? null,
}:

with lib;
mkCoqDerivation {
  pname = "ConCert";
  repo = "ConCert";
  owner = "AU-COBRA";
  domain = "github.com";

  inherit version;
  defaultVersion =
    let
      case = case: out: { inherit case out; };
    in

    lib.switch coq.coq-version [
      (case "9.1" "1.0.0")
    ] null;
  release."1.0.0".sha256 = "sha256-R+kWOZtR7T2LVQnHmLGDmGpLO0S76fPRWJpsO9nWqLE=";
  releaseRev = v: "v${v}";

  propagatedBuildInputs = [
    coq.ocamlPackages.findlib
    metarocq
    bignums
    QuickChick
    stdpp
    TypedExtraction
  ];

  postPatch = "patchShebangs ./extraction/process-extraction-examples.sh";

  buildPhase = ''
    make core
  '';

  meta = {
    description = "A framework for smart contract verification in Rocq";
    maintainers = with maintainers; [ _4ever2 ];
    license = licenses.mit;
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -88,6 +88,7 @@ let
          ;
        ocamlPackages = ocamlPackages_4_14;
      };
      ConCert = callPackage ../development/coq-modules/ConCert { };
      coq-bits = callPackage ../development/coq-modules/coq-bits { };
      coq-elpi = callPackage ../development/coq-modules/coq-elpi { };
      coq-hammer = callPackage ../development/coq-modules/coq-hammer { };