diff options
author | Ben Siraphob <bensiraphob@gmail.com> | 2021-05-09 23:03:43 +0700 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2021-06-01 12:38:18 +0200 |
commit | fb4061c6f1bf8b53bb86de625cc68bdce079bd03 (patch) | |
tree | 99c4ec31adb51af38a3cdd86e92d4e18c593fe06 /pkgs/development/coq-modules/topology | |
parent | 25edb8c2cae8917b072201298af59145a64c73b8 (diff) |
coqPackages.topology: init
Diffstat (limited to 'pkgs/development/coq-modules/topology')
-rw-r--r-- | pkgs/development/coq-modules/topology/default.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/development/coq-modules/topology/default.nix b/pkgs/development/coq-modules/topology/default.nix new file mode 100644 index 000000000000..b4367f0a8fcc --- /dev/null +++ b/pkgs/development/coq-modules/topology/default.nix @@ -0,0 +1,38 @@ +{ lib, mkCoqDerivation, coq, mathcomp, zorns-lemma, version ? null }: +with lib; + +mkCoqDerivation rec { + pname = "topology"; + + releaseRev = v: "v${v}"; + + release."8.12.0".sha256 = "sha256-ypHmHwzwZ6MQPYwuS3QyZmVOEPUCSbO2lhVaA6TypgQ="; + release."8.10.0".sha256 = "sha256-mCLF3JYIiO3AEW9yvlcLeF7zN4SjW3LG+Y5vYB0l55A="; + release."8.9.0".sha256 = "sha256-ZJh1BM34iZOQ75zqLIA+KtBjO2y33y0UpAw/ydCWQYc="; + release."8.8.0".sha256 = "sha256-Yfm3UymEP1e+BKMNPhdRFLdFhynMirtQ8E0HXnRiqHU="; + release."8.7.0".sha256 = "sha256-qcZQKvMRs5wWIAny8ciF9TrmEQfKKO9fWhwIRL+s7VA="; + release."8.6.0".sha256 = "sha256-eu/dBEFo3y6vnXlJljUD4hds6+qgAPQVvsuspyGHcj8="; + + inherit version; + defaultVersion = with versions; switch coq.coq-version [ + { case = isGe "8.12"; out = "8.12.0"; } + { case = "8.11"; out = "8.12.0"; } + { case = "8.10"; out = "8.10.0"; } + { case = "8.9"; out = "8.9.0"; } + { case = "8.8"; out = "8.8.0"; } + { case = "8.7"; out = "8.7.0"; } + { case = "8.6"; out = "8.6.0"; } + ] null; + + propagatedBuildInputs = optional (versions.isLe "8.12" defaultVersion) zorns-lemma; + + meta = { + description = "General topology in Coq"; + longDescription = '' + This library develops some of the basic concepts and results of + general topology in Coq. + ''; + maintainers = with maintainers; [ siraben ]; + license = licenses.lgpl21Plus; + }; +} |