2022-11-23 17:57:05 +00:00
|
|
|
{ lib, mkCoqDerivation, coq, mathcomp-algebra,
|
|
|
|
coq-elpi, mathcomp-zify, version ? null }:
|
|
|
|
|
2023-01-21 22:19:48 +00:00
|
|
|
mkCoqDerivation {
|
2022-11-23 17:57:05 +00:00
|
|
|
namePrefix = [ "coq" "mathcomp" ];
|
|
|
|
pname = "algebra-tactics";
|
|
|
|
owner = "math-comp";
|
|
|
|
inherit version;
|
|
|
|
|
2023-01-21 22:19:48 +00:00
|
|
|
defaultVersion = with lib.versions;
|
|
|
|
lib.switch [ coq.coq-version mathcomp-algebra.version ] [
|
2022-11-23 17:57:05 +00:00
|
|
|
{ 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";
|
2023-01-21 22:19:48 +00:00
|
|
|
maintainers = with lib.maintainers; [ cohencyril ];
|
2022-11-23 17:57:05 +00:00
|
|
|
};
|
|
|
|
}
|