depot/third_party/nixpkgs/pkgs/development/coq-modules/waterproof/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

24 lines
610 B
Nix

{ lib, mkCoqDerivation, coq, version ? null }:
mkCoqDerivation {
pname = "waterproof";
owner = "impermeable";
repo = "coq-waterproof";
inherit version;
defaultVersion = let inherit (lib.versions) range; in
lib.switch coq.coq-version [
{ case = range "8.18" "8.18"; out = "2.1.1+8.18"; }
] null;
release = {
"2.1.1+8.18".sha256 = "sha256-jYuQ9SPFRefNCUfn6+jEaJ4399EnU0gXPPkEDCpJYOI=";
};
mlPlugin = true;
useDune = true;
meta = {
description = "Coq proofs in a style that resembles non-mechanized mathematical proofs";
license = lib.licenses.lgpl3Plus;
};
}