Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
26 lines
561 B
Nix
26 lines
561 B
Nix
{ python3Packages, easycrypt }:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
inherit (easycrypt) src version;
|
|
format = "other";
|
|
|
|
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";
|
|
mainProgram = "ec-runtest";
|
|
};
|
|
}
|