summary refs log tree commit diff
path: root/pkgs/development/tools/misc/frama-c/default.nix
diff options
context:
space:
mode:
authorArie Middelkoop <amiddelk@gmail.com>2012-07-12 17:22:45 +0200
committerArie Middelkoop <amiddelk@gmail.com>2012-07-31 14:08:48 +0200
commit7d708365805ad7f9056c05611de9c24f357ca4d2 (patch)
tree700cf471f9f93a1203af8a91dd1db4882eaef68b /pkgs/development/tools/misc/frama-c/default.nix
parentb5d4e8a17a70657455122d6103d156ef6c2f6d07 (diff)
downloadnixpkgs-7d708365805ad7f9056c05611de9c24f357ca4d2.tar
nixpkgs-7d708365805ad7f9056c05611de9c24f357ca4d2.tar.gz
nixpkgs-7d708365805ad7f9056c05611de9c24f357ca4d2.tar.bz2
nixpkgs-7d708365805ad7f9056c05611de9c24f357ca4d2.tar.lz
nixpkgs-7d708365805ad7f9056c05611de9c24f357ca4d2.tar.xz
nixpkgs-7d708365805ad7f9056c05611de9c24f357ca4d2.tar.zst
nixpkgs-7d708365805ad7f9056c05611de9c24f357ca4d2.zip
ocamlgraph: update to 1.8.2
Also added the dependency on lablgtk, so that it builds the 'dgraph' module,
which is needed for packaging frama-c. This dependency can be made optional.
Diffstat (limited to 'pkgs/development/tools/misc/frama-c/default.nix')
-rw-r--r--pkgs/development/tools/misc/frama-c/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/tools/misc/frama-c/default.nix b/pkgs/development/tools/misc/frama-c/default.nix
new file mode 100644
index 00000000000..2f597d29c75
--- /dev/null
+++ b/pkgs/development/tools/misc/frama-c/default.nix
@@ -0,0 +1,29 @@
+{ stdenv, fetchurl, ocamlPackages }:
+
+let
+
+  version = "20111001";
+  sha256 = "8afad848321c958fab265045cd152482e77ce7c175ee7c9af2d4bec57a1bc671";
+
+in stdenv.mkDerivation {
+  name = "frama-c-${version}";
+
+  src = fetchurl {
+    url = "http://frama-c.com/download/frama-c-Nitrogen-${version}.tar.gz";
+    inherit sha256;
+  };
+
+  buildInputs = with ocamlPackages; [
+    ocaml findlib
+  ];
+
+  meta = {
+    description = "Frama-C is an extensible tool for source-code analysis of C software";
+
+    homepage = http://frama-c.com/;
+    license = "GPLv2";
+
+    maintainers = [ stdenv.lib.maintainers.amiddelk ];
+    platforms = stdenv.lib.platforms.gnu;
+  };
+}