summary refs log tree commit diff
path: root/pkgs/development/tools/misc/coccinelle/default.nix
diff options
context:
space:
mode:
authorArie Middelkoop <amiddelk@gmail.com>2012-09-11 15:02:37 +0200
committerArie Middelkoop <amiddelk@gmail.com>2012-09-11 15:02:37 +0200
commit504e2ad1287435c0d0ca2a181cfbf222693c9fc0 (patch)
treede61a079bd131b64d3fc78238822ff727f4b1667 /pkgs/development/tools/misc/coccinelle/default.nix
parentd6f289f10c0c2b6556ae5c9d668751445e276874 (diff)
downloadnixpkgs-504e2ad1287435c0d0ca2a181cfbf222693c9fc0.tar
nixpkgs-504e2ad1287435c0d0ca2a181cfbf222693c9fc0.tar.gz
nixpkgs-504e2ad1287435c0d0ca2a181cfbf222693c9fc0.tar.bz2
nixpkgs-504e2ad1287435c0d0ca2a181cfbf222693c9fc0.tar.lz
nixpkgs-504e2ad1287435c0d0ca2a181cfbf222693c9fc0.tar.xz
nixpkgs-504e2ad1287435c0d0ca2a181cfbf222693c9fc0.tar.zst
nixpkgs-504e2ad1287435c0d0ca2a181cfbf222693c9fc0.zip
updates coccinelle to 1.0-rc15
Diffstat (limited to 'pkgs/development/tools/misc/coccinelle/default.nix')
-rw-r--r--pkgs/development/tools/misc/coccinelle/default.nix18
1 files changed, 11 insertions, 7 deletions
diff --git a/pkgs/development/tools/misc/coccinelle/default.nix b/pkgs/development/tools/misc/coccinelle/default.nix
index 0b5fa4b8d61..044ae8f93a0 100644
--- a/pkgs/development/tools/misc/coccinelle/default.nix
+++ b/pkgs/development/tools/misc/coccinelle/default.nix
@@ -1,9 +1,9 @@
-{ fetchurl, stdenv, python, ncurses, ocamlPackages, makeWrapper }:
+{ fetchurl, stdenv, python, ncurses, ocamlPackages, pkgconfig }:
 
 let
 
-  name = "coccinelle-1.0.0-rc12";
-  sha256 = "03b8930a53623ec79dc2486e9b6a569e373958cf46074c5f1d0028c70708498d";
+  name = "coccinelle-1.0.0-rc15";
+  sha256 = "07fab4e17512925b958890bb13c0809797074f2e44a1107b0074bdcc156b9596";
 
 in stdenv.mkDerivation {
   inherit name;
@@ -15,12 +15,14 @@ in stdenv.mkDerivation {
 
   buildInputs = with ocamlPackages; [
     ocaml findlib menhir
-    ocaml_pcre ocaml_sexplib pycaml
-    python ncurses makeWrapper
+    ocaml_pcre pycaml
+    python ncurses pkgconfig
   ];
 
-  configureFlagsArray = [ "--enable-release" ];
-
+  # TODO: is the generation of this wrapper truly/still needed?
+  # I don't have a non-NixOS system, so I cannot verify this, but shouldn't
+  # libpython know where to find its modules? (the path is for example in
+  # its Sys-module).
   postInstall =
     # On non-NixOS systems, Coccinelle would end up looking up Python modules
     # in the wrong directory.
@@ -31,6 +33,8 @@ in stdenv.mkDerivation {
        done
     '';
 
+  configureFlags = "--enable-release";
+
   meta = {
     description = "Coccinelle, a program to apply C code semantic patches";