Files
nixpkgs/pkgs/development/coq-modules/mathcomp-apery/default.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

53 lines
954 B
Nix

{
coq,
mkCoqDerivation,
mathcomp,
coqeal,
mathcomp-real-closed,
mathcomp-bigenough,
mathcomp-zify,
mathcomp-algebra-tactics,
lib,
version ? null,
}:
mkCoqDerivation {
pname = "apery";
inherit version;
defaultVersion =
let
case = coq: mc: out: {
cases = [
coq
mc
];
inherit out;
};
in
with lib.versions;
lib.switch
[ coq.coq-version mathcomp.version ]
[
(case (range "8.13" "8.16") (range "1.12.0" "1.17.0") "1.0.2")
]
null;
release."1.0.2".sha256 = "sha256-llxyMKYvWUA7fyroG1S/jtpioAoArmarR1edi3cikcY=";
propagatedBuildInputs = [
mathcomp.field
coqeal
mathcomp-real-closed
mathcomp-bigenough
mathcomp-zify
mathcomp-algebra-tactics
];
meta = {
description = "Formally verified proof in Coq, by computer algebra, that ζ(3) is irrational";
license = lib.licenses.cecill-c;
};
}