2023-11-16 04:20:00 +00:00
|
|
|
|
{ lib, mkCoqDerivation, coq, mathcomp, mathcomp-finmap
|
2023-03-15 16:39:30 +00:00
|
|
|
|
, fourcolor, hierarchy-builder, version ? null }:
|
2021-08-05 21:33:18 +00:00
|
|
|
|
|
|
|
|
|
mkCoqDerivation {
|
|
|
|
|
pname = "graph-theory";
|
|
|
|
|
|
|
|
|
|
release."0.9".sha256 = "sha256-Hl3JS9YERD8QQziXqZ9DqLHKp63RKI9HxoFYWSkJQZI=";
|
2023-03-15 16:39:30 +00:00
|
|
|
|
release."0.9.1".sha256 = "sha256-lRRY+501x+DqNeItBnbwYIqWLDksinWIY4x/iojRNYU=";
|
2023-11-16 04:20:00 +00:00
|
|
|
|
release."0.9.2".sha256 = "sha256-DPYCZS8CzkfgpR+lmYhV2v20ezMtyWp8hdWpuh0OOQU=";
|
|
|
|
|
release."0.9.3".sha256 = "sha256-9WX3gsw+4btJLqcGg2W+7Qy+jaZtkfw7vCp8sXYmaWw=";
|
2024-06-05 15:53:02 +00:00
|
|
|
|
release."0.9.4".sha256 = "sha256-fXTAsRdPisNhg8Umaa7S7gZ1M8zuPGg426KP9fAkmXQ=";
|
2021-08-05 21:33:18 +00:00
|
|
|
|
|
|
|
|
|
releaseRev = v: "v${v}";
|
|
|
|
|
|
|
|
|
|
inherit version;
|
2023-11-16 04:20:00 +00:00
|
|
|
|
defaultVersion = with lib.versions; lib.switch [ coq.coq-version mathcomp.version ] [
|
2024-07-01 15:47:52 +00:00
|
|
|
|
{ cases = [ (range "8.16" "8.19") (range "2.0.0" "2.2.0") ]; out = "0.9.4"; }
|
2024-06-05 15:53:02 +00:00
|
|
|
|
{ cases = [ (range "8.16" "8.18") (range "2.0.0" "2.1.0" ) ]; out = "0.9.3"; }
|
2023-11-16 04:20:00 +00:00
|
|
|
|
{ cases = [ (range "8.14" "8.18") (range "1.13.0" "1.18.0") ]; out = "0.9.2"; }
|
|
|
|
|
{ cases = [ (range "8.14" "8.16") (range "1.13.0" "1.14.0") ]; out = "0.9.1"; }
|
|
|
|
|
{ cases = [ (range "8.12" "8.13") (range "1.12.0" "1.14.0") ]; out = "0.9"; }
|
2021-08-05 21:33:18 +00:00
|
|
|
|
] null;
|
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
|
propagatedBuildInputs = [ mathcomp.algebra mathcomp-finmap mathcomp.fingroup fourcolor hierarchy-builder ];
|
2021-08-05 21:33:18 +00:00
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
|
meta = with lib; {
|
2021-08-05 21:33:18 +00:00
|
|
|
|
description = "Library of formalized graph theory results in Coq";
|
|
|
|
|
longDescription = ''
|
|
|
|
|
A library of formalized graph theory results, including various
|
|
|
|
|
standard results from the literature (e.g., Menger’s Theorem, Hall’s
|
|
|
|
|
Marriage Theorem, and the excluded minor characterization of
|
|
|
|
|
treewidth-two graphs) as well as some more recent results arising from
|
|
|
|
|
the study of relation algebra within the ERC CoVeCe project (e.g.,
|
|
|
|
|
soundness and completeness of an axiomatization of graph isomorphism).
|
|
|
|
|
'';
|
|
|
|
|
maintainers = with maintainers; [ siraben ];
|
|
|
|
|
license = licenses.cecill-b;
|
|
|
|
|
};
|
|
|
|
|
}
|