nixpkgs/pkgs/development/coq-modules/trakt/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
983 B
Nix
Raw Normal View History

2022-02-28 21:33:12 +00:00
{ lib, mkCoqDerivation, coq, coq-elpi, version ? null }:
mkCoqDerivation {
pname = "trakt";
owner = "ecranceMERCE";
release."1.0".sha256 = "sha256-Qhw5fWFYxUFO2kIWWz/og+4fuy9aYG27szfNk3IglhY=";
2023-06-27 12:22:31 +00:00
release."1.1".sha256 = "sha256-JmrtM9WcT8Bfy0WZCw8xdubuMomyXmfLXJwpnCNrvsg=";
release."1.2".sha256 = "sha256-YQRtK2MjjsMlytdu9iutUDKhwOo4yWrSwhyBb2zNHoE=";
release."1.2+8.13".sha256 = "sha256-hozms4sPSMr4lFkJ20x+uW9Wqt067bifnPQxdGyKhQQ=";
2022-02-28 21:33:12 +00:00
inherit version;
defaultVersion = with lib.versions; lib.switch [ coq.version ] [
{ cases = [ (range "8.15" "8.17") ]; out = "1.2"; }
2023-06-27 12:22:31 +00:00
{ cases = [ (isEq "8.13") ]; out = "1.2+8.13"; }
{ cases = [ (range "8.13" "8.17") ]; out = "1.1"; }
2022-02-28 21:33:12 +00:00
] null;
propagatedBuildInputs = [ coq-elpi ];
meta = with lib; {
2022-02-28 21:33:12 +00:00
description = "Generic goal preprocessing tool for proof automation tactics in Coq";
maintainers = with maintainers; [ siraben ];
license = licenses.lgpl3Plus;
2022-02-28 21:33:12 +00:00
platforms = platforms.unix;
};
}