2014-10-12 00:24:28 +02:00
|
|
|
{stdenv, fetchurl, coq, unzip}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
name = "coq-paco-${coq.coq-version}-${version}";
|
|
|
|
version = "1.2.7";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://plv.mpi-sws.org/paco/paco-${version}.zip";
|
|
|
|
sha256 = "010fs74c0cmb9sz5dmrgzg4pmb2mgwia4gm0g9l7j2fq5xxcschb";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ coq.ocaml coq.camlp5 unzip ];
|
|
|
|
propagatedBuildInputs = [ coq ];
|
|
|
|
|
|
|
|
preBuild = "cd src";
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
COQLIB=$out/lib/coq/${coq.coq-version}/
|
|
|
|
mkdir -p $COQLIB/user-contrib/Paco
|
|
|
|
cp -pR *.vo $COQLIB/user-contrib/Paco
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://plv.mpi-sws.org/paco/;
|
2015-04-30 17:05:14 +02:00
|
|
|
description = "A Coq library implementing parameterized coinduction";
|
2014-10-12 00:24:28 +02:00
|
|
|
maintainers = with maintainers; [ jwiegley ];
|
|
|
|
platforms = coq.meta.platforms;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|