2021-05-20 23:08:51 +00:00
|
|
|
{ lib, mkCoqDerivation, coq, aac-tactics, mathcomp, version ? null }:
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
mkCoqDerivation {
|
|
|
|
pname = "relation-algebra";
|
|
|
|
owner = "damien-pous";
|
|
|
|
|
|
|
|
releaseRev = v: "v${v}";
|
|
|
|
|
|
|
|
release."1.7.5".sha256 = "sha256-XdO8agoJmNXPv8Ho+KTlLCB4oRlQsb0w06aM9M16ZBU=";
|
|
|
|
release."1.7.4".sha256 = "sha256-o+v2CIAa2+9tJ/V8DneDTf4k31KMHycgMBLaQ+A4ufM=";
|
|
|
|
release."1.7.3".sha256 = "sha256-4feSNfi7h4Yhwn5L+9KP9K1S7HCPvsvaVWwoQSTFvos=";
|
|
|
|
release."1.7.2".sha256 = "sha256-f4oNjXspNMEz3AvhIeYO3avbUa1AThoC9DbcHMb5A2o=";
|
|
|
|
release."1.7.1".sha256 = "sha256-WWVMcR6z8rT4wzZPb8SlaVWGe7NC8gScPqawd7bltQA=";
|
|
|
|
|
|
|
|
inherit version;
|
|
|
|
defaultVersion = with versions; switch coq.coq-version [
|
2021-10-14 00:43:12 +00:00
|
|
|
{ case = isEq "8.13"; out = "1.7.5"; }
|
|
|
|
{ case = isEq "8.12"; out = "1.7.4"; }
|
|
|
|
{ case = isEq "8.11"; out = "1.7.3"; }
|
|
|
|
{ case = isEq "8.10"; out = "1.7.2"; }
|
|
|
|
{ case = isEq "8.9"; out = "1.7.1"; }
|
2021-05-20 23:08:51 +00:00
|
|
|
] null;
|
|
|
|
|
|
|
|
mlPlugin = true;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ aac-tactics mathcomp.ssreflect ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Relation algebra library for Coq";
|
|
|
|
maintainers = with maintainers; [ siraben ];
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|