2021-12-06 16:07:01 +00:00
|
|
|
{ coq, mkCoqDerivation, mathcomp-ssreflect, mathcomp-fingroup,
|
|
|
|
lib, version ? null }@args:
|
2023-02-02 18:25:31 +00:00
|
|
|
|
|
|
|
mkCoqDerivation {
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
namePrefix = [ "coq" "mathcomp" ];
|
|
|
|
pname = "tarjan";
|
|
|
|
owner = "math-comp";
|
|
|
|
|
|
|
|
inherit version;
|
2023-02-02 18:25:31 +00:00
|
|
|
defaultVersion = with lib.versions;
|
2023-10-09 19:29:22 +00:00
|
|
|
lib.switch [ coq.version mathcomp-ssreflect.version ] [
|
2024-07-01 15:47:52 +00:00
|
|
|
{ cases = [ (range "8.16" "8.20") (isGe "2.0.0") ]; out = "1.0.2"; }
|
2023-10-09 19:29:22 +00:00
|
|
|
{ cases = [ (range "8.12" "8.18") (range "1.12.0" "1.17.0") ]; out = "1.0.1"; }
|
|
|
|
{ cases = [ (range "8.10" "8.16") (range "1.12.0" "1.17.0") ]; out = "1.0.0"; }
|
|
|
|
] null;
|
|
|
|
release."1.0.2".sha256 = "sha256-U20xgA+e9KTRdvILD1cxN6ia+dlA8uBTIbc4QlKz9ss=";
|
|
|
|
release."1.0.1".sha256 = "sha256-utNjFCAqC5xOuhdyKhfMZkRYJD0xv9Gt6U3ZdQ56mek=";
|
2021-12-06 16:07:01 +00:00
|
|
|
release."1.0.0".sha256 = "sha256:0r459r0makshzwlygw6kd4lpvdjc43b3x5y9aa8x77f2z5gymjq1";
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ mathcomp-ssreflect mathcomp-fingroup ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Proofs of Tarjan and Kosaraju connected components algorithms";
|
2023-02-02 18:25:31 +00:00
|
|
|
license = lib.licenses.cecill-b;
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
}
|