Do not rely on coq-version when coq.version works just fine.

This commit is contained in:
Théo Zimmermann 2022-07-06 18:38:31 +02:00 committed by Vincent Laporte
parent c6815758ac
commit 0898779c39
4 changed files with 4 additions and 4 deletions

View file

@ -4,7 +4,7 @@ with lib; mkCoqDerivation {
pname = "cheerios";
owner = "uwplse";
inherit version;
defaultVersion = if versions.isGe "8.6" coq.coq-version then "20200201" else null;
defaultVersion = if versions.isGe "8.6" coq.version then "20200201" else null;
release."20200201".rev = "9c7f66e57b91f706d70afa8ed99d64ed98ab367d";
release."20200201".sha256 = "1h55s6lk47bk0lv5ralh81z55h799jbl9mhizmqwqzy57y8wqgs1";

View file

@ -4,7 +4,7 @@ with lib; mkCoqDerivation {
pname = "color";
owner = "fblanqui";
inherit version;
defaultVersion = with versions; switch coq.coq-version [
defaultVersion = with versions; switch coq.version [
{case = range "8.12" "8.16"; out = "1.8.2"; }
{case = range "8.10" "8.11"; out = "1.7.0"; }
{case = range "8.8" "8.9"; out = "1.6.0"; }

View file

@ -4,7 +4,7 @@ with lib; mkCoqDerivation rec {
pname = "InteractionTrees";
owner = "DeepSpec";
inherit version;
defaultVersion = with versions; switch coq.coq-version [
defaultVersion = with versions; switch coq.version [
{ case = range "8.10" "8.16"; out = "4.0.0"; }
] null;
release."4.0.0".sha256 = "0h5rhndl8syc24hxq1gch86kj7mpmgr89bxp2hmf28fd7028ijsm";

View file

@ -4,7 +4,7 @@ mkCoqDerivation {
pname = "InfSeqExt";
owner = "DistributedComponents";
inherit version;
defaultVersion = if lib.versions.isGe "8.5" coq.coq-version then "20200131" else null;
defaultVersion = if lib.versions.isGe "8.5" coq.version then "20200131" else null;
release."20200131".rev = "203d4c20211d6b17741f1fdca46dbc091f5e961a";
release."20200131".sha256 = "0xylkdmb2dqnnqinf3pigz4mf4zmczcbpjnn59g5g76m7f2cqxl0";
preConfigure = "patchShebangs ./configure";