2011-08-15 20:05:31 +02:00
|
|
|
{stdenv, fetchurl, cmake, zlib, libxml2, eigen, python }:
|
2009-03-10 15:41:50 +01:00
|
|
|
|
2011-08-15 20:05:31 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "openbabel-2.3.0";
|
2009-04-22 01:18:09 +02:00
|
|
|
|
2009-03-10 15:41:50 +01:00
|
|
|
src = fetchurl {
|
2011-08-15 20:05:31 +02:00
|
|
|
url = "mirror://sourceforge/openbabel/${name}.tar.gz";
|
|
|
|
sha256 = "1yv1z04il8q6nhcc3l9019aj7nzs3bfm667s2vkg5cc3dljwpbbd";
|
2009-03-10 15:41:50 +01:00
|
|
|
};
|
2009-04-22 01:18:09 +02:00
|
|
|
|
|
|
|
# TODO : perl & python bindings;
|
|
|
|
# TODO : wxGTK: I have no time to compile
|
|
|
|
# TODO : separate lib and apps
|
2011-08-15 20:05:31 +02:00
|
|
|
buildInputs = [ zlib libxml2 eigen python ];
|
|
|
|
|
|
|
|
buildNativeInputs = [ cmake ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.urkud ];
|
|
|
|
};
|
2007-11-11 17:15:29 +01:00
|
|
|
}
|