mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
24 lines
709 B
Nix
24 lines
709 B
Nix
{ lib, mkCoqDerivation, coq, mathcomp-algebra,
|
|
coq-elpi, mathcomp-zify, version ? null }:
|
|
|
|
with lib; mkCoqDerivation {
|
|
namePrefix = [ "coq" "mathcomp" ];
|
|
pname = "algebra-tactics";
|
|
owner = "math-comp";
|
|
inherit version;
|
|
|
|
defaultVersion = with versions;
|
|
switch [ coq.coq-version mathcomp-algebra.version ] [
|
|
{ cases = [ (range "8.13" "8.16") (isGe "1.12") ]; out = "1.0.0"; }
|
|
] null;
|
|
|
|
release."1.0.0".sha256 = "sha256-kszARPBizWbxSQ/Iqpf2vLbxYc6AjpUCLnSNlPcNfls=";
|
|
|
|
propagatedBuildInputs = [ mathcomp-algebra coq-elpi mathcomp-zify ];
|
|
|
|
meta = {
|
|
description = "Ring and field tactics for Mathematical Components";
|
|
maintainers = with maintainers; [ cohencyril ];
|
|
};
|
|
}
|