2022-10-21 18:38:19 +00:00
|
|
|
{ stdenv, coq, simple-io }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "coq-simple-io-test";
|
|
|
|
inherit (simple-io) src version;
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ coq simple-io ];
|
2022-10-21 18:38:19 +00:00
|
|
|
dontConfigure = true;
|
|
|
|
dontBuild = true;
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
cd test
|
2023-07-15 17:15:38 +00:00
|
|
|
for p in Argv.v Example.v HelloWorld.v TestExtraction.v TestOcamlbuild.v TestPervasives.v
|
2022-10-21 18:38:19 +00:00
|
|
|
do
|
|
|
|
[ -f $p ] && echo $p && coqc $p
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = "touch $out";
|
|
|
|
|
|
|
|
}
|