diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2016-05-02 09:53:29 +0200 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2016-05-03 09:27:16 +0200 |
commit | a42f8459253d8f226d7d4611f057fc4d578a658c (patch) | |
tree | 15bdafed132c2aabd80312d4c6a7051b0e5a6692 /pkgs/development/coq-modules/dpdgraph/default.nix | |
parent | 6ca5c3667b68ed6a7f11a68201ef59730179c3e9 (diff) |
coq-dpdgraph: init at 0.5
Diffstat (limited to 'pkgs/development/coq-modules/dpdgraph/default.nix')
-rw-r--r-- | pkgs/development/coq-modules/dpdgraph/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/coq-modules/dpdgraph/default.nix b/pkgs/development/coq-modules/dpdgraph/default.nix new file mode 100644 index 0000000000000..0dec05ebd3f5d --- /dev/null +++ b/pkgs/development/coq-modules/dpdgraph/default.nix @@ -0,0 +1,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; + }; +} |