blob: 0dec05ebd3f5de2391e2eddd7dc53746cca1e76a (
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
29
30
31
|
{ stdenv, fetchFromGitHub, coq, ocamlPackages }:
stdenv.mkDerivation {
name = "coq${coq.coq-version}-dpdgraph-0.5";
src = fetchFromGitHub {
owner = "Karmaki";
repo = "coq-dpdgraph";
rev = "227a6a28bf11cf1ea56f359160558965154dd176";
sha256 = "1vxf7qq37mnmlclkr394147xvrky3p98ar08c4wndwrp41gfbxhq";
};
buildInputs = [ coq ]
++ (with ocamlPackages; [ ocaml findlib ocamlgraph ]);
preInstall = ''
mkdir -p $out/bin
'';
installFlags = ''
COQLIB=$(out)/lib/coq/${coq.coq-version}/
BINDIR=$(out)/bin
'';
meta = {
description = "Build dependency graphs between Coq objects";
license = stdenv.lib.licenses.lgpl21;
homepage = https://github.com/Karmaki/coq-dpdgraph/;
maintainers = with stdenv.lib.maintainers; [ vbgl ];
platforms = coq.meta.platforms;
};
}
|