2022-04-27 09:35:20 +00:00
|
|
|
{ python3Packages, easycrypt }:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
inherit (easycrypt) src version;
|
2022-09-30 11:47:45 +00:00
|
|
|
format = "other";
|
2022-04-27 09:35:20 +00:00
|
|
|
|
|
|
|
pname = "easycrypt-runtest";
|
|
|
|
|
|
|
|
dontConfigure = true;
|
|
|
|
dontBuild = true;
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonPath = with python3Packages; [ pyyaml ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp scripts/testing/runtest $out/bin/ec-runtest
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = easycrypt.meta // {
|
|
|
|
description = "Testing program for EasyCrypt formalizations";
|
|
|
|
};
|
|
|
|
}
|