1 { lib, mkCoqDerivation, coq, aac-tactics, mathcomp, version ? null }:
4 pname = "relation-algebra";
8 if lib.versions.isGe "1.7.6" v
12 release."1.7.9".sha256 = "sha256-1WzAZyj6q7s0u/9r7lahzxTl8612EA540l9wpm7TYEg=";
13 release."1.7.8".sha256 = "sha256-RITFd3G5TjY+rFzW073Ao1AGU+u6OGQyQeGHVodAXnA=";
14 release."1.7.7".sha256 = "sha256:1dff3id6nypl2alhk9rcifj3dab0j78dym05blc525lawsmc26l2";
15 release."1.7.6".sha256 = "sha256:02gsj06zcy9zgd0h1ibqspwfiwm36pkkgg9cz37k4bxzcapxcr6w";
16 release."1.7.5".sha256 = "sha256-XdO8agoJmNXPv8Ho+KTlLCB4oRlQsb0w06aM9M16ZBU=";
17 release."1.7.4".sha256 = "sha256-o+v2CIAa2+9tJ/V8DneDTf4k31KMHycgMBLaQ+A4ufM=";
18 release."1.7.3".sha256 = "sha256-4feSNfi7h4Yhwn5L+9KP9K1S7HCPvsvaVWwoQSTFvos=";
19 release."1.7.2".sha256 = "sha256-f4oNjXspNMEz3AvhIeYO3avbUa1AThoC9DbcHMb5A2o=";
20 release."1.7.1".sha256 = "sha256-WWVMcR6z8rT4wzZPb8SlaVWGe7NC8gScPqawd7bltQA=";
23 defaultVersion = with lib.versions; lib.switch coq.coq-version [
24 { case = isEq "8.17"; out = "1.7.9"; }
25 { case = isEq "8.16"; out = "1.7.8"; }
26 { case = isEq "8.15"; out = "1.7.7"; }
27 { case = isEq "8.14"; out = "1.7.6"; }
28 { case = isEq "8.13"; out = "1.7.5"; }
29 { case = isEq "8.12"; out = "1.7.4"; }
30 { case = isEq "8.11"; out = "1.7.3"; }
31 { case = isEq "8.10"; out = "1.7.2"; }
32 { case = isEq "8.9"; out = "1.7.1"; }
37 propagatedBuildInputs = [ aac-tactics mathcomp.ssreflect ];
40 description = "Relation algebra library for Coq";
41 maintainers = with maintainers; [ siraben ];
42 license = licenses.gpl3Plus;
43 platforms = platforms.unix;