summary refs log tree commit diff
path: root/pkgs/development/coq-modules/containers/default.nix
blob: 92ac9d16cf69f1b4b45cb4a7eb919369b51ab2be (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
{stdenv, fetchurl, coq}:

stdenv.mkDerivation {

  name = "coq-containers-${coq.coq-version}";

  src = fetchurl {
    url = http://coq.inria.fr/pylons/contribs/files/Containers/v8.4/Containers.tar.gz;
    sha256 = "0z7yk0g7zkniwc73ka7wwb5jjg5a2wr1krrn3akr7kn5z3gvy2mc";
  };

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

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

  meta = with stdenv.lib; {
    homepage = http://coq.inria.fr/pylons/pylons/contribs/view/Containers/v8.4;
    description = "A typeclass-based Coq library of finite sets/maps";
    maintainers = with maintainers; [ vbgl ];
    platforms = coq.meta.platforms;
  };

}