forked from mirrors/nixpkgs
f09a13899d
coqPackages.mathcomp-finmap: 1.1.0 -> 1.2.0 coqPackages.mathcomp-analysis: 0.1.0 -> 0.2.0
31 lines
849 B
Nix
31 lines
849 B
Nix
{ stdenv, fetchFromGitHub, coq, mathcomp-bigenough, mathcomp-finmap }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.2.0";
|
|
name = "coq${coq.coq-version}-mathcomp-analysis-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "math-comp";
|
|
repo = "analysis";
|
|
rev = version;
|
|
sha256 = "1186xjxgns4ns1szyi931964bjm0mp126qzlv10mkqqgfw07nhrd";
|
|
};
|
|
|
|
buildInputs = [ coq ];
|
|
propagatedBuildInputs = [ mathcomp-bigenough mathcomp-finmap ];
|
|
|
|
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
|
|
|
|
meta = {
|
|
description = "Analysis library compatible with Mathematical Components";
|
|
inherit (src.meta) homepage;
|
|
inherit (coq.meta) platforms;
|
|
license = stdenv.lib.licenses.cecill-c;
|
|
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
|
};
|
|
|
|
passthru = {
|
|
compatibleCoqVersions = v: builtins.elem v [ "8.8" "8.9" ];
|
|
};
|
|
}
|