mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 23:52:33 +00:00
30 lines
872 B
Nix
30 lines
872 B
Nix
{ lib, mkCoqDerivation, coq, mathcomp, equations, paramcoq, version ? null }:
|
|
with lib;
|
|
|
|
mkCoqDerivation {
|
|
pname = "hydra-battles";
|
|
owner = "coq-community";
|
|
|
|
release."0.3".rev = "v0.3";
|
|
release."0.3".sha256 = "sha256-rXP/vJqVEg2tN/I9LWV13YQ1+C7M6lzGu3oI+7pSZzg=";
|
|
|
|
inherit version;
|
|
defaultVersion = with versions; switch coq.coq-version [
|
|
{ case = isGe "8.11"; out = "0.3"; }
|
|
] null;
|
|
|
|
propagatedBuildInputs = [ mathcomp equations paramcoq ];
|
|
|
|
meta = {
|
|
description = "Variations on Kirby & Paris' hydra battles and other entertaining math in Coq";
|
|
longDescription = ''
|
|
Variations on Kirby & Paris' hydra battles and other
|
|
entertaining math in Coq (collaborative, documented, includes
|
|
exercises)
|
|
'';
|
|
maintainers = with maintainers; [ siraben ];
|
|
license = licenses.mit;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|