summary refs log tree commit diff
path: root/pkgs/development/coq-modules
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2016-05-02 09:53:29 +0200
committerVincent Laporte <Vincent.Laporte@gmail.com>2016-05-03 09:27:16 +0200
commita42f8459253d8f226d7d4611f057fc4d578a658c (patch)
tree15bdafed132c2aabd80312d4c6a7051b0e5a6692 /pkgs/development/coq-modules
parent6ca5c3667b68ed6a7f11a68201ef59730179c3e9 (diff)
downloadnixlib-a42f8459253d8f226d7d4611f057fc4d578a658c.tar
nixlib-a42f8459253d8f226d7d4611f057fc4d578a658c.tar.gz
nixlib-a42f8459253d8f226d7d4611f057fc4d578a658c.tar.bz2
nixlib-a42f8459253d8f226d7d4611f057fc4d578a658c.tar.lz
nixlib-a42f8459253d8f226d7d4611f057fc4d578a658c.tar.xz
nixlib-a42f8459253d8f226d7d4611f057fc4d578a658c.tar.zst
nixlib-a42f8459253d8f226d7d4611f057fc4d578a658c.zip
coq-dpdgraph: init at 0.5
Diffstat (limited to 'pkgs/development/coq-modules')
-rw-r--r--pkgs/development/coq-modules/dpdgraph/default.nix31
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 000000000000..0dec05ebd3f5
--- /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;
+  };
+}