36 lines
1.1 KiB
Nix
36 lines
1.1 KiB
Nix
|
{ 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 [
|
||
|
{ case = isGe "8.13"; out = "1.7.5"; }
|
||
|
{ case = isGe "8.12"; out = "1.7.4"; }
|
||
|
{ case = isGe "8.11"; out = "1.7.3"; }
|
||
|
{ case = isGe "8.10"; out = "1.7.2"; }
|
||
|
{ case = isGe "8.9"; out = "1.7.1"; }
|
||
|
] 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;
|
||
|
};
|
||
|
}
|