summary refs log tree commit diff
path: root/pkgs/development/coq-modules/coq-ext-lib/default.nix
blob: b9939a2e7f4a1c6aeb93102a320b6c815e5174e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{stdenv, fetchgit, coq}:

stdenv.mkDerivation rec {

  name = "coq-ext-lib-${coq.coq-version}-${version}";
  version = "c2c71a2a";

  src = fetchgit {
    url = git://github.com/coq-ext-lib/coq-ext-lib.git;
    rev = "c2c71a2a90ac87f2ceb311a6da53a6796b916816";
    sha256 = "01sihw3nmvvpc8viwyr01qnqifdcmlg016034xmrfmv863yp8c4g";
  };

  buildInputs = [ coq.ocaml coq.camlp5 ];
  propagatedBuildInputs = [ coq ];

  enableParallelBuilding = true;

  installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";

  meta = with stdenv.lib; {
    homepage = https://github.com/coq-ext-lib/coq-ext-lib;
    description = "A collection of theories and plugins that may be useful in other Coq developments";
    maintainers = with maintainers; [ jwiegley ];
    platforms = coq.meta.platforms;
  };

}