nixpkgs/pkgs/development/coq-modules/category-theory/default.nix
John Wiegley 11f5352bbe
coqPackages.category-theory: Set highest compatibility to coq 8.14 (#150559)
* coqPackages.category-theory: Set highest compatibility to coq 8.14

* coqPackages.category-theory: 20210730 → 20211213

Co-authored-by: Vincent Laporte <Vincent.Laporte@gmail.com>
2021-12-16 10:00:31 +01:00

32 lines
1.3 KiB
Nix

{ lib, mkCoqDerivation, coq, ssreflect, equations, version ? null }:
with lib; mkCoqDerivation {
pname = "category-theory";
owner = "jwiegley";
release."20211213".rev = "449e30e929d56f6f90c22af2c91ffcc4d79837be";
release."20211213".sha256 = "sha256:0vgfmph5l1zn6j4b851rcm43s8y9r83swsz07rpzhmfg34pk0nl0";
release."20210730".rev = "d87937faaf7460bcd6985931ac36f551d67e11af";
release."20210730".sha256 = "04x7433yvibxknk6gy4971yzb4saa3z4dnfy9n6irhyafzlxyf0f";
release."20190414".rev = "706fdb4065cc2302d92ac2bce62cb59713253119";
release."20190414".sha256 = "16lg4xs2wzbdbsn148xiacgl4wq4xwfqjnjkdhfr3w0qh1s81hay";
release."20180709".rev = "3b9ba7b26a64d49a55e8b6ccea570a7f32c11ead";
release."20180709".sha256 = "0f2nr8dgn1ab7hr7jrdmr1zla9g9h8216q4yf4wnff9qkln8sbbs";
inherit version;
defaultVersion = with versions; switch coq.coq-version [
{ case = range "8.10" "8.14"; out = "20211213"; }
{ case = range "8.8" "8.9"; out = "20190414"; }
{ case = range "8.6" "8.7"; out = "20180709"; }
] null;
mlPlugin = true;
propagatedBuildInputs = [ ssreflect equations ];
meta = {
description = "A formalization of category theory in Coq for personal study and practical work";
maintainers = with maintainers; [ jwiegley ];
};
}