3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/coq-modules/mathcomp-analysis/default.nix
Vincent Laporte f09a13899d coqPackages.mathcomp: 1.7.0 -> 1.8.0
coqPackages.mathcomp-finmap: 1.1.0 -> 1.2.0
coqPackages.mathcomp-analysis: 0.1.0 -> 0.2.0
2019-04-23 09:35:38 +02:00

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" ];
};
}