summary refs log tree commit diff
path: root/pkgs/development/libraries/openbabel/default.nix
blob: d1fa607c734116e7093b534ce5adfe9a1e175773 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{stdenv, fetchurl, cmake, zlib, libxml2, eigen, python }:

stdenv.mkDerivation rec {
  name = "openbabel-2.3.0";
  
  src = fetchurl { 
    url = "mirror://sourceforge/openbabel/${name}.tar.gz";
    sha256 = "1yv1z04il8q6nhcc3l9019aj7nzs3bfm667s2vkg5cc3dljwpbbd";
  };
  
  # TODO : perl & python bindings;
  # TODO : wxGTK: I have no time to compile
  # TODO : separate lib and apps
  buildInputs = [ zlib libxml2 eigen python ];

  buildNativeInputs = [ cmake ];

  meta = {
    platforms = stdenv.lib.platforms.all;
    maintainers = [ stdenv.lib.maintainers.urkud ];
  };
}