about summary refs log tree commit diff
path: root/pkgs/development/coq-modules/mathcomp-finmap
diff options
context:
space:
mode:
authorCyril Cohen <cohen@crans.org>2019-04-09 19:21:57 +0200
committerVincent Laporte <Vincent.Laporte@gmail.com>2019-05-15 14:11:21 +0000
commitb71c308591e1bfc3708c31dc1a94fcae636b5557 (patch)
tree64383399a44c1ffb465a91c6d46c9407cbfaa422 /pkgs/development/coq-modules/mathcomp-finmap
parent4ec7a6eda993986a2e0e00c999e92e290e9dccac (diff)
coqPackages: refactor mathcomp packages
Closes #61456
Diffstat (limited to 'pkgs/development/coq-modules/mathcomp-finmap')
-rw-r--r--pkgs/development/coq-modules/mathcomp-finmap/default.nix40
1 files changed, 0 insertions, 40 deletions
diff --git a/pkgs/development/coq-modules/mathcomp-finmap/default.nix b/pkgs/development/coq-modules/mathcomp-finmap/default.nix
deleted file mode 100644
index c36b72711ff61..0000000000000
--- a/pkgs/development/coq-modules/mathcomp-finmap/default.nix
+++ /dev/null
@@ -1,40 +0,0 @@
-{ stdenv, fetchFromGitHub, coq, mathcomp }:
-
-let param =
-  if stdenv.lib.versionAtLeast mathcomp.version "1.8.0"
-  then {
-    version = "1.2.0";
-    sha256 = "0b6wrdr0d7rcnv86s37zm80540jl2wmiyf39ih7mw3dlwli2cyj4";
-  } else {
-    version = "1.1.0";
-    sha256 = "05df59v3na8jhpsfp7hq3niam6asgcaipg2wngnzxzqnl86srp2a";
-  }
-; in
-
-stdenv.mkDerivation rec {
-  inherit (param) version;
-  name = "coq${coq.coq-version}-mathcomp-finmap-${version}";
-
-  src = fetchFromGitHub {
-    owner = "math-comp";
-    repo = "finmap";
-    rev = version;
-    inherit (param) sha256;
-  };
-
-  buildInputs = [ coq ];
-  propagatedBuildInputs = [ mathcomp ];
-
-  installFlags = "-f Makefile.coq COQLIB=$(out)/lib/coq/${coq.coq-version}/";
-
-  meta = {
-    description = "A finset and finmap library";
-    inherit (src.meta) homepage;
-    inherit (mathcomp.meta) platforms license;
-    maintainers = [ stdenv.lib.maintainers.vbgl ];
-  };
-
-  passthru = {
-    compatibleCoqVersions = v: builtins.elem v [ "8.6" "8.7" "8.8" "8.9" ];
-  };
-}