nixpkgs/pkgs/development/coq-modules/category-theory/default.nix

30 lines
1.1 KiB
Nix
Raw Normal View History

2020-08-28 23:05:46 +02:00
{ lib, mkCoqDerivation, coq, ssreflect, equations, version ? null }:
2020-08-28 23:05:46 +02:00
with lib; mkCoqDerivation {
2020-08-28 23:05:46 +02:00
pname = "category-theory";
owner = "jwiegley";
release."20210730".rev = "d87937faaf7460bcd6985931ac36f551d67e11af";
release."20210730".sha256 = "04x7433yvibxknk6gy4971yzb4saa3z4dnfy9n6irhyafzlxyf0f";
2020-08-28 23:05:46 +02:00
release."20190414".rev = "706fdb4065cc2302d92ac2bce62cb59713253119";
release."20190414".sha256 = "16lg4xs2wzbdbsn148xiacgl4wq4xwfqjnjkdhfr3w0qh1s81hay";
release."20180709".rev = "3b9ba7b26a64d49a55e8b6ccea570a7f32c11ead";
release."20180709".sha256 = "0f2nr8dgn1ab7hr7jrdmr1zla9g9h8216q4yf4wnff9qkln8sbbs";
2020-08-28 23:05:46 +02:00
inherit version;
defaultVersion = with versions; switch coq.coq-version [
{ case = range "8.10" "8.13"; out = "20210730"; }
2020-08-28 23:05:46 +02:00
{ case = range "8.8" "8.9"; out = "20190414"; }
{ case = range "8.6" "8.7"; out = "20180709"; }
] null;
2020-08-28 23:05:46 +02:00
mlPlugin = true;
2018-10-16 20:38:43 +02:00
propagatedBuildInputs = [ ssreflect equations ];
2020-08-28 23:05:46 +02:00
meta = {
description = "A formalization of category theory in Coq for personal study and practical work";
maintainers = with maintainers; [ jwiegley ];
};
}