Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, mkCoqDerivation, coq, version ? null }: 2 3mkCoqDerivation { 4 pname = "coqtail-math"; 5 owner = "coq-community"; 6 inherit version; 7 defaultVersion = with lib.versions; lib.switch coq.coq-version [ 8 { case = range "8.11" "8.15"; out = "8.14"; } 9 { case = range "8.11" "8.13"; out = "20201124"; } 10 ] null; 11 12 release."8.14".sha256 = "sha256:1k8f8idjnx0mf4z479vcx55iz42rjxrbplbznv80m2famxakq03c"; 13 release."20201124".rev = "5c22c3d7dcd8cf4c47cf84a281780f5915488e9e"; 14 release."20201124".sha256 = "sha256-wd+Lh7dpAD4zfpyKuztDmSFEZo5ZiFrR8ti2jUCVvoQ="; 15 mlPlugin = true; 16 meta = with lib; { 17 license = licenses.lgpl3Only; 18 maintainers = [ maintainers.siraben ]; 19 }; 20}