1 { lib, mkCoqDerivation, coq, ssreflect, equations, version ? null }:
3 with lib; mkCoqDerivation {
5 pname = "category-theory";
8 release."20190414".rev = "706fdb4065cc2302d92ac2bce62cb59713253119";
9 release."20190414".sha256 = "16lg4xs2wzbdbsn148xiacgl4wq4xwfqjnjkdhfr3w0qh1s81hay";
10 release."20180709".rev = "3b9ba7b26a64d49a55e8b6ccea570a7f32c11ead";
11 release."20180709".sha256 = "0f2nr8dgn1ab7hr7jrdmr1zla9g9h8216q4yf4wnff9qkln8sbbs";
14 defaultVersion = with versions; switch coq.coq-version [
15 { case = range "8.8" "8.9"; out = "20190414"; }
16 { case = range "8.6" "8.7"; out = "20180709"; }
20 propagatedBuildInputs = [ ssreflect equations ];
23 description = "A formalization of category theory in Coq for personal study and practical work";
24 maintainers = with maintainers; [ jwiegley ];