summary refs log tree commit diff
path: root/pkgs/development/coq-modules/domains/default.nix
blob: 975260c839bd243b00c2f959bca73174ba6d702a (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
{stdenv, fetchdarcs, coq}:

stdenv.mkDerivation rec {

  name = "coq-domains-${coq.coq-version}-${version}";
  version = "ce1a9806";

  src = fetchdarcs {
    url = http://hub.darcs.net/rdockins/domains;
    context = ./darcs_context;
    sha256 = "0zdqiw08b453i8gdxwbk7nia2dv2r3pncmxsvgr0kva7f3dn1rnc";
  };

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

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

  meta = with stdenv.lib; {
    homepage = http://rwd.rdockins.name/domains/;
    description = "A Coq library for domain theory";
    maintainers = with maintainers; [ jwiegley ];
    platforms = coq.meta.platforms;
  };

}