Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 38 lines 1.4 kB view raw
1{ lib, mkCoqDerivation, coq, mathcomp, zorns-lemma, version ? null }: 2 3mkCoqDerivation rec { 4 pname = "topology"; 5 6 releaseRev = v: "v${v}"; 7 8 release."9.0.0".sha256 = "sha256:03lgy53xg9pmrdd3d8qb4087k5qjnk260655svp6d79x4p2lxr8c"; 9 release."8.12.0".sha256 = "sha256-ypHmHwzwZ6MQPYwuS3QyZmVOEPUCSbO2lhVaA6TypgQ="; 10 release."8.10.0".sha256 = "sha256-mCLF3JYIiO3AEW9yvlcLeF7zN4SjW3LG+Y5vYB0l55A="; 11 release."8.9.0".sha256 = "sha256-ZJh1BM34iZOQ75zqLIA+KtBjO2y33y0UpAw/ydCWQYc="; 12 release."8.8.0".sha256 = "sha256-Yfm3UymEP1e+BKMNPhdRFLdFhynMirtQ8E0HXnRiqHU="; 13 release."8.7.0".sha256 = "sha256-qcZQKvMRs5wWIAny8ciF9TrmEQfKKO9fWhwIRL+s7VA="; 14 release."8.6.0".sha256 = "sha256-eu/dBEFo3y6vnXlJljUD4hds6+qgAPQVvsuspyGHcj8="; 15 16 inherit version; 17 defaultVersion = with lib.versions; lib.switch coq.coq-version [ 18 { case = range "8.10" "8.16"; out = "9.0.0"; } 19 { case = "8.9"; out = "8.9.0"; } 20 { case = "8.8"; out = "8.8.0"; } 21 { case = "8.7"; out = "8.7.0"; } 22 { case = "8.6"; out = "8.6.0"; } 23 ] null; 24 25 propagatedBuildInputs = [ zorns-lemma ]; 26 27 useDuneifVersion = lib.versions.isGe "9.0"; 28 29 meta = with lib; { 30 description = "General topology in Coq"; 31 longDescription = '' 32 This library develops some of the basic concepts and results of 33 general topology in Coq. 34 ''; 35 maintainers = with maintainers; [ siraben ]; 36 license = licenses.lgpl21Plus; 37 }; 38}