Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 mkCoqDerivation, 4 coq, 5 coq-elpi, 6 stdlib, 7 version ? null, 8}: 9 10mkCoqDerivation { 11 pname = "trakt"; 12 owner = "ecranceMERCE"; 13 14 release."1.0".sha256 = "sha256-Qhw5fWFYxUFO2kIWWz/og+4fuy9aYG27szfNk3IglhY="; 15 release."1.1".sha256 = "sha256-JmrtM9WcT8Bfy0WZCw8xdubuMomyXmfLXJwpnCNrvsg="; 16 release."1.2".sha256 = "sha256-YQRtK2MjjsMlytdu9iutUDKhwOo4yWrSwhyBb2zNHoE="; 17 release."1.2+8.13".sha256 = "sha256-hozms4sPSMr4lFkJ20x+uW9Wqt067bifnPQxdGyKhQQ="; 18 19 inherit version; 20 defaultVersion = 21 with lib.versions; 22 lib.switch 23 [ coq.version ] 24 [ 25 { 26 cases = [ (range "8.15" "8.17") ]; 27 out = "1.2"; 28 } 29 { 30 cases = [ (isEq "8.13") ]; 31 out = "1.2+8.13"; 32 } 33 { 34 cases = [ (range "8.13" "8.17") ]; 35 out = "1.1"; 36 } 37 ] 38 null; 39 40 propagatedBuildInputs = [ 41 coq-elpi 42 stdlib 43 ]; 44 45 meta = with lib; { 46 description = "Generic goal preprocessing tool for proof automation tactics in Coq"; 47 maintainers = with maintainers; [ siraben ]; 48 license = licenses.lgpl3Plus; 49 platforms = platforms.unix; 50 }; 51}