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

27 lines
749 B
Nix
Raw Normal View History

2021-05-08 19:17:50 +02:00
{ lib, mkCoqDerivation, coq, hydra-battles, pocklington, version ? null }:
with lib;
mkCoqDerivation {
pname = "goedel";
owner = "coq-community";
2021-10-15 11:56:29 +02:00
releaseRev = (v: "v${v}");
2021-05-08 19:17:50 +02:00
release."8.12.0".sha256 = "sha256-4lAwWFHGUzPcfHI9u5b+N+7mQ0sLJ8bH8beqQubfFEQ=";
2021-10-15 11:56:29 +02:00
release."8.13.0".sha256 = "0sqqkmj6wsk4xmhrnqkhcsbsrqjzn2gnk67nqzgrmjpw5danz8y5";
2021-05-08 19:17:50 +02:00
inherit version;
defaultVersion = with versions; switch coq.coq-version [
2021-10-15 11:56:29 +02:00
{ case = range "8.11" "8.14"; out = "8.13.0"; }
2021-05-08 19:17:50 +02:00
] null;
propagatedBuildInputs = [ hydra-battles pocklington ];
meta = {
description = "The Gödel-Rosser 1st incompleteness theorem in Coq";
maintainers = with maintainers; [ siraben ];
license = licenses.mit;
platforms = platforms.unix;
};
}