Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at flake-libs 31 lines 745 B view raw
1{ 2 lib, 3 mkCoqDerivation, 4 coq, 5 StructTact, 6 version ? null, 7}: 8 9mkCoqDerivation { 10 pname = "cheerios"; 11 owner = "uwplse"; 12 inherit version; 13 defaultVersion = 14 with lib.versions; 15 lib.switch coq.version [ 16 { 17 case = range "8.14" "9.0"; 18 out = "20230107"; 19 } 20 { 21 case = range "8.6" "8.16"; 22 out = "20200201"; 23 } 24 ] null; 25 release."20230107".rev = "bad8ad2476e14df6b5a819b7aaddc27a7c53fb69"; 26 release."20230107".sha256 = "sha256-G7a+6h4VDk7seKvFr6wy7vYqYmhUje78TYCj98wXrr8="; 27 release."20200201".rev = "9c7f66e57b91f706d70afa8ed99d64ed98ab367d"; 28 release."20200201".sha256 = "1h55s6lk47bk0lv5ralh81z55h799jbl9mhizmqwqzy57y8wqgs1"; 29 30 propagatedBuildInputs = [ StructTact ]; 31}