2014-10-11 23:24:28 +01:00
|
|
|
{stdenv, fetchurl, coq, unzip}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
name = "coq-heq-${coq.coq-version}-${version}";
|
|
|
|
version = "0.92";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://www.mpi-sws.org/~gil/Heq/download/Heq-${version}.zip";
|
|
|
|
sha256 = "03y71c4qs6cmy3s2hjs05g7pcgk9sqma6flj15394yyxbvr9is1p";
|
|
|
|
};
|
|
|
|
|
2018-10-19 09:25:09 +01:00
|
|
|
buildInputs = with coq.ocamlPackages; [ ocaml camlp5 unzip ];
|
2014-10-11 23:24:28 +01:00
|
|
|
propagatedBuildInputs = [ coq ];
|
|
|
|
|
|
|
|
preBuild = "cd src";
|
|
|
|
|
2019-11-05 01:10:31 +00:00
|
|
|
installFlags = [ "COQLIB=$(out)/lib/coq/${coq.coq-version}" ];
|
2014-10-11 23:24:28 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://www.mpi-sws.org/~gil/Heq/;
|
|
|
|
description = "Heq : a Coq library for Heterogeneous Equality";
|
|
|
|
maintainers = with maintainers; [ jwiegley ];
|
|
|
|
platforms = coq.meta.platforms;
|
|
|
|
};
|
|
|
|
|
2018-03-21 14:00:47 +00:00
|
|
|
passthru = {
|
|
|
|
compatibleCoqVersions = v: !stdenv.lib.versionAtLeast v "8.8";
|
|
|
|
};
|
2014-10-11 23:24:28 +01:00
|
|
|
}
|