blob: 98d447d21d382555ac04ecae21acb654ab9147e7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{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/;
description = "A Coq library implementing parameterized coinduction";
maintainers = with maintainers; [ jwiegley ];
platforms = coq.meta.platforms;
};
}
|