2014-10-12 00:24:28 +02:00
|
|
|
{stdenv, fetchurl, coq, unzip}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
name = "coq-paco-${coq.coq-version}-${version}";
|
2017-07-11 03:04:14 +02:00
|
|
|
version = "1.2.8";
|
2014-10-12 00:24:28 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://plv.mpi-sws.org/paco/paco-${version}.zip";
|
2017-07-11 03:04:14 +02:00
|
|
|
sha256 = "1lcmdr0y2d7gzyvr8dal3pi7fibbd60bpi1l32fw89xiyrgqhsqy";
|
2014-10-12 00:24:28 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|